private final class CompoundOleUtil.CompoundContentImpl.EntryImpl extends java.lang.Object implements OleBlob.CompoundContent.Entry
| Modifier and Type | Field and Description |
|---|---|
private org.apache.poi.poifs.filesystem.DocumentEntry |
_docEntry |
private java.lang.String |
_name |
| Modifier | Constructor and Description |
|---|---|
private |
EntryImpl(java.lang.String name,
org.apache.poi.poifs.filesystem.DocumentEntry docEntry) |
| Modifier and Type | Method and Description |
|---|---|
OleUtil.OleBlobImpl |
getBlob()
Returns the blob which owns this content.
|
java.lang.String |
getName() |
CompoundOleUtil.CompoundContentImpl |
getParent()
Returns the CompoundContent which owns this entry.
|
java.io.InputStream |
getStream() |
OleBlob.ContentType |
getType()
Returns the type of this content.
|
long |
length() |
java.lang.String |
toString() |
void |
writeTo(java.io.OutputStream out) |
private final java.lang.String _name
private final org.apache.poi.poifs.filesystem.DocumentEntry _docEntry
private EntryImpl(java.lang.String name,
org.apache.poi.poifs.filesystem.DocumentEntry docEntry)
public OleBlob.ContentType getType()
OleBlob.ContentgetType in interface OleBlob.Contentpublic java.lang.String getName()
getName in interface OleBlob.CompoundContent.Entrypublic CompoundOleUtil.CompoundContentImpl getParent()
OleBlob.CompoundContent.EntrygetParent in interface OleBlob.CompoundContent.Entrypublic OleUtil.OleBlobImpl getBlob()
OleBlob.ContentgetBlob in interface OleBlob.Contentpublic long length()
length in interface OleBlob.EmbeddedContentpublic java.io.InputStream getStream()
throws java.io.IOException
getStream in interface OleBlob.EmbeddedContentjava.io.IOExceptionpublic void writeTo(java.io.OutputStream out)
throws java.io.IOException
writeTo in interface OleBlob.EmbeddedContentjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object