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 class
Case folding options and methods.static final class
Lowercasing options and methods.static final class
Titlecasing options and methods.static final class
Uppercasing options and methods. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
Deprecated.This API is ICU internal only. -
Method Summary
Modifier and TypeMethodDescriptionstatic CaseMap.Fold
fold()
abstract CaseMap
Returns an instance that behaves like this one but omits unchanged text when case-mapping withEdits
.static CaseMap.Lower
toLower()
static CaseMap.Title
toTitle()
static CaseMap.Upper
toUpper()
-
Field Details
-
internalOptions
Deprecated.This API is ICU internal only.
-
-
Method Details
-
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.
-