public abstract class EmbeddedObject
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
EmbeddedObject(java.lang.String sName,
java.lang.String sType,
OfficeDocument doc)
Construct a new embedded object
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose this
EmbeddedObject . |
java.lang.String |
getName()
Get the name of the embedded object represented by this instance.
|
java.lang.String |
getType()
Get the MIME type of the embedded object represented by this instance.
|
protected EmbeddedObject(java.lang.String sName, java.lang.String sType, OfficeDocument doc)
sName
- The name of the object.sType
- The MIME-type of the object.doc
- The document to which the object belongs.public final java.lang.String getName()
public final java.lang.String getType()
public void dispose()
EmbeddedObject
. This implies that the content is nullified and the object
is removed from the collection in the OfficeDocument
.