Package io.github.connellite.excel
Class ExcelRowStringIterator
java.lang.Object
io.github.connellite.excel.AbstractExcelSheetRowIterator<String>
io.github.connellite.excel.ExcelRowStringIterator
- All Implemented Interfaces:
AutoCloseable,Iterator<Map<String,String>>
Forward-only iterator over sheet rows with all cell values exposed as
Strings. Numbers use a plain
string without scientific notation (trailing zeros stripped); date-formatted cells use the data formatter output.
Formula cells use the cached result (same basis as ExcelRowIterator), not the formula text.
Implements Iterable and AutoCloseable per the base class; AbstractExcelSheetRowIterator.close() closes the workbook.-
Field Summary
Fields inherited from class io.github.connellite.excel.AbstractExcelSheetRowIterator
columnNames, formatter, rowIterator -
Constructor Summary
ConstructorsConstructorDescriptionExcelRowStringIterator(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName) Creates a string-valued iterator over the given sheet. -
Method Summary
Methods inherited from class io.github.connellite.excel.AbstractExcelSheetRowIterator
asIterable, close, getCellObjectValue, getColumnNames, hasNextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove