Uses of Class
com.opencsv.exceptions.CsvRequiredFieldEmptyException

Package
Description
A bean binding interface for use with opencsv.
  • Uses of CsvRequiredFieldEmptyException in com.opencsv.bean

    Modifier and Type
    Method
    Description
    private void
    StatefulBeanToCsv.beforeFirstWrite(T bean)
    Custodial tasks that must be performed before beans are written to a CSV destination for the first time.
    void
    FuzzyMappingStrategy.captureHeader(CSVReader reader)
     
    void
    HeaderNameBaseMappingStrategy.captureHeader(CSVReader reader)
     
    void
    MappingStrategy.captureHeader(CSVReader reader)
    Implementation of this method can grab the header line before parsing begins to use to map columns to bean properties.
    protected String
    AbstractBeanField.convertToWrite(Object value)
    This is the method that actually performs the conversion from field to string for AbstractBeanField.write(java.lang.Object, java.lang.Object) and should be overridden in derived classes.
    AbstractMappingStrategy.generateHeader(T bean)
    This method generates a header that can be used for writing beans of the type provided back to a file.
    ColumnPositionMappingStrategy.generateHeader(T bean)
    This method returns an empty array.
    FieldMap.generateHeader(T bean)
    This method generates a header that can be used for writing beans of the type provided back to a file.
    FieldMapByName.generateHeader(T bean)
    This method generates a header that can be used for writing beans of the type provided back to a file.
    FieldMapByPosition.generateHeader(T bean)
    This method generates a header that can be used for writing beans of the type provided back to a file.
    MappingStrategy.generateHeader(T bean)
    Implementations of this method must return an array of column headers based on the contents of the mapping strategy.
    final void
    AbstractBeanField.setFieldValue(Object bean, String value, String header)
     
    protected void
    AbstractMappingStrategy.setFieldValue(Map<Class<?>,Object> beanTree, String value, int column)
    Populates the field corresponding to the column position indicated of the bean passed in according to the rules of the mapping strategy.
    void
    BeanField.setFieldValue(Object bean, String value, String header)
    Populates the selected field of the bean.
    protected abstract void
    AbstractMappingStrategy.verifyLineLength(int numberOfFields)
    Must be called once the length of input for a line/record is known to verify that the line was complete.
    protected void
    ColumnPositionMappingStrategy.verifyLineLength(int numberOfFields)
     
    void
    HeaderNameBaseMappingStrategy.verifyLineLength(int numberOfFields)
     
    final String[]
    AbstractBeanField.write(Object bean, I index)
    This method takes the current value of the field in question in the bean passed in and converts it to a string.
    BeanField.write(Object bean, I index)
    This method takes the current value of the field in question in the bean passed in and converts it to one or more strings.
    void
    StatefulBeanToCsv.write(Iterator<T> iBeans)
    Writes an iterator of beans out to the Writer provided to the constructor.
    void
    StatefulBeanToCsv.write(List<T> beans)
    Writes a list of beans out to the Writer provided to the constructor.
    void
    StatefulBeanToCsv.write(Stream<T> beans)
    Writes a stream of beans out to the Writer provided to the constructor.
    void
    StatefulBeanToCsv.write(T bean)
    Writes a bean out to the Writer provided to the constructor.