// Path: excel/src/main/java/com/bing/excel/converter/FieldValueConverter.java
// public interface FieldValueConverter extends ConverterMatcher {
// 	  OutValue toObject(Object source,ConverterHandler converterHandler);
// 	  Object fromString(String cell,ConverterHandler converterHandler,Type targetType);
// }


import com.bing.excel.converter.FieldValueConverter;
package com.bing.excel.mapper;


/**
 * @author shizhongtao
 * @version 1.0
 * @date 2018-2-22
 * @since JDK 1.8 文件名称：UserDefineMapperHandler.java 类说明：
 */
public class UserDefineMapperHandler implements ExcelConverterMapperHandler {


  private ConversionMapper objConversionMapper;


  public UserDefineMapperHandler(ConversionMapper conversionMapper) {

    this.objConversionMapper = conversionMapper;
  }

  public UserDefineMapperHandler(ConversionMapperBuilder conversionMapperBuilder) {

    this.objConversionMapper = conversionMapperBuilder.build();
    if (this.objConversionMapper == null) {
      throw new NullPointerException("objConversionMapper is null");

    }
  }

  @Override
  public ConversionMapper getObjConversionMapper() {
    return objConversionMapper;
  }

  /*
   * (non-Javadoc)
   *
   * @see com.chinamobile.excel.mapper.OrmMapper#getLocalConverter(java.lang.Class,
   * java.lang.String)
   */

  @Override
// Path: excel/src/main/java/com/bing/excel/converter/FieldValueConverter.java
// public interface FieldValueConverter extends ConverterMatcher {
// 	  OutValue toObject(Object source,ConverterHandler converterHandler);
// 	  Object fromString(String cell,ConverterHandler converterHandler,Type targetType);
// }


// Path: excel/src/main/java/com/bing/excel/mapper/UserDefineMapperHandler.java
import com.bing.excel.converter.FieldValueConverter;

package com.bing.excel.mapper;


/**
 * @author shizhongtao
 * @version 1.0
 * @date 2018-2-22
 * @since JDK 1.8 文件名称：UserDefineMapperHandler.java 类说明：
 */
public class UserDefineMapperHandler implements ExcelConverterMapperHandler {


  private ConversionMapper objConversionMapper;


  public UserDefineMapperHandler(ConversionMapper conversionMapper) {

    this.objConversionMapper = conversionMapper;
  }

  public UserDefineMapperHandler(ConversionMapperBuilder conversionMapperBuilder) {

    this.objConversionMapper = conversionMapperBuilder.build();
    if (this.objConversionMapper == null) {
      throw new NullPointerException("objConversionMapper is null");

    }
  }

  @Override
  public ConversionMapper getObjConversionMapper() {
    return objConversionMapper;
  }

  /*
   * (non-Javadoc)
   *
   * @see com.chinamobile.excel.mapper.OrmMapper#getLocalConverter(java.lang.Class,
   * java.lang.String)
   */

  @Override
  public FieldValueConverter getLocalConverter(Class definedIn,