protected class XSSFEventBasedExcelExtractor.SheetTextExtractor extends Object implements XSSFSheetXMLHandler.SheetContentsHandler
| Modifier | Constructor and Description |
|---|---|
protected |
SheetTextExtractor() |
| Modifier and Type | Method and Description |
|---|---|
void |
cell(String cellRef,
String formattedValue,
XSSFComment comment)
A cell, with the given formatted value (may be null),
and possibly a comment (may be null), was encountered.
|
void |
endRow(int rowNum)
A row with the (zero based) row number has ended
|
void |
headerFooter(String text,
boolean isHeader,
String tagName)
A header or footer has been encountered
|
void |
startRow(int rowNum)
A row with the (zero based) row number has started
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendSheetpublic void startRow(int rowNum)
XSSFSheetXMLHandler.SheetContentsHandlerstartRow in interface XSSFSheetXMLHandler.SheetContentsHandlerpublic void endRow(int rowNum)
XSSFSheetXMLHandler.SheetContentsHandlerendRow in interface XSSFSheetXMLHandler.SheetContentsHandlerpublic void cell(String cellRef, String formattedValue, XSSFComment comment)
XSSFSheetXMLHandler.SheetContentsHandler
Sheets that have missing or empty cells may result in
sparse calls to cell. See the code in
poi-examples/src/main/java/org/apache/poi/xssf/eventusermodel/XLSX2CSV.java
for an example of how to handle this scenario.
cell in interface XSSFSheetXMLHandler.SheetContentsHandlerpublic void headerFooter(String text, boolean isHeader, String tagName)
XSSFSheetXMLHandler.SheetContentsHandlerheaderFooter in interface XSSFSheetXMLHandler.SheetContentsHandler