public interface CompressionMethod
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
compress(OutputStream outputStream)
Gets the compressed output stream.
|
InputStream |
decompress(InputStream inputStream)
Decompresses an input stream.
|
String |
getName()
Gets the compression method name, e.g.
|
String getName()
InputStream decompress(InputStream inputStream) throws IOException
inputStream - The compressed input stream.IOException - If the decompression failed.OutputStream compress(OutputStream outputStream) throws IOException
outputStream - The uncompressed output stream.IOException - If the compression failed.Copyright © 2014–2015 XMPP.rocks. All rights reserved.