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 voidStatefulBeanToCsv.beforeFirstWrite(T bean) Custodial tasks that must be performed before beans are written to a CSV destination for the first time.voidFuzzyMappingStrategy.captureHeader(CSVReader reader) voidHeaderNameBaseMappingStrategy.captureHeader(CSVReader reader) voidMappingStrategy.captureHeader(CSVReader reader) Implementation of this method can grab the header line before parsing begins to use to map columns to bean properties.protected StringAbstractBeanField.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 voidAbstractBeanField.setFieldValue(Object bean, String value, String header) protected voidAbstractMappingStrategy.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.voidBeanField.setFieldValue(Object bean, String value, String header) Populates the selected field of the bean.protected abstract voidAbstractMappingStrategy.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 voidColumnPositionMappingStrategy.verifyLineLength(int numberOfFields) voidHeaderNameBaseMappingStrategy.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.voidWrites an iterator of beans out to theWriterprovided to the constructor.voidWrites a list of beans out to theWriterprovided to the constructor.voidWrites a stream of beans out to theWriterprovided to the constructor.voidWrites a bean out to theWriterprovided to the constructor.