package java.net; public class URL { private final String value; public URL(String s) throws MalformedURLException { value = s; } }