net.sf.anupam.csv.formatters
Class CSVFormatterConfigParser
java.lang.Object
net.sf.anupam.csv.formatters.CSVFormatterConfigParser
class CSVFormatterConfigParser
- extends Object
XML Parser (based on Commons Digester) to parse and return the CSV formatter configuration. This is for internal use
within the framwork.
- Since:
- 1.5
- Version:
- $Revision: 1.3 $
- Author:
- Anupam Sengupta
- See Also:
Digester
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getFormatMappings
public Map<String,FormatterConfiguration> getFormatMappings(String xmlFileName,
boolean inClassPath)
- Returns the map of parsed format configuration beans.
- Parameters:
xmlFileName
- the XML mapping configuration fileinClassPath
- flag indicating whether the XML file is in the classpath
- Returns:
- a map of format mappings. An empty map is returned if an error occurs
getConfigParser
public static CSVFormatterConfigParser getConfigParser()
© Anupam Sengupta 2005