Note that all POI usage is restricted to this file so that the basic ole support in OleUtil can be utilized without requiring POI.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final Charset | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public OleUtil. | createCompoundPackageContent(OleUtil.
Implements io. Creates a nes CompoundContent for the given blob information. |
| private static String | |
| public static DocumentEntry | Returns: the relevant DocumentEntryfully qualified, encoded entry name entryName, DirectoryEntry root directory of the compound storage dir)Gets a DocumentEntry from compound storage based on a fully qualified, encoded entry name. |
| CONTENTS_ENTRY | back to summary |
|---|---|
| private static final String CONTENTS_ENTRY | |
| ENTRY_NAME_CHARSET | back to summary |
|---|---|
| private static final Charset ENTRY_NAME_CHARSET | |
| ENTRY_SEPARATOR | back to summary |
|---|---|
| private static final String ENTRY_SEPARATOR | |
| CompoundOleUtil | back to summary |
|---|---|
| public CompoundOleUtil() | |
| createCompoundPackageContent | back to summary |
|---|---|
| public OleUtil. Implements io. Creates a nes CompoundContent for the given blob information.
| |
| decodeEntryName | back to summary |
|---|---|
private static String decodeEntryName(String name)
| |
| getDocumentEntry | back to summary |
|---|---|
| public static DocumentEntry getDocumentEntry(String entryName, DirectoryEntry dir) throws IOException Gets a DocumentEntry from compound storage based on a fully qualified, encoded entry name.
| |
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private POIFSFileSystem |
| Access | Constructor and Description |
|---|---|
| private | CompoundContentImpl(OleUtil.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides io. Implements java. Closes this stream and releases any system resources associated with it. |
| private static String | |
| public CompoundOleUtil. | |
| private List | |
| public CompoundOleUtil. | getEntry(String entryName)
Implements io.
|
| private POIFSFileSystem | |
| public OleBlob. | getType()
Implements io. Returns the type of this content. |
| public boolean | |
| public Iterator | |
| public String |
| fs | back to summary |
|---|---|
| private POIFSFileSystem fs | |
| CompoundContentImpl | back to summary |
|---|---|
| private CompoundContentImpl(OleUtil. | |
| close | back to summary |
|---|---|
| public void close() Overrides io. Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| encodeEntryName | back to summary |
|---|---|
private static String encodeEntryName(String name)
| |
| getContentsEntry | back to summary |
|---|---|
| public CompoundOleUtil. Implements io.
| |
| getEntries | back to summary |
|---|---|
| private List | |
| getEntry | back to summary |
|---|---|
| public CompoundOleUtil. Implements io.
| |
| getFileSystem | back to summary |
|---|---|
| private POIFSFileSystem getFileSystem() throws IOException | |
| getType | back to summary |
|---|---|
| public OleBlob. Implements io. Doc from io. Returns the type of this content.
| |
| hasContentsEntry | back to summary |
|---|---|
| public boolean hasContentsEntry() throws IOException Implements io.
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private final DocumentEntry | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public OleUtil. | getBlob()
Implements io. Returns the blob which owns this content. |
| public String | |
| public CompoundOleUtil. | getParent()
Implements io. Returns the CompoundContent which owns this entry. |
| public InputStream | |
| public OleBlob. | getType()
Implements io. Returns the type of this content. |
| public long | |
| public String | |
| public void |
| mdocEntry | back to summary |
|---|---|
| private final DocumentEntry mdocEntry | |
| mname | back to summary |
|---|---|
| private final String mname | |
| EntryImpl | back to summary |
|---|---|
| private EntryImpl(String _name, DocumentEntry _docEntry) | |
| getBlob | back to summary |
|---|---|
| public OleUtil. Implements io. Doc from io. Returns the blob which owns this content.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements io.
| |
| getParent | back to summary |
|---|---|
| public CompoundOleUtil. Implements io. Doc from io. Returns the CompoundContent which owns this entry.
| |
| getStream | back to summary |
|---|---|
| public InputStream getStream() throws IOException Implements io.
| |
| getType | back to summary |
|---|---|
| public OleBlob. Implements io. Doc from io. Returns the type of this content.
| |
| length | back to summary |
|---|---|
| public long length() Implements io.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(OutputStream out) throws IOException Implements io.
| |