public class EmbeddedBinaryObject extends EmbeddedObject
Modifier and Type | Field and Description |
---|---|
protected byte[] |
objData
The object's binary representation.
|
hasChanged, objName, objType, zipFile
Constructor and Description |
---|
EmbeddedBinaryObject(java.lang.String name,
java.lang.String type)
Constructor for an embedded object stored using an XML representation.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBinaryData()
This method returns the data for this object.
|
void |
setBinaryData(byte[] data)
Sets the data for this object.
|
getName, getType
public EmbeddedBinaryObject(java.lang.String name, java.lang.String type)
name
- The name of the object.type
- The mime-type of the object. See the class summary.public byte[] getBinaryData()
byte
array containing the object's data.public void setBinaryData(byte[] data)
data
- A byte
array containing data for the object.