org.apache.abdera.i18n.text
Class Normalizer

java.lang.Object
  extended by org.apache.abdera.i18n.text.Normalizer

public final class Normalizer
extends Object

Performs Unicode Normalization (Form D,C,KD and KC)


Nested Class Summary
static class Normalizer.Form
           
 
Method Summary
static String normalize(CharSequence source)
          Normalize the string using NFKC
static String normalize(CharSequence source, Normalizer.Form form)
          Normalize the string using the specified Form
static String normalize(CharSequence source, Normalizer.Form form, StringBuilder buf)
          Normalize the string into the given StringBuilder using the given Form
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

normalize

public static String normalize(CharSequence source)
Normalize the string using NFKC


normalize

public static String normalize(CharSequence source,
                               Normalizer.Form form)
Normalize the string using the specified Form


normalize

public static String normalize(CharSequence source,
                               Normalizer.Form form,
                               StringBuilder buf)
Normalize the string into the given StringBuilder using the given Form



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.