|Modifier and Type||Method and Description|
Case-folds a string and optionally records edits (see
Returns an instance that behaves like this one but omits unchanged text when case-mapping with
Returns an instance that behaves like this one but handles dotted I and dotless i appropriately for Turkic languages (tr, az).
public CaseMap.Fold omitUnchangedText()
public CaseMap.Fold turkic()
Uses the Unicode CaseFolding.txt mappings marked with 'T' that are to be excluded for default mappings and included for the Turkic-specific mappings.
public <A extends Appendable> A apply(CharSequence src, A dest, Edits edits)
Case-folding is locale-independent and not context-sensitive, but there is an option for whether to include or exclude mappings for dotted I and dotless i that are marked with 'T' in CaseFolding.txt.
The result may be longer or shorter than the original.
src- The original string.
dest- A buffer for the result string. Must not be null.
edits- Records edits for index mapping, working with styled text, and getting only changes (if any). This function calls edits.reset() first. edits can be null.
Copyright © 2016 Unicode, Inc. and others.