java.lang.Object
cn.toutatis.xvoid.axolotl.excel.support.adapters.AbstractDataCastAdapter<Object>
cn.toutatis.xvoid.axolotl.excel.support.adapters.AutoAdapter
所有已实现的接口:
DataCastAdapter<Object>

public class AutoAdapter extends AbstractDataCastAdapter<Object>
自动适配器
  • 构造器详细资料

    • AutoAdapter

      public AutoAdapter()
  • 方法详细资料

    • instance

      public static AutoAdapter instance()
      获取自动转换器实例
    • cast

      public Object cast(CellGetInfo cellGetInfo, CastContext context)
      从接口复制的说明: DataCastAdapter
      类型转换
      参数:
      cellGetInfo - 单元格信息
      context - 需要转换的类型
      返回:
      转换后的值
    • support

      public boolean support(org.apache.poi.ss.usermodel.CellType cellType, Class clazz)
      从接口复制的说明: DataCastAdapter
      是否支持该类型进行转换
      参数:
      cellType - 单元格类型
      clazz - 需要转换的类型
      返回:
      是否支持该类型进行转换