public class HSLFObjectData extends java.lang.Object implements ObjectData, GenericRecord
| 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.util.List<? extends GenericRecord> |
getGenericChildren() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
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, waitgetBytes, getDirectory, hasDirectoryEntrygetGenericRecordTypepublic HSLFObjectData(ExOleObjStg storage)
storage - the record that contains the object data.public java.io.InputStream getInputStream()
ObjectDatagetInputStream in interface ObjectDatapublic java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in interface ObjectDatajava.io.IOExceptionpublic void setData(byte[] data)
throws java.io.IOException
data - the embedded data.java.io.IOExceptionpublic ExOleObjStg getExOleObjStg()
public java.lang.String getOLE2ClassName()
getOLE2ClassName in interface ObjectDatapublic java.lang.String getFileName()
getFileName in interface ObjectDatapublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordpublic java.util.List<? extends GenericRecord> getGenericChildren()
getGenericChildren in interface GenericRecordCopyright 2021 The Apache Software Foundation or its licensors, as applicable.