phelps.net

Class URLs

public class URLs extends Object

URL-related utility classes.

Version: $Revision: 1.4 $ $Date: 2003/06/01 08:16:57 $

Method Summary
static URItoURI(URL url)
With URI#toURL(URI), safe interconversion between URI and URL, working around Java bugs.

Method Detail

toURI

public static URI toURI(URL url)
With URI#toURL(URI), safe interconversion between URI and URL, working around Java bugs. Note that File.toURL().getPath() is buggy if file contains a '#'.