public class ZCompressorInputStream extends LZWInputStream
Constructor and Description |
---|
ZCompressorInputStream(java.io.InputStream inputStream) |
ZCompressorInputStream(java.io.InputStream inputStream,
int memoryLimitInKb) |
Modifier and Type | Method and Description |
---|---|
static boolean |
matches(byte[] signature,
int length)
Checks if the signature matches what is expected for a Unix compress file.
|
close, getCompressedCount, read, read
getBytesRead, getCount, getUncompressedCount
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUncompressedCount
public ZCompressorInputStream(java.io.InputStream inputStream, int memoryLimitInKb) throws java.io.IOException
java.io.IOException
public ZCompressorInputStream(java.io.InputStream inputStream) throws java.io.IOException
java.io.IOException
public static boolean matches(byte[] signature, int length)
signature
- the bytes to checklength
- the number of bytes to check"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"