com.ibm.icu.dev.tool.normalizer
Class QuickCheckBuilder

java.lang.Object
  |
  +--com.ibm.icu.dev.tool.normalizer.QuickCheckBuilder

Deprecated. ICU4J 2.0, since ICU has written its own tool.

public class QuickCheckBuilder
extends java.lang.Object

Class to generate modified quickcheck data for collation. Data generated is a trie of normalization form corresponding to the index code point. Hence codepoint 0xABCD will have normalization form quickcheck[codepoint] = STAGE_3_[STAGE_2_[STAGE_1_[codepoint >> STAGE_1_SHIFT_] + ((codepoint >> STAGE_2_SHIFT_) & STAGE_2_MASK_AFTER_SHIFT_)] + (codepoint & STAGE_3_MASK_)]; value is a byte containing 2 sets of 4 bits information.
bits 1 2 3 4 5678
NFKC NFC NFKD NFD MAYBES NFKC NFC NFKD NFD YES
ie if quick[0xABCD] = 10000001, this means that 0xABCD is in NFD form and maybe in NFKC form.


Constructor Summary
QuickCheckBuilder()
          Deprecated. ICU4J 2.0, since ICU has written its own tool.
 
Method Summary
 void build()
          Deprecated. ICU4J 2.0, since ICU has written its own tool.
 void build(java.lang.String input, java.lang.String output)
          Deprecated. ICU4J 2.0, since ICU has written its own tool.
static void main(java.lang.String[] arg)
          Deprecated. Main method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuickCheckBuilder

public QuickCheckBuilder()
Deprecated. ICU4J 2.0, since ICU has written its own tool.

constructor with default input, output file path
Method Detail

build

public void build()
Deprecated. ICU4J 2.0, since ICU has written its own tool.

Building method. Each unicode character will be used to generate data, output to the default file path

build

public void build(java.lang.String input,
                  java.lang.String output)
Deprecated. ICU4J 2.0, since ICU has written its own tool.

Building method. Each unicode character will be used to generate data.
Parameters:
input - file path
output - file path

main

public static void main(java.lang.String[] arg)
Deprecated. 
Main method


Copyright (c) 2001 IBM Corporation and others.