org.mmbase.util
Class ResourceLoader.PathURLStreamHandler
java.lang.Object
java.net.URLStreamHandler
org.mmbase.util.ResourceLoader.PathURLStreamHandler
- Direct Known Subclasses:
- ResourceLoader.AbstractFileURLStreamHandler, ResourceLoader.ClassLoaderURLStreamHandler, ResourceLoader.NodeURLStreamHandler, ResourceLoader.ServletResourceURLStreamHandler
- Enclosing class:
- ResourceLoader
protected abstract class ResourceLoader.PathURLStreamHandler
- extends URLStreamHandler
Extension URLStreamHandler, used for the 'sub' Handlers, entries of 'roots' in ResourceLoader are of this type.
| 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 |
ResourceLoader.PathURLStreamHandler
protected ResourceLoader.PathURLStreamHandler()
openConnection
public abstract URLConnection openConnection(String name)
- We need an openConnection by name only, and public.
getName
protected abstract String getName(URL u)
- When a URL has been created, in
openConnection(String), this method can make a 'name' of it again.
openConnection
protected URLConnection openConnection(URL u)
throws IOException
- Specified by:
openConnection in class URLStreamHandler
- Throws:
IOException
MMBase build 1.9.0.20081107