java transformar string une URL

URL url = new URL(string);
Wrong Wasp