public class CompressedModelInstance extends Object implements Serializable
Constructor and Description |
---|
CompressedModelInstance()
Creates a instance ready to compress model instance.
|
Modifier and Type | Method and Description |
---|---|
void |
compress(ModelInstance modelInstance)
Compresses the model instance and stores it internally as byte array.
|
ModelInstance |
decompress()
Decompresses the model instance.
|
String |
toString() |
public CompressedModelInstance()
public void compress(ModelInstance modelInstance)
modelInstance
- IllegalStateException
- if this instance already holds a compressed
model instancepublic ModelInstance decompress()
IllegalStateException
- if this instance does not hold any
compression binary dataCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.