public class TextNormalize extends Object
Constructor and Description |
---|
TextNormalize(String encoding) |
Modifier and Type | Method and Description |
---|---|
String |
makeLineLogicalOrder(String str,
boolean isRtlDominant)
Deprecated.
isn't used anymore
|
String |
normalizeDiac(String str)
Normalize the diacritic, for example, convert non-combining diacritic characters to their combining counterparts.
|
String |
normalizePres(String str)
Normalize the presentation forms of characters in the string.
|
public TextNormalize(String encoding)
encoding
- The Encoding that the text will eventually be written as (or null)public String makeLineLogicalOrder(String str, boolean isRtlDominant)
str
- Presentation form of line to convert (i.e. left most char is first char)isRtlDominant
- true if the PAGE has a dominant right to left orderingpublic String normalizePres(String str)
str
- String to normalizeCopyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.