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, wait
getBytes, getDirectory, hasDirectoryEntry
getGenericRecordType
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()
getOutputStream
in interface ObjectData
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
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
public java.util.List<? extends GenericRecord> getGenericChildren()
getGenericChildren
in interface GenericRecord
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.