public static interface XSSFSheetXMLHandler.SheetContentsHandler
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cell(String cellReference,
String formattedValue,
org.apache.poi.xssf.usermodel.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
|
default void |
endSheet()
Signal that the end of a sheet was been reached
|
default 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
|
void startRow(int rowNum)
rowNum - rowNumvoid endRow(int rowNum)
rowNum - rowNumvoid cell(String cellReference, String formattedValue, org.apache.poi.xssf.usermodel.XSSFComment comment)
Sheets that have missing or empty cells may result in
sparse calls to cell. See the code in
src/examples/src/org/apache/poi/xssf/eventusermodel/XLSX2CSV.java
for an example of how to handle this scenario.
cellReference - cellReferencecomment - commentformattedValue - formattedValuedefault void headerFooter(String text, boolean isHeader, String tagName)
isHeader - isHeadertagName - tagNametext - textdefault void endSheet()
Copyright © 2021. All rights reserved.