public class DefaultBooleanAdapter extends AbstractDataCastAdapter<Boolean> implements DataCastAdapter<Boolean>
| 构造器和说明 |
|---|
DefaultBooleanAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
cast(CellGetInfo cellGetInfo,
CastContext<Boolean> context)
类型转换
|
boolean |
support(org.apache.poi.ss.usermodel.CellType cellType,
Class<Boolean> clazz)
是否支持该类型进行转换
|
public Boolean cast(CellGetInfo cellGetInfo, CastContext<Boolean> context)
DataCastAdaptercast 在接口中 DataCastAdapter<Boolean>cellGetInfo - 单元格信息context - 需要转换的类型public boolean support(org.apache.poi.ss.usermodel.CellType cellType,
Class<Boolean> clazz)
DataCastAdaptersupport 在接口中 DataCastAdapter<Boolean>cellType - 单元格类型clazz - 需要转换的类型Copyright © 2024. All rights reserved.