public class CompressedData extends Object implements Serializable
| Constructor and Description | 
|---|
| CompressedData()Creates a instance ready to compress data. | 
| CompressedData(byte[] data)Creates a new instance with a given data. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | getData()Decompresses the data to return the original data. | 
| void | setData(byte[] data)Compresses the data and stores it internally as byte array. | 
| String | toString() | 
public CompressedData()
public CompressedData(byte[] data)
data - public void setData(byte[] data)
data - IllegalStateException - if this instance already holds a compressed datapublic byte[] getData()
IllegalStateException - if this instance does not hold any
                compression binary dataCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.