public interface InputStreamCompressEngine
CompressedDataStream
for content compression/decompression.
An application that implements its own InputStreamCompressEngine has to
override the following SecurityProvider
method to plug-in its own implementation:
SecurityProvider
Modifier and Type | Field and Description |
---|---|
static int |
COMPRESS
Constant for a compress engine to be initialized for compression.
|
static int |
DECOMPRESS
Constant for a compress engine to be initialized for decompression.
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream()
Gets an input stream that compresses/decompresses all data that is read
from the underlying input stream.
|
static final int COMPRESS
static final int DECOMPRESS
java.io.InputStream getInputStream()