Tynamo™-TINI
v1.0.4

com.qindesign.protocol.mailto
Class Handler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by com.qindesign.protocol.mailto.Handler

public final class Handler
extends URLStreamHandler

A "mailto" protocol handler.

Version:
1.0.4
Author:
Shawn Silverman
See Also:
"The mailto URL scheme", RFC 2368

Field Summary
static Handler instance
          An instance of this "mailto" handler.
 
Method Summary
protected  URLConnection openConnection(URL u)
          Opens a connection to the object referenced by the URL argument.
protected  void parseURL(URL u, String spec, int start, int limit)
          Parses the string representation of a URL into a URL object.
 
Methods inherited from class java.net.URLStreamHandler
setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final Handler instance
An instance of this "mailto" handler. Use this field for access to this object.

Method Detail

openConnection

protected URLConnection openConnection(URL u)
                                throws IOException
Opens a connection to the object referenced by the URL argument.

Specified by:
openConnection in class URLStreamHandler
Throws:
IOException

parseURL

protected void parseURL(URL u,
                        String spec,
                        int start,
                        int limit)
Parses the string representation of a URL into a URL object.

Overrides:
parseURL in class URLStreamHandler

Tynamo™-TINI
v1.0.4

© 2001-2007 Shawn Silverman