01: package org.igfay.jfig;
02:
03: import org.apache.log4j.Logger;
04:
05: /**
06: * @author conrad4
07: *
08: * IniConfigParser is intended to process configuration files in INI format. It
09: * is a concrete implementation of ConfigParser (except that it's not
10: * implemented).
11: *
12: * If there is a need to use this class, it would not take long to convert a
13: * previous version to run with the jakarta regular expression package.
14: */
15: public class IniJFigParser extends JFigParser {
16:
17: private static Logger logger = Logger
18: .getLogger(IniJFigParser.class);
19:
20: /**
21: * Constructor for IniConfigParser.
22: * @param configFileName
23: */
24: public IniJFigParser(JFig config, JFigLocatorIF jfigLocator) {
25: super (config, jfigLocator);
26: }
27:
28: /**
29: * Constructor for IniConfigParser.
30: * @param configFileName
31: */
32: // public IniJFigParser(JFig config, String configFileName) {
33: // super(config, configFileName);
34: // }
35: //
36: // /**
37: // * Constructor for IniConfigParser.
38: // * @param configFileName
39: // * @param configLocation
40: // */
41: // public IniJFigParser(JFig config, String configFileName, String configLocation) {
42: // super(config, configFileName, configLocation);
43: // }
44: /**
45: * @see gov.llnl.ais.util.config.ConfigParser#processConfig()
46: */
47: protected boolean processConfig() throws JFigException {
48: String msg = "Ini file processing not currently implemented.";
49: logger.debug(msg);
50: throw new JFigException(msg);
51: }
52:
53: }
|