org.marc4j.converter.impl
Class CodeTableGenerator

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

public class CodeTableGenerator
extends CodeTable

Invoked at build time to generate a java source file (named CodeTableGenerated.java) which when compiled will implement the CodeTableInterface (primarily through switch statements) and which can be used be the AnselToUnicode converter instead of this class, and which will produce the same results as the object CodeTable.
The following routines are only used in the code generation process, and are not available to be called from within an application that uses Marc4j.
The routines generated for converting MARC8 multibyte characters to unicode are split into several routines to workaround a limitation in java that a method can only contain 64k of code when it is compiled.

Version:
$Revision: 1.2 $
Author:
Robert Haschart

Field Summary
 
Fields inherited from class org.marc4j.converter.impl.CodeTable
charsets, combining
 
Constructor Summary
CodeTableGenerator(InputStream byteStream)
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class org.marc4j.converter.impl.CodeTable
getChar, isCombining
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeTableGenerator

public CodeTableGenerator(InputStream byteStream)
Method Detail

main

public static void main(String[] args)


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