| Package | Description |
|---|---|
| java.net |
| Constructor and Description |
|---|
URL(String spec)
Creates a
URL object from the String
representation. |
URL(String protocol,
String host,
int port,
String file)
Creates a
URL object from the specified
protocol, host, port
number, and file. |
URL(String protocol,
String host,
int port,
String file,
URLStreamHandler handler)
Creates a
URL object from the specified
protocol, host, port
number, file, and handler. |
URL(String protocol,
String host,
String file)
Creates a URL from the specified
protocol
name, host name, and file name. |
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.
|
Copyright © 2013 API Design. All Rights Reserved.