public static interface XSSFSheetXMLHandler.SheetContentsHandler
XSSFReader
.
By implementing the methods, you can process arbitrarily
large files without exhausting main memory.Modifier and Type | Method and Description |
---|---|
void |
cell(java.lang.String cellReference,
java.lang.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
|
default void |
endSheet()
Signal that the end of a sheet was been reached
|
default void |
headerFooter(java.lang.String text,
boolean isHeader,
java.lang.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)
void endRow(int rowNum)
void cell(java.lang.String cellReference, java.lang.String formattedValue, XSSFComment comment)
cell
. See the code in
src/examples/src/org/apache/poi/xssf/eventusermodel/XLSX2CSV.java
for an example of how to handle this scenario.default void headerFooter(java.lang.String text, boolean isHeader, java.lang.String tagName)
default void endSheet()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.