|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompressionCodec
This class encapsulates a streaming compression/decompression pair.
Method Summary | |
---|---|
CompressionInputStream |
createInputStream(InputStream in)
Create a stream decompressor that will read from the given input stream. |
CompressionOutputStream |
createOutputStream(OutputStream out)
Create a stream compressor that will write to the given output stream. |
String |
getDefaultExtension()
Get the default filename extension for this kind of compression. |
Method Detail |
---|
CompressionOutputStream createOutputStream(OutputStream out) throws IOException
out
- the location for the final output stream
IOException
CompressionInputStream createInputStream(InputStream in) throws IOException
in
- the stream to read compressed bytes from
IOException
String getDefaultExtension()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |