public final class KSRestrictedEntityResolver extends Object implements EntityResolver
| Constructor and Description |
|---|
KSRestrictedEntityResolver(Path base)
Construct a new resolver that will only allow access to files that are
descendants of the given base directory.
|
| Modifier and Type | Method and Description |
|---|---|
InputSource |
resolveEntity(String public_id,
String system_id) |
public KSRestrictedEntityResolver(Path base)
base - The basepublic InputSource resolveEntity(String public_id, String system_id) throws SAXException, IOException
resolveEntity in interface EntityResolverSAXExceptionIOExceptionCopyright © 2016 <code@io7m.com> http://io7m.com