org.knowceans.corpus.util
Class UnicodeMapFactory

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

public class UnicodeMapFactory
extends java.lang.Object

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

Author:
jgroeger

Field Summary
private static java.util.HashMap map
           
protected static boolean unicode_error
           
protected static java.io.BufferedReader unifile
           
 
Constructor Summary
UnicodeMapFactory()
           
 
Method Summary
static java.util.HashMap getUnicodeHashMap()
          returns unicode-map
static void main(java.lang.String[] args)
           
protected static void parseUnicodeFile()
          parses unicodefile and creates HashMap with key and htmlword
protected 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

protected static java.io.BufferedReader unifile

unicode_error

protected static boolean unicode_error
Constructor Detail

UnicodeMapFactory

public UnicodeMapFactory()
Method Detail

getUnicodeHashMap

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


readUnicodeFile

protected static void readUnicodeFile()
reads unicodefile into buffer


parseUnicodeFile

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


main

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