Please note that this documentation is not final and is subject to change.


DRAFT-b102

Uses of Class
java.net.URL

Packages that use URL
Package Description
java.io Provides for system input and output through data streams, serialization and the file system. 
java.net Provides the classes for implementing networking applications. 
 

Uses of URL in java.io
 

Methods in java.io that return URL
Modifier and Type Method and Description
 URL File.toURL()
          Deprecated. This method does not automatically escape characters that are illegal in URLs. It is recommended that new code convert an abstract pathname into a URL by first converting it into a URI, via the toURI method, and then converting the URI into a URL via the URI.toURL method.
 

Uses of URL in java.net
 

Methods in java.net with parameters of type URL
Modifier and Type Method and Description
 boolean URL.sameFile(URL other)
          Compares two URLs, excluding the fragment component.
 

Constructors in java.net with parameters of type URL
Constructor and Description
URL(URL context, String spec)
          Creates a URL by parsing the given spec within a specified context.
URL(URL context, String spec, URLStreamHandler handler)
          Creates a URL by parsing the given spec with the specified handler within a specified context.
 



DRAFT-b102