public class HSLFObjectData extends Object implements ObjectData
| Constructor and Description |
|---|
HSLFObjectData(ExOleObjStg storage)
Creates the object data wrapping the record that contains the object data.
|
| Modifier and Type | Method and Description |
|---|---|
ExOleObjStg |
getExOleObjStg()
Return the record that contains the object data.
|
String |
getFileName() |
InputStream |
getInputStream()
Gets an input stream which returns the binary of the embedded data.
|
String |
getOLE2ClassName() |
OutputStream |
getOutputStream() |
void |
setData(byte[] data)
Sets the embedded data.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBytes, getDirectory, hasDirectoryEntrypublic HSLFObjectData(ExOleObjStg storage)
storage - the record that contains the object data.public InputStream getInputStream()
ObjectDatagetInputStream in interface ObjectDatapublic OutputStream getOutputStream() throws IOException
getOutputStream in interface ObjectDataIOExceptionpublic void setData(byte[] data)
throws IOException
data - the embedded data.IOExceptionpublic ExOleObjStg getExOleObjStg()
public String getOLE2ClassName()
getOLE2ClassName in interface ObjectDatapublic String getFileName()
getFileName in interface ObjectDataCopyright © 2010 - 2020 Adobe. All Rights Reserved