Search in sources :

Example 1 with LocalDateNumberConverter

use of com.alibaba.excel.converters.localdatetime.LocalDateNumberConverter in project easyexcel by alibaba.

the class DefaultConverterLoader method initAllConverter.

private static void initAllConverter() {
    allConverter = MapUtils.newHashMapWithExpectedSize(40);
    putAllConverter(new BigDecimalBooleanConverter());
    putAllConverter(new BigDecimalNumberConverter());
    putAllConverter(new BigDecimalStringConverter());
    putAllConverter(new BigIntegerBooleanConverter());
    putAllConverter(new BigIntegerNumberConverter());
    putAllConverter(new BigIntegerStringConverter());
    putAllConverter(new BooleanBooleanConverter());
    putAllConverter(new BooleanNumberConverter());
    putAllConverter(new BooleanStringConverter());
    putAllConverter(new ByteBooleanConverter());
    putAllConverter(new ByteNumberConverter());
    putAllConverter(new ByteStringConverter());
    putAllConverter(new DateNumberConverter());
    putAllConverter(new DateStringConverter());
    putAllConverter(new LocalDateNumberConverter());
    putAllConverter(new LocalDateTimeStringConverter());
    putAllConverter(new DoubleBooleanConverter());
    putAllConverter(new DoubleNumberConverter());
    putAllConverter(new DoubleStringConverter());
    putAllConverter(new FloatBooleanConverter());
    putAllConverter(new FloatNumberConverter());
    putAllConverter(new FloatStringConverter());
    putAllConverter(new IntegerBooleanConverter());
    putAllConverter(new IntegerNumberConverter());
    putAllConverter(new IntegerStringConverter());
    putAllConverter(new LongBooleanConverter());
    putAllConverter(new LongNumberConverter());
    putAllConverter(new LongStringConverter());
    putAllConverter(new ShortBooleanConverter());
    putAllConverter(new ShortNumberConverter());
    putAllConverter(new ShortStringConverter());
    putAllConverter(new StringBooleanConverter());
    putAllConverter(new StringNumberConverter());
    putAllConverter(new StringStringConverter());
    putAllConverter(new StringErrorConverter());
    putAllConverter(new BigIntegerStringConverter());
}
Also used : IntegerNumberConverter(com.alibaba.excel.converters.integer.IntegerNumberConverter) BigIntegerNumberConverter(com.alibaba.excel.converters.biginteger.BigIntegerNumberConverter) DoubleBooleanConverter(com.alibaba.excel.converters.doubleconverter.DoubleBooleanConverter) BigDecimalBooleanConverter(com.alibaba.excel.converters.bigdecimal.BigDecimalBooleanConverter) IntegerStringConverter(com.alibaba.excel.converters.integer.IntegerStringConverter) BigIntegerStringConverter(com.alibaba.excel.converters.biginteger.BigIntegerStringConverter) StringStringConverter(com.alibaba.excel.converters.string.StringStringConverter) BigIntegerBooleanConverter(com.alibaba.excel.converters.biginteger.BigIntegerBooleanConverter) IntegerBooleanConverter(com.alibaba.excel.converters.integer.IntegerBooleanConverter) BooleanNumberConverter(com.alibaba.excel.converters.booleanconverter.BooleanNumberConverter) BooleanStringConverter(com.alibaba.excel.converters.booleanconverter.BooleanStringConverter) StringBooleanConverter(com.alibaba.excel.converters.string.StringBooleanConverter) BigDecimalStringConverter(com.alibaba.excel.converters.bigdecimal.BigDecimalStringConverter) LongStringConverter(com.alibaba.excel.converters.longconverter.LongStringConverter) BigIntegerNumberConverter(com.alibaba.excel.converters.biginteger.BigIntegerNumberConverter) BigIntegerStringConverter(com.alibaba.excel.converters.biginteger.BigIntegerStringConverter) LongNumberConverter(com.alibaba.excel.converters.longconverter.LongNumberConverter) ByteBooleanConverter(com.alibaba.excel.converters.byteconverter.ByteBooleanConverter) FloatNumberConverter(com.alibaba.excel.converters.floatconverter.FloatNumberConverter) LongBooleanConverter(com.alibaba.excel.converters.longconverter.LongBooleanConverter) DoubleStringConverter(com.alibaba.excel.converters.doubleconverter.DoubleStringConverter) ShortStringConverter(com.alibaba.excel.converters.shortconverter.ShortStringConverter) ShortNumberConverter(com.alibaba.excel.converters.shortconverter.ShortNumberConverter) DoubleNumberConverter(com.alibaba.excel.converters.doubleconverter.DoubleNumberConverter) BigIntegerBooleanConverter(com.alibaba.excel.converters.biginteger.BigIntegerBooleanConverter) ShortBooleanConverter(com.alibaba.excel.converters.shortconverter.ShortBooleanConverter) ByteStringConverter(com.alibaba.excel.converters.byteconverter.ByteStringConverter) FloatStringConverter(com.alibaba.excel.converters.floatconverter.FloatStringConverter) BooleanBooleanConverter(com.alibaba.excel.converters.booleanconverter.BooleanBooleanConverter) DateStringConverter(com.alibaba.excel.converters.date.DateStringConverter) DateNumberConverter(com.alibaba.excel.converters.date.DateNumberConverter) LocalDateNumberConverter(com.alibaba.excel.converters.localdatetime.LocalDateNumberConverter) StringErrorConverter(com.alibaba.excel.converters.string.StringErrorConverter) BigDecimalNumberConverter(com.alibaba.excel.converters.bigdecimal.BigDecimalNumberConverter) FloatBooleanConverter(com.alibaba.excel.converters.floatconverter.FloatBooleanConverter) StringNumberConverter(com.alibaba.excel.converters.string.StringNumberConverter) LocalDateNumberConverter(com.alibaba.excel.converters.localdatetime.LocalDateNumberConverter) ByteNumberConverter(com.alibaba.excel.converters.byteconverter.ByteNumberConverter) LocalDateTimeStringConverter(com.alibaba.excel.converters.localdatetime.LocalDateTimeStringConverter)

Aggregations

BigDecimalBooleanConverter (com.alibaba.excel.converters.bigdecimal.BigDecimalBooleanConverter)1 BigDecimalNumberConverter (com.alibaba.excel.converters.bigdecimal.BigDecimalNumberConverter)1 BigDecimalStringConverter (com.alibaba.excel.converters.bigdecimal.BigDecimalStringConverter)1 BigIntegerBooleanConverter (com.alibaba.excel.converters.biginteger.BigIntegerBooleanConverter)1 BigIntegerNumberConverter (com.alibaba.excel.converters.biginteger.BigIntegerNumberConverter)1 BigIntegerStringConverter (com.alibaba.excel.converters.biginteger.BigIntegerStringConverter)1 BooleanBooleanConverter (com.alibaba.excel.converters.booleanconverter.BooleanBooleanConverter)1 BooleanNumberConverter (com.alibaba.excel.converters.booleanconverter.BooleanNumberConverter)1 BooleanStringConverter (com.alibaba.excel.converters.booleanconverter.BooleanStringConverter)1 ByteBooleanConverter (com.alibaba.excel.converters.byteconverter.ByteBooleanConverter)1 ByteNumberConverter (com.alibaba.excel.converters.byteconverter.ByteNumberConverter)1 ByteStringConverter (com.alibaba.excel.converters.byteconverter.ByteStringConverter)1 DateNumberConverter (com.alibaba.excel.converters.date.DateNumberConverter)1 DateStringConverter (com.alibaba.excel.converters.date.DateStringConverter)1 DoubleBooleanConverter (com.alibaba.excel.converters.doubleconverter.DoubleBooleanConverter)1 DoubleNumberConverter (com.alibaba.excel.converters.doubleconverter.DoubleNumberConverter)1 DoubleStringConverter (com.alibaba.excel.converters.doubleconverter.DoubleStringConverter)1 FloatBooleanConverter (com.alibaba.excel.converters.floatconverter.FloatBooleanConverter)1 FloatNumberConverter (com.alibaba.excel.converters.floatconverter.FloatNumberConverter)1 FloatStringConverter (com.alibaba.excel.converters.floatconverter.FloatStringConverter)1