public class ResourceEntityResolver extends Object implements EntityResolver
Constructor and Description |
---|
ResourceEntityResolver(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.
|
Modifier and Type | Method and Description |
---|---|
InputSource |
resolveEntity(String publicId,
String systemId) |
public ResourceEntityResolver(String path)
public ResourceEntityResolver(String[] path)
public ResourceEntityResolver(String[] path, ClassLoader classLoader)
public ResourceEntityResolver(String path, ClassLoader classLoader)
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity
in interface EntityResolver
SAXException
IOException
Copyright © 2020 BioJava. All rights reserved.