private static final class CompoundOleUtil.CompoundContentImpl extends OleUtil.EmbeddedPackageContentImpl implements OleBlob.CompoundContent
| Modifier and Type | Class and Description |
|---|---|
private class |
CompoundOleUtil.CompoundContentImpl.EntryImpl |
OleBlob.CompoundContent.Entry| Modifier and Type | Field and Description |
|---|---|
private org.apache.poi.poifs.filesystem.NPOIFSFileSystem |
_fs |
_blob| Modifier | Constructor and Description |
|---|---|
private |
CompoundContentImpl(OleUtil.OleBlobImpl blob,
java.lang.String prettyName,
java.lang.String className,
java.lang.String typeName,
int position,
int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CompoundOleUtil.CompoundContentImpl.EntryImpl |
getContentsEntry() |
private java.util.List<OleBlob.CompoundContent.Entry> |
getEntries(java.util.List<OleBlob.CompoundContent.Entry> entries,
org.apache.poi.poifs.filesystem.DirectoryEntry dir,
java.lang.String prefix) |
CompoundOleUtil.CompoundContentImpl.EntryImpl |
getEntry(java.lang.String entryName) |
private org.apache.poi.poifs.filesystem.NPOIFSFileSystem |
getFileSystem() |
OleBlob.ContentType |
getType()
Returns the type of this content.
|
boolean |
hasContentsEntry() |
java.util.Iterator<OleBlob.CompoundContent.Entry> |
iterator() |
java.lang.String |
toString() |
getClassName, getPrettyName, getTypeName, toStringgetStream, length, writeTogetBlob, getBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClassName, getPrettyName, getTypeNamegetStream, length, writeTogetBlobprivate CompoundContentImpl(OleUtil.OleBlobImpl blob, java.lang.String prettyName, java.lang.String className, java.lang.String typeName, int position, int length)
public OleBlob.ContentType getType()
OleBlob.ContentgetType in interface OleBlob.Contentprivate org.apache.poi.poifs.filesystem.NPOIFSFileSystem getFileSystem()
throws java.io.IOException
java.io.IOExceptionpublic java.util.Iterator<OleBlob.CompoundContent.Entry> iterator()
iterator in interface java.lang.Iterable<OleBlob.CompoundContent.Entry>public CompoundOleUtil.CompoundContentImpl.EntryImpl getEntry(java.lang.String entryName) throws java.io.IOException
getEntry in interface OleBlob.CompoundContentjava.io.IOExceptionpublic boolean hasContentsEntry()
throws java.io.IOException
hasContentsEntry in interface OleBlob.CompoundContentjava.io.IOExceptionpublic CompoundOleUtil.CompoundContentImpl.EntryImpl getContentsEntry() throws java.io.IOException
getContentsEntry in interface OleBlob.CompoundContentjava.io.IOExceptionprivate java.util.List<OleBlob.CompoundContent.Entry> getEntries(java.util.List<OleBlob.CompoundContent.Entry> entries, org.apache.poi.poifs.filesystem.DirectoryEntry dir, java.lang.String prefix)
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class OleUtil.ContentImplpublic java.lang.String toString()
toString in class java.lang.Object