Package com.ibm.icu.text
Class CaseMap
java.lang.Object
com.ibm.icu.text.CaseMap
- Direct Known Subclasses:
CaseMap.Fold,CaseMap.Lower,CaseMap.Title,CaseMap.Upper
Low-level case mapping options and methods. Immutable.
"Setters" return instances with the union of the current and new options set.
This class is not intended for public subclassing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCase folding options and methods.static final classLowercasing options and methods.static final classTitlecasing options and methods.static final classUppercasing options and methods. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intDeprecated.This API is ICU internal only. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CaseMap.Foldfold()private static intgetCaseLocale(Locale locale) abstract CaseMapReturns an instance that behaves like this one but omits unchanged text when case-mapping withEdits.static CaseMap.LowertoLower()static CaseMap.TitletoTitle()static CaseMap.UppertoUpper()
-
Field Details
-
internalOptions
Deprecated.This API is ICU internal only.
-
-
Constructor Details
-
CaseMap
private CaseMap(int opt)
-
-
Method Details
-
getCaseLocale
-
toLower
- Returns:
- Lowercasing object with default options.
-
toUpper
- Returns:
- Uppercasing object with default options.
-
toTitle
- Returns:
- Titlecasing object with default options.
-
fold
- Returns:
- Case folding object with default options.
-
omitUnchangedText
Returns an instance that behaves like this one but omits unchanged text when case-mapping withEdits.- Returns:
- an options object with this option.
-