CSVObjects Framework

net.sf.anupam.csv.formatters
Class CSVFormatterConfigParser

java.lang.Object
  extended by 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

Method Summary
static CSVFormatterConfigParser getConfigParser()
           
 Map<String,FormatterConfiguration> getFormatMappings(String xmlFileName, boolean inClassPath)
          Returns the map of parsed format configuration beans.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFormatMappings

public Map<String,FormatterConfiguration> getFormatMappings(String xmlFileName,
                                                            boolean inClassPath)
Returns the map of parsed format configuration beans.

Parameters:
xmlFileName - the XML mapping configuration file
inClassPath - 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()

SourceForge.net Logo

© Anupam Sengupta 2005