| |
|
| java.lang.Object org.igfay.jfig.JFigParser
All known Subclasses: org.igfay.jfig.XMLJFigParser, org.igfay.jfig.IniJFigParser,
JFigParser | abstract public class JFigParser (Code) | | Abstract class to parse a configuration file. Concrete classes parse either
XML or INI file. This class contains common logic to resolve symbolic and
property variables.
author: bconrad |
Constructor Summary | |
public | JFigParser(JFig config, JFigLocatorIF jfigLocator) Constructor to allow user to override configFileName default. |
JFigParser | public JFigParser(JFig config, JFigLocatorIF jfigLocator)(Code) | | Constructor to allow user to override configFileName default.
Get the location from ConfigLocator
Parameters: configFileName - Description of Parameter |
addPropertyValues | protected void addPropertyValues()(Code) | | |
getAllConfigFiles | public Map getAllConfigFiles()(Code) | | Returns the allConfigFiles.
List |
getRegexPropertyVariable | protected static Pattern getRegexPropertyVariable()(Code) | | |
processConfig | abstract protected boolean processConfig() throws JFigException(Code) | | processConfig
Description of the Returned Value exception: JFigException - Description of Exception |
resolveSymbolicValues | protected void resolveSymbolicValues() throws JFigException(Code) | | Resolve symbolic values in the configuration. This method is
called after all configuration files have been parsed.
Iterate through the dictionary and resolve values for each section/key.
|
setConfig | public void setConfig(JFig config)(Code) | | Parameters: config - |
|
|
|