org.eml.sir.util
Class TableReader

java.lang.Object
  extended byorg.eml.sir.util.TableReader

public class TableReader
extends java.lang.Object

Reads a table file and generates a Map.

Author:
Hendrik Niederlich (EML-R)

Constructor Summary
TableReader()
           
 
Method Summary
static java.util.HashMap readTable(java.lang.String fileName)
          Reads a table file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableReader

public TableReader()
Method Detail

readTable

public static java.util.HashMap readTable(java.lang.String fileName)
Reads a table file. Structure of each line of this table file: "[key] [value]" Lines starting with '#' will be ignored.