|
DRAFT-b102 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 |
|---|
| 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 |
|---|
| Modifier and Type | Method and Description |
|---|---|
boolean |
URL.sameFile(URL other)
Compares two URLs, excluding the fragment component. |
| 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 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||