org.mmbase.util
Class ResourceLoader.AbstractFileURLStreamHandler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.mmbase.util.ResourceLoader.PathURLStreamHandler
          extended by org.mmbase.util.ResourceLoader.AbstractFileURLStreamHandler
All Implemented Interfaces:
Comparable<ResourceLoader.PathURLStreamHandler>
Direct Known Subclasses:
ResourceLoader.ApplicationContextFileURLStreamHandler, ResourceLoader.FileURLStreamHandler
Enclosing class:
ResourceLoader

protected abstract static class ResourceLoader.AbstractFileURLStreamHandler
extends ResourceLoader.PathURLStreamHandler


Field Summary
protected  boolean writeable
           
 
Fields inherited from class org.mmbase.util.ResourceLoader.PathURLStreamHandler
parent, weight
 
Constructor Summary
ResourceLoader.AbstractFileURLStreamHandler(ResourceLoader parent, boolean w)
           
 
Method Summary
abstract  File getFile(String name)
           
 Set<String> getPaths(Set<String> results, Pattern pattern, boolean recursive, boolean directories)
           
 URLConnection openConnection(String name)
          We need an openConnection by name only, and public.
 
Methods inherited from class org.mmbase.util.ResourceLoader.PathURLStreamHandler
compareTo, createSubHandler, getName, getResourceNode, getResources, openConnection, setWeight, toString
 
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, wait, wait, wait
 

Field Detail

writeable

protected final boolean writeable
Constructor Detail

ResourceLoader.AbstractFileURLStreamHandler

ResourceLoader.AbstractFileURLStreamHandler(ResourceLoader parent,
                                            boolean w)
Method Detail

openConnection

public URLConnection openConnection(String name)
Description copied from class: ResourceLoader.PathURLStreamHandler
We need an openConnection by name only, and public.

Specified by:
openConnection in class ResourceLoader.PathURLStreamHandler

getPaths

public Set<String> getPaths(Set<String> results,
                            Pattern pattern,
                            boolean recursive,
                            boolean directories)
Specified by:
getPaths in class ResourceLoader.PathURLStreamHandler

getFile

public abstract File getFile(String name)


MMBase 2.0-SNAPSHOT - null