| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public URLConnection | openConnection(URL u)
Implements abstract java. Opens a connection to the object referenced by the
|
| public void | parseURL(URL
the URL to receive the result of parsing the spec u, String the URL string to parse spec, int the character position to start parsing at. This is
just past the ':'. start, int the character position to stop parsing at. limit)Overrides java. This method is called to parse the string spec into URL u for a mailto protocol. |
| private void | setURLHandler(URL u, String protocol, String host, int port, String file)
This method is used to suppress the deprecated warning |
| Handler | back to summary |
|---|---|
| public Handler() | |
| openConnection | back to summary |
|---|---|
| public URLConnection openConnection(URL u) Implements abstract java. Doc from java. Opens a connection to the object referenced by the
If for the handler's protocol (such as HTTP or JAR), there exists a public, specialized URLConnection subclass belonging to one of the following packages or one of their subpackages: java.lang, java.io, java.util, java.net, the connection returned will be of that subclass. For example, for HTTP an HttpURLConnection will be returned, and for JAR a JarURLConnection will be returned. | |
| parseURL | back to summary |
|---|---|
| public void parseURL(URL u, String spec, int start, int limit) Overrides java. This method is called to parse the string spec into URL u for a mailto protocol. | |
| setURLHandler | back to summary |
|---|---|
| private void setURLHandler(URL u, String protocol, String host, int port, String file) This method is used to suppress the deprecated warning
| |