|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CellCallbackHandler
Callback interface used by ExcelTemplate's query methods. Implementations of this interface perform the actual work of extracting results from cells, 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 CellCallbackHandler object is typically stateful: It keeps the result state within the object, to be available for later inspection.
SheetExtractor
,
RowCallbackHandler
,
CellMapper
Method Summary | |
---|---|
void |
processCell(org.apache.poi.hssf.usermodel.HSSFCell cell,
int rowNum,
int columnNum)
Implementations must implement this method to process each cell of data in the HSSFSheet. |
Method Detail |
---|
void processCell(org.apache.poi.hssf.usermodel.HSSFCell cell, int rowNum, int columnNum) throws java.io.IOException
cell
- the HSSFCell to processrowNum
- the number of the current rowcolumnNum
- the number of the current column
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 |