public interface ObjectData
Modifier and Type | Method and Description |
---|---|
default byte[] |
getBytes()
Convenience method to get the embedded data as byte array.
|
default DirectoryEntry |
getDirectory()
Gets 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() |
default boolean |
hasDirectoryEntry() |
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
default byte[] getBytes() throws java.io.IOException
java.io.IOException
default boolean hasDirectoryEntry()
default DirectoryEntry getDirectory() throws java.io.IOException
hasDirectoryEntry()
.
The caller has to close the corresponding POIFSFileSystemjava.io.IOException
- if there was an error reading the data.java.lang.String getOLE2ClassName()
java.lang.String getFileName()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.