org.metasyntactic.tool.unicode
Class UnicodeDataParser

java.lang.Object
  |
  +--org.metasyntactic.tool.unicode.UnicodeDataParser
All Implemented Interfaces:
java.util.Enumeration

public class UnicodeDataParser
extends java.lang.Object
implements java.util.Enumeration

A parser that will break apart an input stream of unicode data that can then be manipulated at will


Constructor Summary
UnicodeDataParser(java.io.InputStream unicodeData)
           
UnicodeDataParser(java.io.InputStream unicodeData, java.io.InputStream namesList)
           
UnicodeDataParser(java.io.Reader unicodeData)
           
UnicodeDataParser(java.io.Reader unicodeData, java.io.Reader namesList)
           
 
Method Summary
static java.lang.String charToHexString(char val)
           
 boolean hasMoreElements()
           
static void main(java.lang.String[] args)
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnicodeDataParser

public UnicodeDataParser(java.io.Reader unicodeData)
                  throws java.io.IOException

UnicodeDataParser

public UnicodeDataParser(java.io.Reader unicodeData,
                         java.io.Reader namesList)
                  throws java.io.IOException

UnicodeDataParser

public UnicodeDataParser(java.io.InputStream unicodeData)
                  throws java.io.IOException

UnicodeDataParser

public UnicodeDataParser(java.io.InputStream unicodeData,
                         java.io.InputStream namesList)
                  throws java.io.IOException
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

main

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

charToHexString

public static java.lang.String charToHexString(char val)