consciouscode.seedling
Class Handler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by consciouscode.seedling.Handler

public class Handler
extends URLStreamHandler

A URL handler for the seedling protocol. Any request for a URL using this protocol are handled as requests for files from the configuration tree of the application's main Seedling. This is automatically configured when the Seedling facade is used to start the application.

TODO

See Also:
for details on how URL protocol handlers work.

Field Summary
static String PROTOCOL_PROP
           
 
Constructor Summary
Handler()
           
 
Method Summary
protected  URLConnection openConnection(URL url)
           
 
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROTOCOL_PROP

public static final String PROTOCOL_PROP
See Also:
Constant Field Values
Constructor Detail

Handler

public Handler()
Method Detail

openConnection

protected URLConnection openConnection(URL url)
                                throws IOException
Specified by:
openConnection in class URLStreamHandler
Throws:
IOException


Copyright © 2001–2012 Todd V. Jonker. All Rights Reserved.