Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addFieldMapping(CSVFieldMapping) - Method in class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Adds a new field mapping for this bean mapping.
C
- ClasspathResourceLoader - Class in net.sf.anupam.csv
-
Resolves classpath resources with a consistent loader fallback order.
- close() - Method in class net.sf.anupam.csv.CSVParser
-
Closes the parser.
- compareTo(FormatterConfiguration) - Method in class net.sf.anupam.csv.formatters.FormatterConfiguration
-
Compares this formatter configuration to another configuration for ordering purposes.
- compareTo(CSVFieldMapping) - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Compares this field mapping to another mapping.
- createFormatterFor(String) - Method in class net.sf.anupam.csv.formatters.CSVFormatterFactory
-
Creates a new instance of the specified formatter.
- CSVBeanMapping - Class in net.sf.anupam.csv.mapping
-
Represents the CSV to Java Bean mapping for a single Java bean.
- CSVBeanMapping() - Constructor for class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Constructor for CSVBeanMapping.
- CSVBeanMappingTaglet - Class in net.sf.anupam.csv.taglets
-
Taglet for outputting the CSV bean mapping information.
- CSVBeanMappingTaglet() - Constructor for class net.sf.anupam.csv.taglets.CSVBeanMappingTaglet
- CSVFieldFormatter - Interface in net.sf.anupam.csv.formatters
-
Main Interface for a CSV field formatter.
- CSVFieldMapping - Class in net.sf.anupam.csv.mapping
-
Represents a single CSV field to Java Bean attribute mapping.
- CSVFieldMapping() - Constructor for class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Constructor for CSVFieldMapping.
- CSVFieldMappingTaglet - Class in net.sf.anupam.csv.taglets
-
Taglet for outputting the field mapping tag information.
- CSVFieldMappingTaglet() - Constructor for class net.sf.anupam.csv.taglets.CSVFieldMappingTaglet
- CSVFormatterFactory - Class in net.sf.anupam.csv.formatters
-
A singleton factory which creates and caches the
csv field formatters. - CSVFormatterMappingTaglet - Class in net.sf.anupam.csv.taglets
-
Taglet for outputting the CSV Formatter tag's name attribute.
- CSVFormatterMappingTaglet() - Constructor for class net.sf.anupam.csv.taglets.CSVFormatterMappingTaglet
- CSVMappingParser - Class in net.sf.anupam.csv.mapping
-
XML Parser to parse and return the mapping configuration.
- CSVMappingParser() - Constructor for class net.sf.anupam.csv.mapping.CSVMappingParser
- CSVOException - Exception in net.sf.anupam.csv.exceptions
-
A checked exception for CSV Objects framework.
- CSVOException() - Constructor for exception net.sf.anupam.csv.exceptions.CSVOException
-
Default Constructor.
- CSVOException(String) - Constructor for exception net.sf.anupam.csv.exceptions.CSVOException
-
Constructor accepting a message string.
- CSVOException(String, Throwable) - Constructor for exception net.sf.anupam.csv.exceptions.CSVOException
-
Constructor accepting a message and a root cause exception to embed.
- CSVOException(Throwable) - Constructor for exception net.sf.anupam.csv.exceptions.CSVOException
-
Constructor accepting the root cause exception to embed.
- CSVParser - Class in net.sf.anupam.csv
-
Parses CSV files and creates the mapped POJO objects.
- CSVParser(CSVBeanMapping, CSVReader) - Constructor for class net.sf.anupam.csv.CSVParser
-
Constructor for CSVParser.
- CSVParserFactory - Class in net.sf.anupam.csv
-
Singleton factory for creating the
CSVParserparser objects for clients of the framework.
E
- equals(Object) - Method in class net.sf.anupam.csv.formatters.FormatterConfiguration
-
Compares this formatter configuration to another configuration for equality.
- equals(Object) - Method in class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Compares this bean mapping to another for equality.
- equals(Object) - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Compares this field mapping with another for equality.
F
- format(String) - Method in interface net.sf.anupam.csv.formatters.CSVFieldFormatter
-
Formats the specified CSV field value and returns the formatted result.
- FormatterConfiguration - Class in net.sf.anupam.csv.formatters
-
FormatConfiguration.
- FormatterConfiguration() - Constructor for class net.sf.anupam.csv.formatters.FormatterConfiguration
-
Constructor for FormatConfiguration.
G
- getAllowedLocations() - Method in class net.sf.anupam.csv.taglets.CSVBeanMappingTaglet
- getAllowedLocations() - Method in class net.sf.anupam.csv.taglets.CSVFieldMappingTaglet
- getAllowedLocations() - Method in class net.sf.anupam.csv.taglets.CSVFormatterMappingTaglet
- getAttributeName() - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Returns the mapped POJO bean's attribute name corresponding to this field.
- getBeanClass() - Method in class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Returns the mapped bean's fully qualified class name.
- getBeanMapping(String) - Method in class net.sf.anupam.csv.CSVParserFactory
-
Returns the requested bean mapping configuration.
- getBeanName() - Method in class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Returns the user defined name of the mapped bean.
- getBeanReference() - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Returns the referenced bean mapping, if one is present.
- getBeanReferenceName() - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Returns the declarative name of the referenced bean mapping for this field, or
nullif no bean mapping if referenced by this field. - getCSVParser(String, Reader) - Method in class net.sf.anupam.csv.CSVParserFactory
-
Returns a new CSV file parser for the specified mapping and the specified CSV reader stream.
- getCSVParser(String, String, boolean) - Method in class net.sf.anupam.csv.CSVParserFactory
-
Returns a new CSV file parser for the specified mapping, and the specified CSV file.
- getFieldName() - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Returns the user defined name of this field.
- getFieldPosition() - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Returns this field's position in the CSV line.
- getFieldType() - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Returns the fully qualified Java type name of this field.
- getFormatter() - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Returns the CSV formatter attached to this field.
- getFormatterClass() - Method in class net.sf.anupam.csv.formatters.FormatterConfiguration
-
Returns value of the formatterClass.
- getFormatterName() - Method in class net.sf.anupam.csv.formatters.FormatterConfiguration
-
Returns value of the formatName.
- getMappings(String, boolean) - Method in class net.sf.anupam.csv.mapping.CSVMappingParser
-
Returns the map of parsed mapping configuration beans.
- getMaxFieldPosition() - Method in class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Returns the maximum (i.e.
- getName() - Method in class net.sf.anupam.csv.taglets.CSVBeanMappingTaglet
- getName() - Method in class net.sf.anupam.csv.taglets.CSVFieldMappingTaglet
- getName() - Method in class net.sf.anupam.csv.taglets.CSVFormatterMappingTaglet
- getReformatterName() - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Returns the declarative name of the formatter attached to this field.
- getRootBeanMapping() - Method in class net.sf.anupam.csv.CSVParser
-
Returns the root bean mapping.
- getSingleton() - Static method in class net.sf.anupam.csv.CSVParserFactory
-
Returns the singleton instance of this factory.
- getSingleton() - Static method in class net.sf.anupam.csv.formatters.CSVFormatterFactory
-
Returns the singleton instance of this factory.
H
- hashCode() - Method in class net.sf.anupam.csv.formatters.FormatterConfiguration
-
Computes the hash code for this formatter configuration.
- hashCode() - Method in class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Returns the hash code for this bean mapping.
- hashCode() - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Returns the hash code for this field mapping.
I
- isConstructionNeeded() - Method in class net.sf.anupam.csv.formatters.FormatterConfiguration
-
Returns value of the constructionNeeded.
- isCsvHeaderPresent() - Method in class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Indicates whether a header row is present in the CSV mapping.
- isInlineTag() - Method in class net.sf.anupam.csv.taglets.CSVBeanMappingTaglet
- isInlineTag() - Method in class net.sf.anupam.csv.taglets.CSVFieldMappingTaglet
- isInlineTag() - Method in class net.sf.anupam.csv.taglets.CSVFormatterMappingTaglet
- iterator() - Method in class net.sf.anupam.csv.CSVParser
-
Returns the iterator for retrieving the parsed POJO beans.
- iterator() - Method in class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Provides an iterator over the CSV field mappings present in this bean mapping.
L
N
- net.sf.anupam.csv - package net.sf.anupam.csv
-
Provides the core CSV parsing and mapping framework.
- net.sf.anupam.csv.exceptions - package net.sf.anupam.csv.exceptions
- net.sf.anupam.csv.formatters - package net.sf.anupam.csv.formatters
-
Provides CSV field formatter interfaces and default implementations.
- net.sf.anupam.csv.mapping - package net.sf.anupam.csv.mapping
-
Internal mapping model and XML parser components for CSV-to-POJO mappings.
- net.sf.anupam.csv.taglets - package net.sf.anupam.csv.taglets
-
Custom Javadoc taglets for rendering
@csv.*mapping annotations in generated API documentation.
O
- open(String, Class<?>) - Static method in class net.sf.anupam.csv.ClasspathResourceLoader
-
Open a classpath resource using context loader, then anchor loader, then system loader.
S
- setAttributeName(String) - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Sets the mapped POJO's attribute name corresponding to this field.
- setBeanClass(String) - Method in class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Sets the mapped bean's fully qualified class name.
- setBeanName(String) - Method in class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Sets the mapped bean's user defined name.
- setBeanReference(CSVBeanMapping) - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Sets the referenced bean mapping for this field.
- setBeanReferenceName(String) - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Sets the declarative name of a referenced bean mapping for this field.
- setConstructionNeeded(boolean) - Method in class net.sf.anupam.csv.formatters.FormatterConfiguration
-
Sets value of the constructionNeeded.
- setCsvHeaderPresent(boolean) - Method in class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Sets the flag which indicates whether a header row is present in the mapped CSV file or stream.
- setFieldName(String) - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Sets the user defined name of this field.
- setFieldPosition(int) - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Sets this field's position in the CSV line.
- setFieldType(String) - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Sets the fully qualified Java type name of this field.
- setFormatter(CSVFieldFormatter) - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Sets the formatter attached to this field.
- setFormatterClass(String) - Method in class net.sf.anupam.csv.formatters.FormatterConfiguration
-
Sets value of the formatterClass.
- setFormatterName(String) - Method in class net.sf.anupam.csv.formatters.FormatterConfiguration
-
Sets value of the formatName.
- setReformatterName(String) - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Sets the declarative name of the formatter attached to this field.
T
- toString() - Method in class net.sf.anupam.csv.CSVParser
-
Dumps the root bean mapping configuration for this parser.
- toString() - Method in class net.sf.anupam.csv.formatters.FormatterConfiguration
-
Returns a string representation of this formatter configuration for debugging purposes only.
- toString() - Method in class net.sf.anupam.csv.mapping.CSVBeanMapping
-
Dumps content of the bean mapping.
- toString() - Method in class net.sf.anupam.csv.mapping.CSVFieldMapping
-
Dumps the contents of this field mapping as a string.
- toString(List<? extends DocTree>, Element) - Method in class net.sf.anupam.csv.taglets.CSVBeanMappingTaglet
- toString(List<? extends DocTree>, Element) - Method in class net.sf.anupam.csv.taglets.CSVFieldMappingTaglet
- toString(List<? extends DocTree>, Element) - Method in class net.sf.anupam.csv.taglets.CSVFormatterMappingTaglet
All Classes and Interfaces|All Packages|Serialized Form