Java Transformar String una url

URL url = new URL(string);
Wrong Wasp