Package net.sf.anupam.csv.mapping
Class CSVMappingParser
java.lang.Object
net.sf.anupam.csv.mapping.CSVMappingParser
XML Parser to parse and return the mapping
configuration.
- Since:
- 1.8
- Version:
- $Revision$
- Author:
- Anupam Sengupta
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMappings(String xmlFileName, boolean inClassPath) Returns the map of parsed mapping configuration beans.
-
Constructor Details
-
CSVMappingParser
public CSVMappingParser()
-
-
Method Details
-
getMappings
Returns the map of parsed mapping configuration beans.- Parameters:
xmlFileName- the XML mapping configuration fileinClassPath- flag indicating whether the XML file is in the classpath- Returns:
- a map of CSV bean mappings. An empty map is returned if an error occurs
-