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 void |
feedCompressedData(byte[] comp,
int offset,
int len)
Method called to feed more compressed data to be uncompressed, and
sent to possible listeners.
|
public abstract void feedCompressedData(byte[] comp, int offset, int len) throws IOException
IOException
public abstract void complete() throws IOException
IOException
Copyright © 2014. All rights reserved.