public class LocalDTDEntityResolver extends LocalEntityResolver
Constructor and Description |
---|
LocalDTDEntityResolver()
Public default Constructor
|
LocalDTDEntityResolver(File localDTDFolder)
Public default Constructor This constructor allows specification of
a local file system folder from which DTDs can be loaded.
|
Modifier and Type | Method and Description |
---|---|
InputSource |
resolveEntity(String publicId,
String systemId) |
clearEntityCache, getDocType, setDocType
public LocalDTDEntityResolver()
public LocalDTDEntityResolver(File localDTDFolder)
localDTDFolder
- Local DTD folder.public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity
in interface EntityResolver
resolveEntity
in class LocalEntityResolver
SAXException
IOException
Copyright © 2020. All rights reserved.