public class TypeCastException extends IllegalArgumentException
| 限定符和类型 | 字段和说明 |
|---|---|
int |
col
列号,从1开始,可通过
toColumnLetter()转为字母 |
CellType |
from
Excel单元格类型
|
int |
row
行号,从1开始
|
Class<?> |
to
目标转换类型
|
| 构造器和说明 |
|---|
TypeCastException(int row,
int col,
CellType from,
Class<?> to) |
TypeCastException(int row,
int col,
CellType from,
Class<?> to,
String message) |
TypeCastException(int row,
int col,
CellType from,
Class<?> to,
String message,
Throwable cause) |
TypeCastException(int row,
int col,
CellType from,
Class<?> to,
Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCol() |
String |
getCoordinate()
获取单位格坐标
|
CellType |
getFrom() |
int |
getRow() |
Class<?> |
getTo() |
String |
toColumnLetter() |
public final int row
public final int col
toColumnLetter()转为字母public final CellType from
public final Class<?> to
Copyright © 2024. All rights reserved.