org.apache.abdera.util.unicode
Class Normalizer

java.lang.Object
  extended by org.apache.abdera.util.unicode.Normalizer

public final class Normalizer
extends java.lang.Object

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


Nested Class Summary
static class Normalizer.Form
           
static class Normalizer.Mask
           
 
Method Summary
static void main(java.lang.String... args)
           
static java.lang.StringBuffer normalize(java.lang.String source)
          Normalize the string using NFKC
static java.lang.StringBuffer normalize(java.lang.String source, Normalizer.Form form)
          Normalize the string using the specified Form
static java.lang.StringBuffer normalize(java.lang.String source, Normalizer.Form form, java.lang.StringBuffer buf)
          Normalize the string into the given StringBuffer 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 java.lang.StringBuffer normalize(java.lang.String source)
                                        throws java.io.IOException
Normalize the string using NFKC

Throws:
java.io.IOException

normalize

public static java.lang.StringBuffer normalize(java.lang.String source,
                                               Normalizer.Form form)
                                        throws java.io.IOException
Normalize the string using the specified Form

Throws:
java.io.IOException

normalize

public static java.lang.StringBuffer normalize(java.lang.String source,
                                               Normalizer.Form form,
                                               java.lang.StringBuffer buf)
                                        throws java.io.IOException
Normalize the string into the given StringBuffer using the given Form

Throws:
java.io.IOException

main

public static void main(java.lang.String... args)
                 throws java.lang.Exception
Throws:
java.lang.Exception