Class EmptyToNullConverter<T>

java.lang.Object
com.opencsv.bean.AbstractBeanField<T,String>
org.cardanofoundation.lob.app.organisation.service.csv.EmptyToNullConverter<T>
All Implemented Interfaces:
com.opencsv.bean.BeanField<T,String>

public class EmptyToNullConverter<T> extends com.opencsv.bean.AbstractBeanField<T,String>
  • Field Summary

    Fields inherited from class com.opencsv.bean.AbstractBeanField

    converter, errorLocale, field, fieldAccess, required, type
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
    convert(String value)
     

    Methods inherited from class com.opencsv.bean.AbstractBeanField

    assignValueToField, convertToWrite, getErrorLocale, getField, getFieldValue, getType, indexAndSplitMultivaluedField, isFieldEmptyForWrite, isRequired, setErrorLocale, setField, setFieldValue, setRequired, setType, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EmptyToNullConverter

      public EmptyToNullConverter()
  • Method Details

    • convert

      protected Object convert(String value) throws com.opencsv.exceptions.CsvDataTypeMismatchException, com.opencsv.exceptions.CsvConstraintViolationException
      Specified by:
      convert in class com.opencsv.bean.AbstractBeanField<T,String>
      Throws:
      com.opencsv.exceptions.CsvDataTypeMismatchException
      com.opencsv.exceptions.CsvConstraintViolationException