org.marc4j.util
Class ReverseCodeTable

java.lang.Object
  |
  +--org.marc4j.util.ReverseCodeTable

public class ReverseCodeTable
extends Object

ReverseCodeTable defines a data structure to facilitate UnicodeToAnsel character conversion.

Version:
$Revision: 1.2 $
Author:
Corey Keith
See Also:
DefaultHandler

Field Summary
protected static Hashtable charset
           
protected static Vector combining
           
 
Constructor Summary
ReverseCodeTable(InputStream byteStream)
           
ReverseCodeTable(String filename)
           
ReverseCodeTable(URI uri)
           
 
Method Summary
static Hashtable codeTableHash(Character c)
           
static char getChar(Character c, CodeTableTracker ctt)
           
static boolean inPreviousCharCodeTable(Character c, CodeTableTracker ctt)
           
static boolean isCombining(Character c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

charset

protected static Hashtable charset

combining

protected static Vector combining
Constructor Detail

ReverseCodeTable

public ReverseCodeTable(InputStream byteStream)

ReverseCodeTable

public ReverseCodeTable(String filename)

ReverseCodeTable

public ReverseCodeTable(URI uri)
Method Detail

isCombining

public static boolean isCombining(Character c)

codeTableHash

public static Hashtable codeTableHash(Character c)

inPreviousCharCodeTable

public static boolean inPreviousCharCodeTable(Character c,
                                              CodeTableTracker ctt)

getChar

public static char getChar(Character c,
                           CodeTableTracker ctt)


Copyright 2001-2003 Bas Peters. All Rights Reserved.