Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache.poi.poifs » eventfilesystem » [javadoc | source]
org.apache.poi.poifs.eventfilesystem
public class: POIFSReader [javadoc | source]
java.lang.Object
   org.apache.poi.poifs.eventfilesystem.POIFSReader
An event-driven reader for POIFS file systems. Users of this class first create an instance of it, then use the registerListener methods to register POIFSReaderListener instances for specific documents. Once all the listeners have been registered, the read() method is called, which results in the listeners being notified as their documents are read.
Constructor:
 public POIFSReader() 
Method from org.apache.poi.poifs.eventfilesystem.POIFSReader Summary:
main,   read,   registerListener,   registerListener,   registerListener
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.poifs.eventfilesystem.POIFSReader Detail:
 public static  void main(String[] args) throws IOException 
    read in files
 public  void read(InputStream stream) throws IOException 
    Read from an InputStream and process the documents we get
 public  void registerListener(POIFSReaderListener listener) 
    Register a POIFSReaderListener for all documents
 public  void registerListener(POIFSReaderListener listener,
    String name) 
    Register a POIFSReaderListener for a document in the root directory
 public  void registerListener(POIFSReaderListener listener,
    POIFSDocumentPath path,
    String name) 
    Register a POIFSReaderListener for a document in the specified directory