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 PlugableConstantParserInterfacepublic java.util.Hashtable getConstantsHashtable()
getConstantsHashtable in interface PlugableConstantParserInterfacepublic SubmatData getConstantsSubmat()
getConstantsSubmat in interface PlugableConstantParserInterfacepublic void init(java.lang.String pathName,
java.lang.String fileName)
PlugableConstantParserInterfaceinit in interface PlugableConstantParserInterfacepathName - Name of import directoryfileName - Name of INI-File