Java Transformar String A URL

URL url = new URL(string);
Wrong Wasp