KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > igfay > jfig > IniJFigParser


1 package org.igfay.jfig;
2
3 import org.apache.log4j.Logger;
4
5 /**
6  * @author conrad4
7  *
8  * IniConfigParser is intended to process configuration files in INI format. It
9  * 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.getLogger(IniJFigParser.class);
18     /**
19      * Constructor for IniConfigParser.
20      * @param configFileName
21      */

22     public IniJFigParser(JFig config, JFigLocatorIF jfigLocator) {
23         super(config, jfigLocator);
24     }
25     /**
26      * Constructor for IniConfigParser.
27      * @param configFileName
28      */

29 // public IniJFigParser(JFig config, String configFileName) {
30
// super(config, configFileName);
31
// }
32
//
33
// /**
34
// * Constructor for IniConfigParser.
35
// * @param configFileName
36
// * @param configLocation
37
// */
38
// public IniJFigParser(JFig config, String configFileName, String configLocation) {
39
// super(config, configFileName, configLocation);
40
// }
41

42     /**
43      * @see gov.llnl.ais.util.config.ConfigParser#processConfig()
44      */

45     protected boolean processConfig() throws JFigException {
46         String JavaDoc msg = "Ini file processing not currently implemented.";
47         logger.debug(msg);
48         throw new JFigException(msg);
49     }
50
51 }
52
Popular Tags