Constructor for the LookupFileReader.
Sets up the file from which we will read.
At the end of the constructor the node is started.
Parameters:
file - The file being read. Should be of the format:
key_value_separator = '='
pair_separator = '\n'
keyPart=valuePart1
keyPart2=valuePart2
...
keyPartN=valuePartN
where the 1st and 2nd lines are optional. When either of the two
lines are omitted, the following defaults will be used:
key_value_separator = '='
pair_separator = '\n'
The only special characters supported for key_value_separator and
pair_separator are '\n', '\t' and '\r'.
Method Detail
getTableFormat
public java.util.Hashtable getTableFormat()
throws java.lang.Exception
This is the primary method that will be used to access the contents
of the lookup table. Upon request the file is reread, and the
lookup table is returned in a Hashtable.
Returns:
Returns the Hashtable object representing the lookup table.