com.alibaba.excel.converters

接口 Converter<T>

    • 方法详细资料

      • supportJavaTypeKey

        Class supportJavaTypeKey()
        Back to object types in Java
        返回:
        Support for Java class
      • convertToJavaData

        T convertToJavaData(CellData cellData,
                            ExcelContentProperty contentProperty,
                            GlobalConfiguration globalConfiguration)
                     throws Exception
        Convert excel objects to Java objects
        参数:
        cellData - Excel cell data.NotNull.
        contentProperty - Content property.Nullable.
        globalConfiguration - Global configuration.NotNull.
        返回:
        Data to put into a Java object
        抛出:
        Exception - Exception.
      • convertToExcelData

        CellData convertToExcelData(T value,
                                    ExcelContentProperty contentProperty,
                                    GlobalConfiguration globalConfiguration)
                             throws Exception
        Convert Java objects to excel objects
        参数:
        value - Java Data.NotNull.
        contentProperty - Content property.Nullable.
        globalConfiguration - Global configuration.NotNull.
        返回:
        Data to put into a Excel
        抛出:
        Exception - Exception.

Copyright © 2018–2019 Alibaba Group. All rights reserved.