org.mmbase.util
Class ResourceLoader.FileURLStreamHandler

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

protected static class ResourceLoader.FileURLStreamHandler
extends ResourceLoader.AbstractFileURLStreamHandler


Field Summary
 
Fields inherited from class org.mmbase.util.ResourceLoader.AbstractFileURLStreamHandler
writeable
 
Fields inherited from class org.mmbase.util.ResourceLoader.PathURLStreamHandler
parent, weight
 
Constructor Summary
ResourceLoader.FileURLStreamHandler(ResourceLoader parent, File root, boolean w)
           
 
Method Summary
 ResourceLoader.FileURLStreamHandler createSubHandler(ResourceLoader parent)
           
 boolean equals(Object o)
           
 File getFile(String name)
           
 String getName(URL u)
          When a URL has been created, in ResourceLoader.PathURLStreamHandler.openConnection(String), this method can make a 'name' of it again.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.mmbase.util.ResourceLoader.AbstractFileURLStreamHandler
getPaths, openConnection
 
Methods inherited from class org.mmbase.util.ResourceLoader.PathURLStreamHandler
compareTo, getResourceNode, getResources, openConnection, setWeight
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceLoader.FileURLStreamHandler

ResourceLoader.FileURLStreamHandler(ResourceLoader parent,
                                    File root,
                                    boolean w)
Method Detail

createSubHandler

public ResourceLoader.FileURLStreamHandler createSubHandler(ResourceLoader parent)
Specified by:
createSubHandler in class ResourceLoader.PathURLStreamHandler

getFile

public File getFile(String name)
Specified by:
getFile in class ResourceLoader.AbstractFileURLStreamHandler

getName

public String getName(URL u)
Description copied from class: ResourceLoader.PathURLStreamHandler
When a URL has been created, in ResourceLoader.PathURLStreamHandler.openConnection(String), this method can make a 'name' of it again.

Specified by:
getName in class ResourceLoader.PathURLStreamHandler

toString

public String toString()
Overrides:
toString in class ResourceLoader.PathURLStreamHandler

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


MMBase 2.0-SNAPSHOT - null