|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectNormalizer
public class Normalizer
Handles Unicode normalization, dynamically choosing whichever of the built-in Java classes is available to do the work (these changed between Java 1.5 and Java 1.6).
Nested Class Summary | |
---|---|
private static class |
Normalizer.Jdk15Normalizer
Normalizer that runs on JDK 1.5 / 5.0 |
private static class |
Normalizer.Jdk16Normalizer
Normalizer that runs on JDK 1.6 / 6.0 and higher |
private static interface |
Normalizer.PlatformNormalizer
Generic interface for normalizers |
Field Summary | |
---|---|
private static Normalizer.PlatformNormalizer |
platformNormalizer
|
Constructor Summary | |
---|---|
Normalizer()
|
Method Summary | |
---|---|
static String |
normalize(String in)
Perform normalization on a string, meaning canonical decomposition followed by canonical composition. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static Normalizer.PlatformNormalizer platformNormalizer
Constructor Detail |
---|
public Normalizer()
Method Detail |
---|
public static String normalize(String in)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |