Added in API level 29
CaseMap
abstract class CaseMap
| kotlin.Any | |
| ↳ | android.icu.text.CaseMap |
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.
Summary
| Nested classes | |
|---|---|
| Case folding options and methods. | |
| Lowercasing options and methods. | |
| Titlecasing options and methods. | |
| Uppercasing options and methods. | |
| Public methods | |
|---|---|
| open static CaseMap.Fold! | fold() |
| abstract CaseMap! | Returns an instance that behaves like this one but omits unchanged text when case-mapping with |
| open static CaseMap.Lower! | toLower() |
| open static CaseMap.Title! | toTitle() |
| open static CaseMap.Upper! | toUpper() |
Public methods
fold
Added in API level 29
open static fun fold(): CaseMap.Fold!
| Return | |
|---|---|
CaseMap.Fold! | Case folding object with default options. |
omitUnchangedText
Added in API level 29
abstract fun omitUnchangedText(): CaseMap!
Returns an instance that behaves like this one but omits unchanged text when case-mapping with Edits.
| Return | |
|---|---|
CaseMap! | an options object with this option. |
toLower
Added in API level 29
open static fun toLower(): CaseMap.Lower!
| Return | |
|---|---|
CaseMap.Lower! | Lowercasing object with default options. |
toTitle
Added in API level 29
open static fun toTitle(): CaseMap.Title!
| Return | |
|---|---|
CaseMap.Title! | Titlecasing object with default options. |
toUpper
Added in API level 29
open static fun toUpper(): CaseMap.Upper!
| Return | |
|---|---|
CaseMap.Upper! | Uppercasing object with default options. |