Package | Description |
---|---|
java.net |
Modifier and Type | Method and Description |
---|---|
URLStreamHandler |
URLStreamHandlerFactory.createURLStreamHandler(String protocol) |
Constructor and Description |
---|
URL(String protocol,
String host,
int port,
String file,
URLStreamHandler handler)
Creates a new URL instance using the given arguments.
|
URL(URL context,
String spec,
URLStreamHandler handler)
Creates a new URL to the specified resource
spec . |