From class
java.net.URLStreamHandler
boolean
|
equals(URL u1, URL u2)
Provides the default equals calculation.
|
int
|
getDefaultPort()
Returns the default port for a URL parsed by this handler.
|
synchronized
InetAddress
|
getHostAddress(URL u)
Get the IP address of our host.
|
int
|
hashCode(URL u)
Provides the default hash calculation.
|
boolean
|
hostsEqual(URL u1, URL u2)
Compares the host components of two URLs.
|
URLConnection
|
openConnection(URL u, Proxy p)
Same as openConnection(URL), except that the connection will be
made through the specified proxy; Protocol handlers that do not
support proxying will ignore the proxy parameter and make a
normal connection.
|
abstract
URLConnection
|
openConnection(URL u)
Opens a connection to the object referenced by the
URL argument.
|
void
|
parseURL(URL u, String spec, int start, int limit)
Parses the string representation of a URL into a
URL object.
|
boolean
|
sameFile(URL u1, URL u2)
Compare two urls to see whether they refer to the same file,
i.e., having the same protocol, host, port, and path.
|
void
|
setURL(URL u, String protocol, String host, int port, String file, String ref)
This method is deprecated.
Use setURL(URL, String, String, int, String, String, String,
String);
|
void
|
setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref)
Sets the fields of the URL argument to the indicated values.
|
String
|
toExternalForm(URL u)
Converts a URL of a specific protocol to a
String .
|
|