jjdh API

jjdh.java.resource.provider
Class AbstractURLRootHandler

java.lang.Object
  extended by jjdh.java.resource.provider.AbstractURLRootHandler
All Implemented Interfaces:
ResourceRootHandler, URLRootHandler
Direct Known Subclasses:
DirectoryHandler, ZIPStreamHandler

public abstract class AbstractURLRootHandler
extends Object
implements URLRootHandler


Field Summary
protected  URL url
           
 
Constructor Summary
protected AbstractURLRootHandler()
           
 
Method Summary
abstract  void addResourceReferences(ResourceReference root)
           
 boolean equals(Object o)
           
 URL getURL()
           
 int hashCode()
           
 void setURL(URL newURL)
           
 String toString()
           
protected static URL toURL(File file)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

url

protected URL url
Constructor Detail

AbstractURLRootHandler

protected AbstractURLRootHandler()
Method Detail

addResourceReferences

public abstract void addResourceReferences(ResourceReference root)
Specified by:
addResourceReferences in interface ResourceRootHandler

setURL

public void setURL(URL newURL)

getURL

public URL getURL()
Specified by:
getURL in interface URLRootHandler

toURL

protected static URL toURL(File file)

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

jjdh API

Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.