|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hssf.usermodel.examples.EventExample
public class EventExample
This example shows how to use the event API for reading a file.
Constructor Summary | |
---|---|
EventExample()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Read an excel file and spit out what we find. |
void |
processRecord(Record record)
This method listens for incoming records and handles them as required. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventExample()
Method Detail |
---|
public void processRecord(Record record)
processRecord
in interface HSSFListener
record
- The record that was found while reading.public static void main(java.lang.String[] args) throws java.io.IOException
args
- Expect one argument that is the file to read.
java.io.IOException
- When there is an error processing the file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |