| java.lang.Object | ||
| ↳ | java.net.URLStreamHandler | |
| ↳ | sun.net.www.protocol.mailto.Handler | |
open an nntp input stream given a URL
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Opens a connection to the object referenced by the
URL argument. | |||||||||||
This method is called to parse the string spec into URL u for a
mailto protocol.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.net.URLStreamHandler
| |||||||||||
From class
java.lang.Object
| |||||||||||
Opens a connection to the object referenced by the
URL argument.
This method should be overridden by a subclass.
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.
| u | the URL that this connects to. |
|---|
URLConnection object for the URL.This method is called to parse the string spec into URL u for a mailto protocol.
| u | the URL to receive the result of parsing the spec |
|---|---|
| spec | the URL string to parse |
| start | the character position to start parsing at. This is just past the ':'. |
| limit | the character position to stop parsing at. |