CaseMapper class final
See the Rust documentation for CaseMapper
for more information.
- Implemented types
Constructors
- CaseMapper(DataProvider provider)
-
Construct a new CaseMapper instance
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addCaseClosureTo(
Rune c, CodePointSetBuilder builder) → void -
Adds all simple case mappings and the full case folding for
c
tobuilder
. Also adds special case closure mappings. -
fold(
String s) → String - Case-folds the characters in the given string
-
foldTurkic(
String s) → String - Case-folds the characters in the given string using Turkic (T) mappings for dotted/dotless I.
-
lowercase(
String s, Locale locale) → String - Returns the full lowercase mapping of the given string
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
simpleFold(
Rune ch) → Rune - Returns the simple casefolding of the given character.
-
simpleFoldTurkic(
Rune ch) → Rune - Returns the simple casefolding of the given character in the Turkic locale
-
simpleLowercase(
Rune ch) → Rune - Returns the simple lowercase mapping of the given character.
-
simpleTitlecase(
Rune ch) → Rune - Returns the simple titlecase mapping of the given character.
-
simpleUppercase(
Rune ch) → Rune - Returns the simple uppercase mapping of the given character.
-
titlecaseSegmentWithOnlyCaseData(
String s, Locale locale, TitlecaseOptions options) → String - Returns the full titlecase mapping of the given string, performing head adjustment without loading additional data. (if head adjustment is enabled in the options)
-
toString(
) → String -
A string representation of this object.
inherited
-
uppercase(
String s, Locale locale) → String - Returns the full uppercase mapping of the given string
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited