org.exoplatform.services.text.unicode
Class Normalizer

java.lang.Object
  extended by org.exoplatform.services.text.unicode.Normalizer

public class Normalizer
extends java.lang.Object

Implements Unicode Normalization Forms C, D, KC, KD.
Copyright (c) 1991-2005 Unicode, Inc. For terms of use, see http://www.unicode.org/terms_of_use.html For documentation, see UAX#15.
The Unicode Consortium makes no expressed or implied warranty of any kind, and assumes no liability for errors or omissions. No liability is assumed for incidental and consequential damages in connection with or arising out of the use of the information here.

Author:
Mark Davis Updates for supplementary code points: Vladimir Weinstein & Markus Scherer

Field Summary
static byte C
           
static byte D
           
static byte KC
           
static byte KD
           
 
Constructor Summary
Normalizer()
           
Normalizer(byte form)
           
 
Method Summary
 char[] normalize(char[] chars)
           
 java.lang.String normalize(java.lang.String source)
           
 java.lang.StringBuilder normalize(java.lang.String source, java.lang.StringBuilder target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

D

public static final byte D
See Also:
Constant Field Values

C

public static final byte C
See Also:
Constant Field Values

KD

public static final byte KD
See Also:
Constant Field Values

KC

public static final byte KC
See Also:
Constant Field Values
Constructor Detail

Normalizer

public Normalizer()

Normalizer

public Normalizer(byte form)
Method Detail

normalize

public java.lang.StringBuilder normalize(java.lang.String source,
                                         java.lang.StringBuilder target)

normalize

public java.lang.String normalize(java.lang.String source)

normalize

public char[] normalize(char[] chars)


Copyright © 2011 eXo Platform SAS. All Rights Reserved.