public class TextNormalizationHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NORMALIZER_CLASS_NAME |
static String |
NORMALIZER_FORM_CLASS_NAME |
static String |
NORMALIZER_IS_NORMALIZED_METHOD_NAME |
static String |
NORMALIZER_NORMALIZE_METHOD_NAME |
Constructor and Description |
---|
TextNormalizationHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isNormalizationCapable()
Checks if is normalization capable.
|
static boolean |
isNormalized(String text)
Tests whether the text is normalized.
|
static String |
normalize(String text)
Normalizes the text.
|
public static final String NORMALIZER_CLASS_NAME
public static final String NORMALIZER_FORM_CLASS_NAME
public static final String NORMALIZER_NORMALIZE_METHOD_NAME
public static final String NORMALIZER_IS_NORMALIZED_METHOD_NAME
public static boolean isNormalizationCapable()
public static boolean isNormalized(String text)
string
- the text to be checked for normalizationCopyright © 2017 Perforce Software. All Rights Reserved.