public interface FlatFileSpecification
Modifier and Type | Method and Description |
---|---|
Class<?> |
determineClassForLine(String line)
Determines the Class of the business object that the given line should be parsed into
|
FlatFileObjectSpecification |
getObjectSpecification(Class<?> businessObjectClass)
Retrieves the FlatFilePrefixObjectSpecification specifically associated with a given class
|
List<FlatFileObjectSpecification> |
getObjectSpecifications() |
void |
parseLineIntoObject(FlatFileObjectSpecification parseSpecification,
String lineToParse,
Object parseIntoObject,
int lineNumber)
Parses the current line of the flat file into a business object
|
List<FlatFileObjectSpecification> getObjectSpecifications()
FlatFileObjectSpecification getObjectSpecification(Class<?> businessObjectClass)
businessObjectClass
- the class of a business object which will be parsed intoClass<?> determineClassForLine(String line)
line
- the current line of the flat file parser being parsedvoid parseLineIntoObject(FlatFileObjectSpecification parseSpecification, String lineToParse, Object parseIntoObject, int lineNumber)
parseSpecification
- the specification explaining how to parse the line into the business objectlineToParse
- the current line being parsedparseIntoObject
- the target object to parse intolineNumber
- the current line numberCopyright © 2004–2015 The Kuali Foundation. All rights reserved.