public abstract class Uncompressor extends Object
LZFInputStream
)
in cases where "push" operation is important and/or blocking is not allowed;
for example, when handling asynchronous HTTP responses.
Note that API does not define the way that listener is attached: this is typically passed through to constructor of the implementation.
Constructor and Description |
---|
Uncompressor() |
Modifier and Type | Method and Description |
---|---|
abstract void |
complete()
Method called to indicate that all data to uncompress has already been fed.
|
abstract boolean |
feedCompressedData(byte[] comp,
int offset,
int len)
Method called to feed more compressed data to be uncompressed, and
sent to possible listeners.
|
public abstract boolean feedCompressedData(byte[] comp, int offset, int len) throws IOException
NOTE: return value was added (from void to boolean) in 0.9.9
complete()
should be called immediately)IOException
public abstract void complete() throws IOException
IOException
Copyright © 2017. All Rights Reserved.