Save This Page
Home » cocoon-2.1.11-src » org.apache.cocoon.poi.poifs » filesystem » [javadoc | source]
org.apache.cocoon.poi.poifs.filesystem
public interface: DirectoryEntry [javadoc | source]

All Implemented Interfaces:
    Entry

All Known Implementing Classes:
    DirectoryNode

This interface defines methods specific to Directory objects managed by a Filesystem instance.
Method from org.apache.cocoon.poi.poifs.filesystem.DirectoryEntry Summary:
createDirectory,   createDocument,   getEntries,   getEntry,   getEntryCount,   isEmpty
Method from org.apache.cocoon.poi.poifs.filesystem.DirectoryEntry Detail:
 public DirectoryEntry createDirectory(String name) throws IOException
    create a new DirectoryEntry
 public DocumentEntry createDocument(String name,
    InputStream stream) throws IOException
    create a new DocumentEntry
 public Iterator getEntries()
    get an iterator of the Entry instances contained directly in this instance (in other words, children only; no grandchildren etc.)
 public Entry getEntry(String name) throws FileNotFoundException
    get a specified Entry by name
 public int getEntryCount()
    find out how many Entry instances are contained directly within this DirectoryEntry
 public boolean isEmpty()
    is this DirectoryEntry empty?