org.marc4j.converter.impl
Class CodeTable

java.lang.Object
  extended by org.marc4j.converter.impl.CodeTable
All Implemented Interfaces:
CodeTableInterface
Direct Known Subclasses:
CodeTableGenerator

public class CodeTable
extends Object
implements CodeTableInterface

CodeTable defines a data structure to facilitate AnselToUnicode character conversion.

Version:
$Revision: 1.4 $
Author:
Corey Keith

Field Summary
protected static HashMap charsets
           
protected static HashMap combining
           
 
Constructor Summary
CodeTable(InputStream byteStream)
           
CodeTable(String filename)
           
CodeTable(URI uri)
           
 
Method Summary
 char getChar(int c, int mode)
           
 boolean isCombining(int i, int g0, int g1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

charsets

protected static HashMap charsets

combining

protected static HashMap combining
Constructor Detail

CodeTable

public CodeTable(InputStream byteStream)

CodeTable

public CodeTable(String filename)

CodeTable

public CodeTable(URI uri)
Method Detail

isCombining

public boolean isCombining(int i,
                           int g0,
                           int g1)
Specified by:
isCombining in interface CodeTableInterface

getChar

public char getChar(int c,
                    int mode)
Specified by:
getChar in interface CodeTableInterface


Copyright © 2002-2006 Bas Peters. All Rights Reserved.