public interface Sheet extends AutoCloseable
| 限定符和类型 | 方法和说明 |
|---|---|
Sheet |
bind(Class<?> clazz)
Set the binding type
|
void |
close()
Close resource
|
default int |
col2Int(String col)
Convert column mark to int
|
Iterator<Row> |
dataIterator()
Iterating over data rows without header information and blank lines
|
default Stream<Row> |
dataRows()
Return stream with out header row and empty rows
|
Row |
getHeader()
Returns the header of the list.
|
int |
getIndex()
The index of worksheet located at the workbook
|
String |
getName()
The worksheet name
|
int |
getSize()
size of rows.
|
boolean |
isHidden()
Test Worksheet is hidden
|
default boolean |
isShow()
Test Worksheet is show
|
Iterator<Row> |
iterator()
Iterating each row of data contains header information and blank lines
|
Sheet |
load()
Load the sheet data
|
default Sheet |
reset()
Reset the
Sheet's row index to begging |
default Stream<Row> |
rows()
Return a stream of all rows
|
String getName()
int getIndex()
int getSize()
boolean isHidden()
default boolean isShow()
Row getHeader()
HeaderRowSheet load() throws IOException
SheetIOException - if I/O error occurIterator<Row> iterator()
Iterator<Row> dataIterator()
default Sheet reset() throws IOException
Sheet's row index to beggingSheetIOException - if I/O error occurdefault Stream<Row> rows()
Stream<Row> providing the lines of row
described by this Sheetdefault Stream<Row> dataRows()
Stream<Row> providing the lines of row
described by this Sheetdefault int col2Int(String col)
col - column markvoid close()
throws IOException
close 在接口中 AutoCloseableIOException - if I/O error occurCopyright © 2019. All rights reserved.