class UrlBuilder {

    public URL toURL() throws MalformedURLException
    {
        return new URL(toString());
    }

    public  UrlBuilder();
    public  UrlBuilder(String url);
    public  UrlBuilder(URL url);

}