public class ParserConfigFile
extends java.lang.Object
CfgData. Only this is used then.| Modifier and Type | Field and Description |
|---|---|
private MainCmdLogging_ifc |
console
Aggregation to any console or log output.
|
private java.io.File |
currdir |
private CfgData |
data |
private java.util.Map<java.lang.String,java.lang.String> |
indexEnvirVariables
Index of some variables with name=value.
|
static int |
version
Version, history and license.
|
| Constructor and Description |
|---|
ParserConfigFile(CfgData cfgData,
MainCmdLogging_ifc console,
java.io.File currdir) |
| Modifier and Type | Method and Description |
|---|---|
private void |
parseCfgEnvironmentVariable(java.lang.String sLine)
Parses a line with the setting of an environment variable.
|
private void |
parseCfgIncludeLine(java.lang.String sLine,
char cWhat)
Parses a line with the setting of an include path.
|
(package private) java.lang.String |
parseConfigFile(java.lang.String sFileCfg)
Parses the given configuration file.
|
public static final int version
currdir for the config file, given in ctor.
private final MainCmdLogging_ifc console
private final java.util.Map<java.lang.String,java.lang.String> indexEnvirVariables
private final CfgData data
private final java.io.File currdir
public ParserConfigFile(CfgData cfgData, MainCmdLogging_ifc console, java.io.File currdir)
java.lang.String parseConfigFile(java.lang.String sFileCfg)
listInclPaths
sFileCfg - java.io.IOExceptionprivate void parseCfgEnvironmentVariable(java.lang.String sLine)
sLine - private void parseCfgIncludeLine(java.lang.String sLine,
char cWhat)
throws java.io.FileNotFoundException
sLine - java.io.FileNotFoundException