org.oreodata.xml
Class GZEntityResolver

java.lang.Object
  |
  +--org.oreodata.xml.GZEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

public class GZEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver

SAX Entity resolver that takes into account the possibility that the entity refers to a file that has been .gz'ed.


Constructor Summary
GZEntityResolver(java.lang.String encoding)
           
 
Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GZEntityResolver

public GZEntityResolver(java.lang.String encoding)
Method Detail

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
                                      throws org.xml.sax.SAXException
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver
org.xml.sax.SAXException