Package | Description |
---|---|
java.net |
Modifier and Type | Method and Description |
---|---|
URLStreamHandler |
URLStreamHandlerFactory.createURLStreamHandler(java.lang.String protocol)
Creates a new
URLStreamHandler instance with the specified
protocol. |
Constructor and Description |
---|
URL(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String file,
URLStreamHandler handler)
Creates a
URL object from the specified protocol , host , port number, file
, and handler . |
URL(URL context,
java.lang.String spec,
URLStreamHandler handler)
Creates a URL by parsing the given spec with the specified handler within a specified context.
|