org.mmbase.util.xml
Class URIResolver.Entry
java.lang.Object
org.mmbase.util.xml.URIResolver.Entry
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- URIResolver
static class URIResolver.Entry
- extends Object
- implements Serializable
Objects of this type connect a prefix (must normally end in :)
with a File (which must be a Directory). A List of this type
(EntryList) can be fed to the constructor of URIResolver.
URIResolver.Entry
URIResolver.Entry(String p,
URL u)
URIResolver.Entry
URIResolver.Entry(String p,
ClassLoader cl)
getPrefix
String getPrefix()
getDir
URL getDir()
getPath
URL getPath(String href)
throws MalformedURLException
- Uses this entry to resolve a href
- Throws:
MalformedURLException- Since:
- MMBase-1.8.2
getPrefixLength
int getPrefixLength()
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
MMBase 2.0-SNAPSHOT - null