public class HeaderCell extends Object implements WritableCell, OptionSupport
| 构造器和说明 |
|---|
HeaderCell() |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getRowIndex()
当前单元格所在行号,从0开始
|
int |
getSheetIndex() |
CellDataType |
getType()
单元格数据类型
|
Options |
options() |
Optional<Object> |
value()
获取单元格的值,如果值为
null则返回Optional.empty() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, ofgetSheetNamegetColumnIndex, isEndOfRow, of, of, of, valueAsTextpublic int getSheetIndex()
getSheetIndex 在接口中 InSheetCellpublic long getRowIndex()
CellgetRowIndex 在接口中 Cellpublic Optional<Object> value()
Cellnull则返回Optional.empty()public CellDataType getType()
Cellpublic Options options()
options 在接口中 OptionSupportCopyright © 2020–2022. All rights reserved.