org.apache.stylebook
Class URLHandler
java.lang.Object
org.apache.stylebook.URLHandler
- All Implemented Interfaces:
- URLStreamHandlerFactory
public class URLHandler
- extends Object
- implements URLStreamHandlerFactory
The URLHandler class implements URLStreamHandlerFactory, wich is the
factory used by StyleBook to produce URLConnections.
Handled by this factory are the "res" protocol (wich handles
resources derived from the actual or the system class loaders) and the
"sbk" protocol wich handles files in the style name space and the
sources name space.
- Version:
- CVS $Revision: 313217 $ $Date: 1999-12-01 14:21:27 +0000 (Wed, 01 Dec 1999) $
- Author:
- Pierpaolo Fumagalli, Copyright 1999 © The Apache
Software Foundation. All rights reserved.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLHandler
public URLHandler()
URLHandler
public URLHandler(File sources,
File style)
throws IOException
- Throws:
IOException
createURLStreamHandler
public URLStreamHandler createURLStreamHandler(String protocol)
- Specified by:
createURLStreamHandler
in interface URLStreamHandlerFactory