org.jconfig.parser
Class ConfigurationParserFactory

java.lang.Object
  extended byorg.jconfig.parser.ConfigurationParserFactory

public class ConfigurationParserFactory
extends java.lang.Object

The ConfigurationParserFactory determines which configuration parser for the specified configuration should be used. This can be defined in the jconfig.properties or as system property.
The jconfig.properties must contain a property called "parser.{configname}" (to define the parser for a specific configuration) or a property "parser". This property must contain the fully qualified class name of the parser
If no jconfig.properties are found it will look for a system property called "jconfig.parser".
If nothing is found then it will use the DefaultConfigParser

Author:
Andreas Mecky andreas.mecky@xcom.de, Terry Dye terry.dye@xcom.de

Method Summary
static ConfigurationParser getParser(java.lang.String configName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParser

public static ConfigurationParser getParser(java.lang.String configName)


Copyright © 2001-2005 Andreas Mecky, Terry Dye. All Rights Reserved.