public class BlobObject extends ExperimentObject
Modifier and Type | Field and Description |
---|---|
Object |
getBlob
Object representation of the blob.
|
NO_KEY
Constructor and Description |
---|
BlobObject()
Constructor.
|
BlobObject(byte[] blob)
Constructor.
|
BlobObject(Object object)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBlob()
Returns the byte representation of the object.
|
void |
setBlob(byte[] blob)
Sets the byte representation of the object.
|
Object |
unBlob()
Returns the object represented by this blob.
|
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
public Object getBlob
public BlobObject(Object object) throws IOException
object
- the object represented in this blob.IOException
- exception thrown whenever an error occurred while getting the byte representation of the objectpublic BlobObject()
public BlobObject(byte[] blob)
blob
- the byte representation of the object.public void setBlob(byte[] blob)
blob
- the blob as byte arraypublic byte[] getBlob()
public Object unBlob() throws IOException
IOException
- exception thrown whenever an error occurred while reading the object from its byte representationCopyright © 2021. All rights reserved.