| 
 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.xml.sax.InputSource
org.exist.util.EXistInputSource
org.exist.util.GZIPInputSource
public final class GZIPInputSource
This class extends InputSource to be able to deal with
 GZIP compressed files. Its main feature is that each time
 getByteStream() is called, a new uncompressed
 stream is created from the compressed GZIP file.
 This is very useful for eXist, which works in two steps:
 validation and insertion.
| Constructor Summary | |
|---|---|
| GZIPInputSource()Empty constructor | |
| GZIPInputSource(File gzipFile)Constructor | |
| Method Summary | |
|---|---|
|  void | close() | 
|  InputStream | getByteStream()This method was re-implemented to open a new GZIPInputStream each time it is called. | 
|  long | getByteStreamLength() | 
|  String | getSymbolicPath() | 
|  void | setByteStream(InputStream is)This method now does nothing, so collateral effects from superclass with this one are avoided | 
|  void | setCharacterStream(Reader r)This method now does nothing, so collateral effects from superclass with this one are avoided | 
|  void | setSystemId(String systemId)This method now does nothing, so collateral effects from superclass with this one are avoided | 
| Methods inherited from class org.xml.sax.InputSource | 
|---|
| getCharacterStream, getEncoding, getPublicId, getSystemId, setEncoding, setPublicId | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public GZIPInputSource()
public GZIPInputSource(File gzipFile)
| Method Detail | 
|---|
public InputStream getByteStream()
getByteStream in class InputSourcepublic void close()
close in class EXistInputSourcepublic void setByteStream(InputStream is)
setByteStream in class InputSourcepublic void setCharacterStream(Reader r)
setCharacterStream in class InputSourcepublic void setSystemId(String systemId)
setSystemId in class InputSourcepublic long getByteStreamLength()
getByteStreamLength in class EXistInputSourcepublic String getSymbolicPath()
getSymbolicPath in class EXistInputSource| 
 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||