package com.alibaba.excel.converters; import com.alibaba.excel.enums.CellDataTypeEnum; import com.alibaba.excel.metadata.CellData; import com.alibaba.excel.metadata.ExcelColumnProperty; import com.sun.istack.internal.NotNull; public interface Converter { Class supportJavaTypeKey(); CellDataTypeEnum supportExcelTypeKey(); T convertToJavaData(@NotNull CellData cellData, ExcelColumnProperty columnProperty) throws Exception; CellData convertToExcelData(@NotNull T value, ExcelColumnProperty columnProperty) throws Exception; }