java.lang .Object org.apache.poi.hssf.usermodel.examples .EventExample EventExample public class EventExample implements HSSFListener (Code) This example shows how to use the event API for reading a file.
Method Summary public static voidmain (String [] args) Read an excel file and spit out what we find.public voidprocessRecord (Record record) This method listens for incoming records and handles them as required.
main public static void main(String [] args) throws IOException (Code) Read an excel file and spit out what we find.
Parameters: args - Expect one argument that is the file to read.throws: IOException - When there is an error processing the file.
processRecord public void processRecord(Record record)(Code) This method listens for incoming records and handles them as required.
Parameters: record - The record that was found while reading.