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.
(storage - 包含对象数据的记录。)
public java.io.InputStream getInputStream()
ObjectData
getInputStream
in interface
ObjectData
(接口 ObjectData 中的 getInputStream)
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in interface
ObjectData
(接口 ObjectData 中的 getOutputStream)
java.io.IOException
(java.io.IOException)
public void setData(byte[] data) throws java.io.IOException
data
- the embedded data.
(data - 嵌入的数据。)
java.io.IOException
(java.io.IOException)
public ExOleObjStg getExOleObjStg()
public java.lang.String getOLE2ClassName()
getOLE2ClassName
in interface
ObjectData
(接口 ObjectData 中的 getOLE2ClassName)
public java.lang.String getFileName()
getFileName
in interface
ObjectData
(接口 ObjectData 中的 getFileName)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
public java.util.List<? extends GenericRecord> getGenericChildren()
getGenericChildren
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericChildren)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.