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.
|
String |
getFileName() |
InputStream |
getInputStream()
Gets an input stream which returns the binary of the embedded data.
|
String |
getOLE2ClassName() |
OutputStream |
getOutputStream() |
default boolean |
hasDirectoryEntry() |
InputStream getInputStream() throws IOException
IOException
OutputStream getOutputStream() throws IOException
IOException
default byte[] getBytes() throws IOException
IOException
default boolean hasDirectoryEntry()
default DirectoryEntry getDirectory() throws IOException
hasDirectoryEntry()
.
The caller has to close the corresponding POIFSFileSystemIOException
- if there was an error reading the data.String getOLE2ClassName()
String getFileName()
Copyright © 2010 - 2020 Adobe. All Rights Reserved