|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RowCallbackHandler
Callback interface used by ExcelTemplate's query methods. Implementations of this interface perform the actual work of extracting results from rows, but don't need to worry about exception handling. IOExceptions will be caught and handled correctly by the ExcelTemplate class.
In contrast to a SheetExtractor, a RowCallbackHandler object is typically stateful: It keeps the result state within the object, to be available for later inspection.
SheetExtractor
,
RowMapper
Method Summary | |
---|---|
void |
processRow(org.apache.poi.hssf.usermodel.HSSFRow row,
int rowNum)
Implementations must implement this method to process each row of data in the HSSFSheet. |
Method Detail |
---|
void processRow(org.apache.poi.hssf.usermodel.HSSFRow row, int rowNum) throws java.io.IOException
row
- the HSSFRow to processrowNum
- the number of the current row
java.io.IOException
- if a IOException is encountered getting
column values (that is, there's no need to catch IOException)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |