public class CompressionResult
extends java.lang.Object
| Constructor and Description |
|---|
CompressionResult(CloseableByteSource source,
CompressionMethod method,
long size)
Creates a new compression result.
|
| Modifier and Type | Method and Description |
|---|---|
CompressionMethod |
getCompressionMethod()
Obtains the compression method.
|
long |
getSize()
Obtains the size of the compression result.
|
CloseableByteSource |
getSource()
Obtains the compressed data.
|
public CompressionResult(CloseableByteSource source, CompressionMethod method, long size)
source - the data sourcemethod - the compression methodpublic CompressionMethod getCompressionMethod()
public CloseableByteSource getSource()
public long getSize()