![JAR search and dependency download from the Maven repository](/logo.png)
org.igfay.jfig.IniJFigParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jfig Show documentation
Show all versions of jfig Show documentation
A Configuration utility that provides simple, flexible and powerful functionality for managing one or more configurations in a java environment. It uses a combination of a hierarchy of configuration files, substitution variables and property variables.
The newest version!
package org.igfay.jfig;
import org.apache.log4j.Logger;
/**
* @author conrad4
*
* IniConfigParser is intended to process configuration files in INI format. It
* is a concrete implementation of ConfigParser (except that it's not
* implemented).
*
* If there is a need to use this class, it would not take long to convert a
* previous version to run with the jakarta regular expression package.
*/
public class IniJFigParser extends JFigParser {
private static Logger logger = Logger.getLogger(IniJFigParser.class);
/**
* Constructor for IniConfigParser.
* @param configFileName
*/
public IniJFigParser(JFig config, JFigLocatorIF jfigLocator) {
super(config, jfigLocator);
}
/**
* Constructor for IniConfigParser.
* @param configFileName
*/
// public IniJFigParser(JFig config, String configFileName) {
// super(config, configFileName);
// }
//
// /**
// * Constructor for IniConfigParser.
// * @param configFileName
// * @param configLocation
// */
// public IniJFigParser(JFig config, String configFileName, String configLocation) {
// super(config, configFileName, configLocation);
// }
/**
* @see gov.llnl.ais.util.config.ConfigParser#processConfig()
*/
protected boolean processConfig() throws JFigException {
String msg = "Ini file processing not currently implemented.";
logger.debug(msg);
throw new JFigException(msg);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy