org.mmbase.util
Class ResourceLoader.PathURLStreamHandler
java.lang.Object
java.net.URLStreamHandler
org.mmbase.util.ResourceLoader.PathURLStreamHandler
- Direct Known Subclasses:
- ResourceLoader.ClassLoaderURLStreamHandler, ResourceLoader.FileURLStreamHandler, 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.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
- Throws:
IOException
MMBase build 1.8.1.20060716