Uses of Interface
org.csveed.bean.BeanInstructions
Package
Description
The main interface of interaction with CSVeed for a developer.
The package responsible for converting Rows to Beans.
-
Uses of BeanInstructions in org.csveed.api
ModifierConstructorDescriptionCsvClientImpl
(Reader reader, BeanInstructions beanInstructions) Instantiates a new csv client impl.CsvClientImpl
(Writer writer, BeanInstructions beanInstructions) Instantiates a new csv client impl. -
Uses of BeanInstructions in org.csveed.bean
Modifier and TypeFieldDescriptionprotected BeanInstructions
AbstractMapper.beanInstructions
The bean instructions.Modifier and TypeMethodDescriptionBeanParser.getBeanInstructions
(Class beanClass) Gets the bean instructions.BeanReader.getBeanInstructions()
The set of instructions for dealing with beans.BeanReaderImpl.getBeanInstructions()
BeanInstructions.ignoreProperty
(String propertyName) Sets a field to be ignored for purposes of mapping.BeanInstructionsImpl.ignoreProperty
(String propertyName) BeanInstructions.mapColumnIndexToProperty
(int columnIndex, String propertyName) Maps a column in the CSV to a specific property.BeanInstructionsImpl.mapColumnIndexToProperty
(int columnIndex, String propertyName) BeanInstructions.mapColumnNameToProperty
(String columnName, String propertyName) Maps a column name (which is found in the header) to a specific property.BeanInstructionsImpl.mapColumnNameToProperty
(String columnName, String propertyName) BeanInstructions.setComment
(char symbol) Sets the character that will be interpreted as a comment field on the first position of a row.BeanInstructionsImpl.setComment
(char symbol) BeanInstructions.setConverter
(String propertyName, Converter converter) Sets a customPropertyEditor
for the property.BeanInstructionsImpl.setConverter
(String propertyName, Converter converter) Determines what dateformat to apply to the cell value before storing it as a date.BeanInstructions.setEndOfLine
(char[] symbols) Sets the characters (plural) that will be interpreted as end-of-line markers (unless within a quoted field).BeanInstructionsImpl.setEndOfLine
(char[] symbols) BeanInstructions.setEscape
(char symbol) Sets the character that will be interpreted as an escape symbol while within a quoted field.BeanInstructionsImpl.setEscape
(char symbol) BeanInstructions.setHeaderNameToProperty
(String propertyName) Determines what property will receive the header name in the currently active dynamic column.BeanInstructionsImpl.setHeaderNameToProperty
(String propertyName) BeanInstructions.setHeaderValueToProperty
(String propertyName) Determines what property will receive the cell value in the currently active dynamic column.BeanInstructionsImpl.setHeaderValueToProperty
(String propertyName) BeanInstructions.setLocalizedNumber
(String propertyName, Locale locale) Determines what Locale to apply to the cell value before converting it to a number.BeanInstructionsImpl.setLocalizedNumber
(String propertyName, Locale locale) BeanInstructions.setMapper
(Class<? extends AbstractMapper> mapper) Determines which mapping strategy is to be employed for mapping cells to bean properties.BeanInstructionsImpl.setMapper
(Class<? extends AbstractMapper> mapper) BeanInstructions.setQuote
(char symbol) Sets the character that will be interpreted as a quote symbol, signifying either the start or the end of a quoted field.BeanInstructionsImpl.setQuote
(char symbol) BeanInstructions.setQuotingEnabled
(boolean enabled) Sets whether or not quotes are written around the field values.BeanInstructionsImpl.setQuotingEnabled
(boolean enabled) BeanInstructions.setRequired
(String propertyName, boolean required) Determines if the field is required.BeanInstructionsImpl.setRequired
(String propertyName, boolean required) BeanInstructions.setSeparator
(char symbol) Sets the character that will be interpreted as a separator between cells.BeanInstructionsImpl.setSeparator
(char symbol) BeanInstructions.setStartIndexDynamicColumns
(int startIndex) A file can have a special layout with a dynamic number of columns.BeanInstructionsImpl.setStartIndexDynamicColumns
(int startIndex) BeanInstructions.setStartRow
(int startRow) Sets the start row of the CSV file.BeanInstructionsImpl.setStartRow
(int startRow) BeanInstructions.setUseHeader
(boolean useHeader) Makes sure that the first readable line is interpreted as the header line.BeanInstructionsImpl.setUseHeader
(boolean useHeader) BeanInstructions.skipCommentLines
(boolean skip) Determines whether comment lines must be skipped.BeanInstructionsImpl.skipCommentLines
(boolean skip) BeanInstructions.skipEmptyLines
(boolean skip) Determines whether empty lines must be skipped or treated as single-column rows.BeanInstructionsImpl.skipEmptyLines
(boolean skip) Modifier and TypeMethodDescriptionvoid
AbstractMapper.setBeanInstructions
(BeanInstructions beanInstructions) Sets the bean instructions.ModifierConstructorDescriptionBeanReaderImpl
(Reader reader, BeanInstructions beanInstructions) Instantiates a new bean reader impl.BeanWriterImpl
(Writer writer, BeanInstructions beanInstructions) Instantiates a new bean writer impl.