com.caucho.quercus.lib.zlib
Class ZlibInputStream
java.lang.Object
java.io.InputStream
com.caucho.quercus.lib.file.ReadStreamInput
com.caucho.quercus.lib.zlib.ZlibInputStream
- All Implemented Interfaces:
- BinaryInput, BinaryStream, java.io.Closeable
public class ZlibInputStream
- extends ReadStreamInput
Input from a compressed stream.
| Methods inherited from class com.caucho.quercus.lib.file.ReadStreamInput |
appendTo, close, closeRead, getInputStream, getPosition, getResourceType, init, isEOF, read, read, read, read, readLine, readOptionalLinefeed, seek, setEncoding, stat, toJavaObject, unread, writeToStream |
| Methods inherited from class java.io.InputStream |
available, mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ZlibInputStream
public ZlibInputStream(Env env,
BinaryInput in)
throws java.io.IOException
- Throws:
java.io.IOException
init
protected void init(BinaryInput in)
throws java.io.IOException
- Throws:
java.io.IOException
openCopy
public BinaryInput openCopy()
throws java.io.IOException
- Opens a new copy.
- Specified by:
openCopy in interface BinaryInput- Overrides:
openCopy in class ReadStreamInput
- Throws:
java.io.IOException
setPosition
public boolean setPosition(long offset)
- Sets the position.
- Specified by:
setPosition in interface BinaryInput- Specified by:
setPosition in interface BinaryStream- Overrides:
setPosition in class ReadStreamInput
toString
public java.lang.String toString()
- Description copied from class:
ReadStreamInput
- Converts to a string.
- Overrides:
toString in class ReadStreamInput