public class EmbeddedBinaryObject extends EmbeddedObject
| Modifier | Constructor | Description |
|---|---|---|
protected |
EmbeddedBinaryObject(java.lang.String sName,
java.lang.String sType,
OfficeDocument doc,
SimpleZipReader source) |
Package private constructor for use when reading an object from a
package ODF file
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
dispose() |
Dispose this
EmbeddedObject. |
byte[] |
getBinaryData() |
Get the binary data for this object
|
getName, getTypeprotected EmbeddedBinaryObject(java.lang.String sName,
java.lang.String sType,
OfficeDocument doc,
SimpleZipReader source)
sName - The name of the object.sType - The MIME-type of the object.doc - The document containing the object.source - A SimpleZipReader containing the objectpublic byte[] getBinaryData()
byte array containing the object's data.public void dispose()
EmbeddedObjectEmbeddedObject. This implies that the content is nullified and the object
is removed from the collection in the OfficeDocument.dispose in class EmbeddedObject