Package org.biojava.utils.xml
Class ResourceEntityResolver
java.lang.Object
org.biojava.utils.xml.ResourceEntityResolver
- All Implemented Interfaces:
EntityResolver
SAX EntityResolve which looks up system IDs as resources
from a Java ClassLoader.
- Since:
- 1.2
- Author:
- Thomas Down
-
Constructor Summary
ConstructorsConstructorDescriptionResourceEntityResolver
(String path) Construct a resolver which searches for resources in the specified path relative to the current classloader.ResourceEntityResolver
(String[] path) Construct a resolver which searches for resources in the specified list of directories relative to the current classloader.ResourceEntityResolver
(String[] path, ClassLoader classLoader) Construct a resolver which searches for resources in the specified list of directories relative to the supplied classloader.ResourceEntityResolver
(String path, ClassLoader classLoader) Construct a resolver which searches for resources in the specified path relative to the supplied classloader. -
Method Summary
-
Constructor Details
-
ResourceEntityResolver
Construct a resolver which searches for resources in the specified path relative to the current classloader. -
ResourceEntityResolver
Construct a resolver which searches for resources in the specified list of directories relative to the current classloader. -
ResourceEntityResolver
Construct a resolver which searches for resources in the specified list of directories relative to the supplied classloader. -
ResourceEntityResolver
Construct a resolver which searches for resources in the specified path relative to the supplied classloader.
-
-
Method Details
-
resolveEntity
- Specified by:
resolveEntity
in interfaceEntityResolver
- Throws:
SAXException
IOException
-