| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final boolean | |
| private static final int | |
| private static final int | |
| private static final int | |
| private final int | |
| private long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected int | addEntry(final int
the previous code previousCode, final byte the next character to append character)Implements abstract org. |
| private void | |
| protected int | decompressNextSymbol()
Implements abstract org. |
| public static boolean | Returns: true, if this stream is a Unix compress compressed stream, false otherwisethe bytes to check signature, final int the number of bytes to check length)Checks if the signature matches what is expected for a Unix compress file. |
| protected int | readNextCode()
Overrides org. |
| private void |
| BLOCK_MODE_MASK | back to summary |
|---|---|
| private static final int BLOCK_MODE_MASK | |
| blockMode | back to summary |
|---|---|
| private final boolean blockMode | |
| MAGIC_1 | back to summary |
|---|---|
| private static final int MAGIC_1 | |
| MAGIC_2 | back to summary |
|---|---|
| private static final int MAGIC_2 | |
| MAX_CODE_SIZE_MASK | back to summary |
|---|---|
| private static final int MAX_CODE_SIZE_MASK | |
| maxCodeSize | back to summary |
|---|---|
| private final int maxCodeSize | |
| totalCodesRead | back to summary |
|---|---|
| private long totalCodesRead | |
| ZCompressorInputStream | back to summary |
|---|---|
| public ZCompressorInputStream(final InputStream inputStream) throws IOException | |
| ZCompressorInputStream | back to summary |
|---|---|
| public ZCompressorInputStream(final InputStream inputStream, final int memoryLimitInKb) throws IOException | |
| addEntry | back to summary |
|---|---|
| protected int addEntry(final int previousCode, final byte character) throws IOException Implements abstract org. Doc from org. Add a new entry to the dictionary. This method is only protected for technical reasons and is not part of Commons Compress' published API. It may change or disappear without warning.
| |
| clearEntries | back to summary |
|---|---|
| private void clearEntries() | |
| decompressNextSymbol | back to summary |
|---|---|
| protected int decompressNextSymbol() throws IOException Implements abstract org. Doc from org. Read the next code and expand it. This method is only protected for technical reasons and is not part of Commons Compress' published API. It may change or disappear without warning.
| |
| matches | back to summary |
|---|---|
| public static boolean matches(final byte[] signature, final int length) Checks if the signature matches what is expected for a Unix compress file.
| |
| readNextCode | back to summary |
|---|---|
| protected int readNextCode() throws IOException Overrides org. Doc from org. Reads the next code from the stream. This method is only protected for technical reasons and is not part of Commons Compress' published API. It may change or disappear without warning.
| |
| reAlignReading | back to summary |
|---|---|
| private void reAlignReading() throws IOException | |