| Modifier and Type | Method and Description |
|---|---|
| public DirectoryEntry | Returns: the new DirectoryEntrythe name of the new DirectoryEntry name)create a new DirectoryEntry |
| public DocumentEntry | Returns: the new DocumentEntrythe name of the new DocumentEntry name, final InputStream the InputStream from which to create the new
DocumentEntry stream)create a new DocumentEntry |
| public DocumentEntry | Returns: the new DocumentEntrythe name of the new DocumentEntry name, final int the size of the new DocumentEntry size, final POIFSWriterListener the writer of the new DocumentEntry writer)create a new DocumentEntry; the data will be provided later |
| public Iterator | Returns: iterator; never null, but hasNext() may return false immediately (i.e., this DirectoryEntry is empty). All objects retrieved by next() are guaranteed to be implementations of Entry.get an iterator of the Entry instances contained directly in this instance (in other words, children only; no grandchildren etc.) |
| public Entry | |
| public Entry | Returns: the specified Entry, if it is directly contained in this DirectoryEntrythe name of the Entry to obtain. name)get a specified Entry by name, case insensitive |
| public int | Returns: number of immediately (no grandchildren etc.) contained Entry instancesfind out how many Entry instances are contained directly within this DirectoryEntry |
| public Set | Returns: the names of all the entries that may be retrieved with getEntry(String), which may be empty (if this DirectoryEntry is empty)get the names of all the Entries contained directly in this instance (in other words, names of children only; no grandchildren etc). |
| public ClassID | |
| public boolean | |
| public boolean | hasEntryCaseInsensitive(final String name)
Checks if entry with specified name present, case sensitive |
| public boolean | |
| public void |
| createDirectory | back to summary |
|---|---|
| public DirectoryEntry createDirectory(final String name) throws IOException create a new DirectoryEntry
| |
| createDocument | back to summary |
|---|---|
| public DocumentEntry createDocument(final String name, final InputStream stream) throws IOException create a new DocumentEntry
| |
| createDocument | back to summary |
|---|---|
| public DocumentEntry createDocument(final String name, final int size, final POIFSWriterListener writer) throws IOException create a new DocumentEntry; the data will be provided later
| |
| getEntries | back to summary |
|---|---|
| public Iterator get an iterator of the Entry instances contained directly in this instance (in other words, children only; no grandchildren etc.) | |
| getEntry | back to summary |
|---|---|
| public Entry getEntry(final String name) throws FileNotFoundException get a specified Entry by name, case sensitive
| |
| getEntryCaseInsensitive | back to summary |
|---|---|
| public Entry getEntryCaseInsensitive(final String name) throws FileNotFoundException get a specified Entry by name, case insensitive
| |
| getEntryCount | back to summary |
|---|---|
| public int getEntryCount() find out how many Entry instances are contained directly within this DirectoryEntry
| |
| getEntryNames | back to summary |
|---|---|
| public Set get the names of all the Entries contained directly in this instance (in other words, names of children only; no grandchildren etc). | |
| getStorageClsid | back to summary |
|---|---|
| public ClassID getStorageClsid() Gets the storage clsid of the directory entry
| |
| hasEntry | back to summary |
|---|---|
| public boolean hasEntry(final String name) Checks if entry with specified name present, case sensitive | |
| hasEntryCaseInsensitive | back to summary |
|---|---|
| public boolean hasEntryCaseInsensitive(final String name) Checks if entry with specified name present, case sensitive | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() is this DirectoryEntry empty?
| |
| setStorageClsid | back to summary |
|---|---|
| public void setStorageClsid(ClassID clsidStorage) Sets the storage clsid for the directory entry
| |