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
IOExceptionOutputStream getOutputStream() throws IOException
IOExceptiondefault byte[] getBytes()
throws IOException
IOExceptiondefault 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