A B C D E F G I M N O P R S V W

A

ARGUMENT_TOKEN - Static variable in class com.projectnine.csvmapper.CsvToObjectMapper
JEXL expressions for property names in the CsvFieldMapping should include this token somewhere.

B

BigDecimalCsvFieldFormatter - Class in com.projectnine.csvmapper
Format the String value from the CSV file to a BigDecimal.
BigDecimalCsvFieldFormatter() - Constructor for class com.projectnine.csvmapper.BigDecimalCsvFieldFormatter
 

C

clone() - Method in class com.projectnine.csvmapper.CsvFieldMapping
 
com.projectnine.csvmapper - package com.projectnine.csvmapper
 
convertObjectToCsv(Object, String) - Static method in class com.projectnine.csvmapper.ObjectToCsvMapper
 
createHeader(String) - Static method in class com.projectnine.csvmapper.ObjectToCsvMapper
 
CsvFieldFormatter - Interface in com.projectnine.csvmapper
Format the String value from the CSV file to some other Object.
CsvFieldMapping - Class in com.projectnine.csvmapper
This class represents the mapping between one CSV field and one property of an Object.
CsvFieldMapping() - Constructor for class com.projectnine.csvmapper.CsvFieldMapping
 
CsvFieldValidationContext - Class in com.projectnine.csvmapper
This is the context that is passed between CsvFieldValidator in the same Chain.
CsvFieldValidationContext() - Constructor for class com.projectnine.csvmapper.CsvFieldValidationContext
 
CsvFieldValidator - Class in com.projectnine.csvmapper
A CsvFieldValidator may be used to validate that the value of a CSV field falls within certain parameters.
CsvFieldValidator() - Constructor for class com.projectnine.csvmapper.CsvFieldValidator
 
CsvMappingDefinition - Class in com.projectnine.csvmapper
This class is a simple construct for holding a List of CsvFieldMappings and generating new instances of the Class that the CSV record is declared to represent.
CsvMappingDefinition() - Constructor for class com.projectnine.csvmapper.CsvMappingDefinition
 
csvMappingDefinitions - Static variable in class com.projectnine.csvmapper.CsvToObjectMapper
All of the mapping definitions that are available to you.
CsvToObjectMapper - Class in com.projectnine.csvmapper
This class is the only class in which users should be directly interested.
CsvToObjectMapper() - Constructor for class com.projectnine.csvmapper.CsvToObjectMapper
Default constructor.
CsvToObjectMapper(Resource, boolean, String) - Constructor for class com.projectnine.csvmapper.CsvToObjectMapper
This constructor is pretty useful.
CurrentXmlGregorianCalendarFieldFormatter - Class in com.projectnine.csvmapper
Convert a String into a XMLGregorianCalendar.
CurrentXmlGregorianCalendarFieldFormatter() - Constructor for class com.projectnine.csvmapper.CurrentXmlGregorianCalendarFieldFormatter
 

D

doValidate(CsvFieldValidationContext) - Method in class com.projectnine.csvmapper.CsvFieldValidator
 
doValidate(CsvFieldValidationContext) - Method in class com.projectnine.csvmapper.NoopCsvFieldValidator
 
doValidate(CsvFieldValidationContext) - Method in class com.projectnine.csvmapper.NoSpecialCharacterCsvFieldValidator
Deprecated.  
doValidate(CsvFieldValidationContext) - Method in class com.projectnine.csvmapper.PostalCodeCsvFieldValidator
Deprecated.  
doValidate(CsvFieldValidationContext) - Method in class com.projectnine.csvmapper.RegularExpressionCsvFieldValidator
 

E

evaluate(JexlContext, String) - Method in class com.projectnine.csvmapper.PoundDefineJexlResolver
 
execute(Context) - Method in class com.projectnine.csvmapper.CsvFieldValidator
Child classes should invoke superCsvFieldValidator.execute(Context) in order to access simple progress tracking of the Context through a Chain of CsvFieldValidators.

F

formatObject(Object) - Method in class com.projectnine.csvmapper.BigDecimalCsvFieldFormatter
 
formatObject(Object) - Method in interface com.projectnine.csvmapper.CsvFieldFormatter
Converts an Object to a String.
formatObject(Object) - Method in class com.projectnine.csvmapper.CurrentXmlGregorianCalendarFieldFormatter
 
formatObject(Object) - Method in class com.projectnine.csvmapper.NoopCsvFieldFormatter
 
formatObject(Object) - Method in class com.projectnine.csvmapper.StringToTrimmedStringCsvFieldFormatter
 
formatString(String) - Method in class com.projectnine.csvmapper.BigDecimalCsvFieldFormatter
If the CSV String value is non-numeric, an Exception will be thrown here.
formatString(String) - Method in interface com.projectnine.csvmapper.CsvFieldFormatter
This method converts the String to an Object.
formatString(String) - Method in class com.projectnine.csvmapper.CurrentXmlGregorianCalendarFieldFormatter
If conversion fails due to a DatatypeConfigurationException, just return null.
formatString(String) - Method in class com.projectnine.csvmapper.NoopCsvFieldFormatter
I suppose that if the rawPropertyValue is null, an Exception will be thrown.
formatString(String) - Method in class com.projectnine.csvmapper.StringToTrimmedStringCsvFieldFormatter
 

G

generateNextObjectFromCsv() - Method in class com.projectnine.csvmapper.CsvToObjectMapper
Generate the next Object from CSV.
getBeanName() - Method in class com.projectnine.csvmapper.CsvFieldMapping
 
getBeanVariableName() - Method in class com.projectnine.csvmapper.CsvMappingDefinition
 
getColumnIndex() - Method in class com.projectnine.csvmapper.CsvFieldMapping
Get the value of the column index.
getCsvFieldHeader() - Method in class com.projectnine.csvmapper.CsvFieldMapping
 
getCsvFieldValueFromObject(Object) - Method in class com.projectnine.csvmapper.CsvFieldMapping
This method returns the "adjusted" (post validation and formatting) property value.
getCsvToObjectExpression() - Method in class com.projectnine.csvmapper.CsvFieldMapping
 
getCurrentCsvLine() - Method in class com.projectnine.csvmapper.CsvFieldValidationContext
 
getCurrentLineNumber() - Method in class com.projectnine.csvmapper.CsvToObjectMapper
On what line number is the csvReader?
getCurrentValidationCommandName() - Method in class com.projectnine.csvmapper.CsvFieldValidationContext
Get the String used to track the progress of this context through a Chain of CsvFieldValidators.
getExpectedNumberOfFields() - Method in class com.projectnine.csvmapper.CsvMappingDefinition
 
getExtendedContext() - Method in class com.projectnine.csvmapper.CsvMappingDefinition
 
getFieldMappings() - Method in class com.projectnine.csvmapper.CsvMappingDefinition
Get the list of CsvFieldMappings.
getGeneratedObject() - Method in class com.projectnine.csvmapper.CsvFieldValidationContext
 
getNewBeanInstance() - Method in class com.projectnine.csvmapper.CsvMappingDefinition
Get a new instance of the Class represented by CsvMappingDefinition.beanClassName.
getObjectToCsvExpression() - Method in class com.projectnine.csvmapper.CsvFieldMapping
 
getObjectValueFromCsvField(String, Object, List<String>) - Method in class com.projectnine.csvmapper.CsvFieldMapping
This method returns the "adjusted" (post validation and formatting) property value.
getValueToValidate() - Method in class com.projectnine.csvmapper.CsvFieldValidationContext
 

I

init(Resource, boolean, String) - Method in class com.projectnine.csvmapper.CsvToObjectMapper
Initializes the object by setting the mappingDefinition and instantiating the csvReader.
INTERNAL_QUOTATION_MARK - Static variable in class com.projectnine.csvmapper.PoundDefineJexlResolver
 

M

main(String[]) - Static method in class com.projectnine.csvmapper.CsvToObjectMapper
 
main(String[]) - Static method in class com.projectnine.csvmapper.PostalCodeCsvFieldValidator
Deprecated.  
main(String[]) - Static method in class com.projectnine.csvmapper.PoundDefineJexlResolver
 

N

NoopCsvFieldFormatter - Class in com.projectnine.csvmapper
This returns whatever it is given.
NoopCsvFieldFormatter() - Constructor for class com.projectnine.csvmapper.NoopCsvFieldFormatter
 
NoopCsvFieldValidator - Class in com.projectnine.csvmapper
Promiscuous Validator.
NoopCsvFieldValidator() - Constructor for class com.projectnine.csvmapper.NoopCsvFieldValidator
 
NoSpecialCharacterCsvFieldValidator - Class in com.projectnine.csvmapper
Deprecated. Use a RegularExpressionCsvFieldValidator with a regular expression of "^[^\!\@\%\&\*\~\?\<\>]*$"
NoSpecialCharacterCsvFieldValidator() - Constructor for class com.projectnine.csvmapper.NoSpecialCharacterCsvFieldValidator
Deprecated.  

O

ObjectToCsvMapper - Class in com.projectnine.csvmapper
 
ObjectToCsvMapper(String, String) - Constructor for class com.projectnine.csvmapper.ObjectToCsvMapper
 

P

PostalCodeCsvFieldValidator - Class in com.projectnine.csvmapper
Deprecated. Use RegularExpressionCsvFieldValidator with a regular expression of "^\\d{5}\\p{Punct}?\\s?(?:\\d{4})?$" instead.
PostalCodeCsvFieldValidator() - Constructor for class com.projectnine.csvmapper.PostalCodeCsvFieldValidator
Deprecated.  
POUND_DEFINE_EXPRESSION_START - Static variable in class com.projectnine.csvmapper.PoundDefineJexlResolver
 
PoundDefineJexlResolver - Class in com.projectnine.csvmapper
A custom variable resolver that performs default variable resolution.
PoundDefineJexlResolver() - Constructor for class com.projectnine.csvmapper.PoundDefineJexlResolver
 

R

RegularExpressionCsvFieldValidator - Class in com.projectnine.csvmapper
Give this CsvFieldValidator one or more regular expressions, and it will not allow a String that fails any of them to pass validation.
RegularExpressionCsvFieldValidator() - Constructor for class com.projectnine.csvmapper.RegularExpressionCsvFieldValidator
 

S

seek(long) - Method in class com.projectnine.csvmapper.CsvToObjectMapper
Move the cursor of the csvReader to the specified line number.
setBeanClassName(String) - Method in class com.projectnine.csvmapper.CsvMappingDefinition
 
setBeanName(String) - Method in class com.projectnine.csvmapper.CsvFieldMapping
 
setBeanVariableName(String) - Method in class com.projectnine.csvmapper.CsvMappingDefinition
 
setColumnIndex(int) - Method in class com.projectnine.csvmapper.CsvFieldMapping
 
setCsvFieldHeader(String) - Method in class com.projectnine.csvmapper.CsvFieldMapping
 
setCsvMappingDefinitions(Map<String, CsvMappingDefinition>) - Method in class com.projectnine.csvmapper.CsvToObjectMapper
 
setCsvToObjectExpression(String) - Method in class com.projectnine.csvmapper.CsvFieldMapping
 
setCurrentCsvLine(List<String>) - Method in class com.projectnine.csvmapper.CsvFieldValidationContext
Set the list of every other CSV field value on the same line as the CSV Field value that will be validated.
setCurrentValidationCommandName(String) - Method in class com.projectnine.csvmapper.CsvFieldValidationContext
Set the String used to track the progress of this context through a Chain of CsvFieldValidators.
setDateFormat(String) - Method in class com.projectnine.csvmapper.CurrentXmlGregorianCalendarFieldFormatter
 
setExpectedNumberOfFields(int) - Method in class com.projectnine.csvmapper.CsvMappingDefinition
 
setExtendedContext(Map<String, String>) - Method in class com.projectnine.csvmapper.CsvMappingDefinition
 
setFieldMappings(List<CsvFieldMapping>) - Method in class com.projectnine.csvmapper.CsvMappingDefinition
 
setFormatter(CsvFieldFormatter) - Method in class com.projectnine.csvmapper.CsvFieldMapping
 
setGeneratedObject(Object) - Method in class com.projectnine.csvmapper.CsvFieldValidationContext
Set the Object to which the CSV Field value will be stored once it has been validated and adjusted.
setObjectToCsvExpression(String) - Method in class com.projectnine.csvmapper.CsvFieldMapping
 
setRegularExpression(String) - Method in class com.projectnine.csvmapper.RegularExpressionCsvFieldValidator
 
setRegularExpressions(List<String>) - Method in class com.projectnine.csvmapper.RegularExpressionCsvFieldValidator
 
setRequired(boolean) - Method in class com.projectnine.csvmapper.CsvFieldValidator
 
setValidationCommand(Command) - Method in class com.projectnine.csvmapper.CsvFieldMapping
 
setValueToValidate(String) - Method in class com.projectnine.csvmapper.CsvFieldValidationContext
 
StringToTrimmedStringCsvFieldFormatter - Class in com.projectnine.csvmapper
This CsvFieldFormatter returns the same String it is given except that the white space on either extremity has been removed.
StringToTrimmedStringCsvFieldFormatter() - Constructor for class com.projectnine.csvmapper.StringToTrimmedStringCsvFieldFormatter
 

V

ValidationException - Exception in com.projectnine.csvmapper
Thrown when a CSV FIeld cannot be validated.
ValidationException(String) - Constructor for exception com.projectnine.csvmapper.ValidationException
 

W

writeObjectsToCsv(List<? extends Object>) - Method in class com.projectnine.csvmapper.ObjectToCsvMapper
 
writeObjectsToCsv(List<? extends Object>, boolean) - Method in class com.projectnine.csvmapper.ObjectToCsvMapper
 

A B C D E F G I M N O P R S V W

Copyright © 2008. All Rights Reserved.