public class INI_VAL extends java.lang.Object implements PlugableConstantParserInterface
Each line of the file contains six fields. The first field is the name, the fifth field is the value of the constant. The fields are quoted.
Constructor and Description |
---|
INI_VAL() |
Modifier and Type | Method and Description |
---|---|
java.util.Hashtable |
getConstantsHashtable()
Get the constants as as hashtable.
|
SubmatData |
getConstantsSubmat()
Get the constants as as SubmatData Object.
|
void |
init(java.lang.String pathName,
java.lang.String fileName)
Create the File Object and store the path- and filename.
|
boolean |
readConstantsFile()
Parse the file.
|
public boolean readConstantsFile()
readConstantsFile
in interface PlugableConstantParserInterface
public java.util.Hashtable getConstantsHashtable()
getConstantsHashtable
in interface PlugableConstantParserInterface
public SubmatData getConstantsSubmat()
getConstantsSubmat
in interface PlugableConstantParserInterface
public void init(java.lang.String pathName, java.lang.String fileName)
PlugableConstantParserInterface
init
in interface PlugableConstantParserInterface
pathName
- Name of import directoryfileName
- Name of INI-File