public static class AbstractXmlParser.CachedFileEntityResolver extends Object implements EntityResolver
EntityResolver.
Using a mechanism of cached files in temp dir to improve performance when using the XMLReader.| Modifier and Type | Field and Description |
|---|---|
protected static Map<String,byte[]> |
ENTITY_CACHE
Map with systemId as key and the content of systemId as byte[].
|
| Constructor and Description |
|---|
CachedFileEntityResolver() |
| Modifier and Type | Method and Description |
|---|---|
InputSource |
resolveEntity(String publicId,
String systemId) |
protected static final Map<String,byte[]> ENTITY_CACHE
public CachedFileEntityResolver()
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity in interface EntityResolverSAXExceptionIOExceptionCopyright © 2005–2024 The Apache Software Foundation. All rights reserved.