output.append('"');
}
}
-
- @Override
- public void headerFooter(String text, boolean isHeader, String tagName) {
- // Skip, no headers or footers in CSV
- }
-
- @Override
- public void endSheet() {
- }
}
public void startRow(int rowNum) {
}
- @Override
- public void headerFooter(String text, boolean isHeader, String tagName) {
- }
-
@Override
public void endRow(int rowNum) {
}
@Override
public void cell(String cellReference, String formattedValue, XSSFComment comment) {
}
-
- @Override
- public void endSheet() {
-
- }
};
}
-
}
public void cell(String cellReference, String formattedValue, XSSFComment comment);
/** A header or footer has been encountered */
- public void headerFooter(String text, boolean isHeader, String tagName);
+ public default void headerFooter(String text, boolean isHeader, String tagName) {}
/** Signal that the end of a sheet was been reached */
- public void endSheet();
+ public default void endSheet() {}
}
}
output.append('\n');
}
- @Override
- public void endSheet() {
- }
-
@Override
public void cell(String cellRef, String formattedValue, XSSFComment comment) {
if(firstCellOfRow) {