Uses of Class
com.opencsv.exceptions.CsvRequiredFieldEmptyException
Packages that use CsvRequiredFieldEmptyException
-
Uses of CsvRequiredFieldEmptyException in com.opencsv.bean
Methods in com.opencsv.bean that throw CsvRequiredFieldEmptyExceptionModifier and TypeMethodDescriptionprivate 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 forAbstractBeanField.write(java.lang.Object, java.lang.Object)
and should be overridden in derived classes.String[]
AbstractMappingStrategy.generateHeader
(T bean) This method generates a header that can be used for writing beans of the type provided back to a file.String[]
ColumnPositionMappingStrategy.generateHeader
(T bean) This method returns an empty array.String[]
FieldMap.generateHeader
(T bean) This method generates a header that can be used for writing beans of the type provided back to a file.String[]
FieldMapByName.generateHeader
(T bean) This method generates a header that can be used for writing beans of the type provided back to a file.String[]
FieldMapByPosition.generateHeader
(T bean) This method generates a header that can be used for writing beans of the type provided back to a file.String[]
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[]
This method takes the current value of the field in question in the bean passed in and converts it to a string.String[]
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
Writes an iterator of beans out to theWriter
provided to the constructor.void
Writes a list of beans out to theWriter
provided to the constructor.void
Writes a stream of beans out to theWriter
provided to the constructor.void
Writes a bean out to theWriter
provided to the constructor.