org.mmbase.util
Class ResourceLoader.NodeURLStreamHandler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.mmbase.util.ResourceLoader.PathURLStreamHandler
          extended by org.mmbase.util.ResourceLoader.NodeURLStreamHandler
Enclosing class:
ResourceLoader

protected class ResourceLoader.NodeURLStreamHandler
extends ResourceLoader.PathURLStreamHandler

URLStreamHandler for NodeConnections.


Method Summary
protected  String getName(URL u)
          When a URL has been created, in ResourceLoader.PathURLStreamHandler.openConnection(String), this method can make a 'name' of it again.
 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.
 String toString()
           
 
Methods inherited from class org.mmbase.util.ResourceLoader.PathURLStreamHandler
openConnection
 
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
 

Method Detail

getName

protected 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

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)

toString

public String toString()
Overrides:
toString in class Object


MMBase build 1.9.0.20081107