public class UnitDescriptionMappingRewriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
DELIMITER |
Constructor and Description |
---|
UnitDescriptionMappingRewriter() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Starts the rewriting process.
|
private static java.util.Hashtable<java.lang.String,java.lang.String> |
readMappingFile(java.lang.String fileName)
Reads the mapping file into a
Hashtable |
private static final java.lang.String DELIMITER
public static void main(java.lang.String[] args) throws java.io.IOException
args
- the execution arguments as stated above.java.io.IOException
private static java.util.Hashtable<java.lang.String,java.lang.String> readMappingFile(java.lang.String fileName) throws java.io.IOException
Hashtable
fileName
- the mapping file.Hashtable
of the mapping.java.io.IOException
- if the file can't be read.