org.knowceans.corpus.util
Class ReverseUnicodeMapFactory

java.lang.Object
  extended by org.knowceans.corpus.util.ReverseUnicodeMapFactory

public class ReverseUnicodeMapFactory
extends java.lang.Object

loads a text file with unicode to html conversion maps the html as key and stores the unicode as value

Author:
heinrich

Field Summary
private static java.util.HashMap map
           
private static boolean unicode_error
           
private static java.io.BufferedReader unifile
           
 
Constructor Summary
ReverseUnicodeMapFactory()
           
 
Method Summary
static java.util.HashMap getUnicodeHashMap()
          returns unicode-map
static void main(java.lang.String[] args)
           
private static void parseUnicodeFile()
          parses unicodefile and creates HashMap with key and htmlword
private static void readUnicodeFile()
          reads unicodefile into buffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

private static java.util.HashMap map

unifile

private static java.io.BufferedReader unifile

unicode_error

private static boolean unicode_error
Constructor Detail

ReverseUnicodeMapFactory

public ReverseUnicodeMapFactory()
Method Detail

getUnicodeHashMap

public static java.util.HashMap getUnicodeHashMap()
returns unicode-map


readUnicodeFile

private static void readUnicodeFile()
reads unicodefile into buffer


parseUnicodeFile

private static void parseUnicodeFile()
parses unicodefile and creates HashMap with key and htmlword


main

public static void main(java.lang.String[] args)