public class ResourceEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver
Constructor and Description |
---|
ResourceEntityResolver(java.lang.String path)
Construct a resolver which searches for resources in the specified
path relative to the current classloader.
|
ResourceEntityResolver(java.lang.String[] path)
Construct a resolver which searches for resources in the specified
list of directories relative to the current classloader.
|
ResourceEntityResolver(java.lang.String[] path,
java.lang.ClassLoader classLoader)
Construct a resolver which searches for resources in the specified
list of directories relative to the supplied classloader.
|
ResourceEntityResolver(java.lang.String path,
java.lang.ClassLoader classLoader)
Construct a resolver which searches for resources in the specified
path relative to the supplied classloader.
|
Modifier and Type | Method and Description |
---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId) |
public ResourceEntityResolver(java.lang.String path)
public ResourceEntityResolver(java.lang.String[] path)
public ResourceEntityResolver(java.lang.String[] path, java.lang.ClassLoader classLoader)
public ResourceEntityResolver(java.lang.String path, java.lang.ClassLoader classLoader)
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException, java.io.IOException
resolveEntity
in interface org.xml.sax.EntityResolver
org.xml.sax.SAXException
java.io.IOException