public class HSLFObjectData extends java.lang.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.
|
java.lang.String |
getFileName() |
java.io.InputStream |
getInputStream()
Gets an input stream which returns the binary of the embedded data.
|
java.lang.String |
getOLE2ClassName() |
java.io.OutputStream |
getOutputStream() |
void |
setData(byte[] data)
Sets the embedded data.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBytes, getDirectory, hasDirectoryEntry
public HSLFObjectData(ExOleObjStg storage)
storage
- the record that contains the object data.public java.io.InputStream getInputStream()
ObjectData
getInputStream
in interface ObjectData
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in interface ObjectData
java.io.IOException
public void setData(byte[] data) throws java.io.IOException
data
- the embedded data.java.io.IOException
public ExOleObjStg getExOleObjStg()
public java.lang.String getOLE2ClassName()
getOLE2ClassName
in interface ObjectData
public java.lang.String getFileName()
getFileName
in interface ObjectData
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.