org.apache.commons.compress.compressors.z
public class ZCompressorInputStream extends InternalLZWInputStream
bitsCached, bitsCachedSize, characters, clearCode, codeSize, in, prefixes, previousCode, tableSize
Constructor and Description |
---|
ZCompressorInputStream(InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
protected int |
addEntry(int previousCode,
byte character)
Add a new entry to the dictionary.
|
protected int |
decompressNextSymbol()
Read the next code and expand it.
|
protected int |
readNextCode()
Reads the next code from the stream.
|
addEntry, addRepeatOfPreviousCode, close, expandCodeToOutputStack, initializeTables, read, read, setClearCode
count, count, getBytesRead, getCount, pushedBackBytes
available, mark, markSupported, read, reset, skip
public ZCompressorInputStream(InputStream inputStream) throws IOException
IOException
protected int readNextCode() throws IOException
This method is only protected for technical reasons and is not part of Commons Compress' published API. It may change or disappear without warning.
readNextCode
in class InternalLZWInputStream
IOException
protected int addEntry(int previousCode, byte character) throws IOException
This method is only protected for technical reasons and is not part of Commons Compress' published API. It may change or disappear without warning.
addEntry
in class InternalLZWInputStream
IOException
protected int decompressNextSymbol() throws IOException
This method is only protected for technical reasons and is not part of Commons Compress' published API. It may change or disappear without warning.
decompressNextSymbol
in class InternalLZWInputStream
IOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.