# Print output for @column tags ?> CaseMap.Upper - Android SDK | Android Developers

Most visited


Recently visited


CaseMap.Upper

public static final class CaseMap.Upper
extends CaseMap

java.lang.Object
   ↳ android.icu.text.CaseMap
     ↳ android.icu.text.CaseMap.Upper


Uppercasing options and methods. Immutable.

See also:

Summary


Public methods

<A extends Appendable> A apply(Locale locale, CharSequence src, A dest, Edits edits)

Uppercases a string and optionally records edits (see omitUnchangedText()).

String apply(Locale locale, CharSequence src)

Uppercases a string.

CaseMap.Upper omitUnchangedText()

Returns an instance that behaves like this one but omits unchanged text when case-mapping with Edits.

Inherited methods

Public methods


apply

public A apply (Locale locale, 
                CharSequence src, 
                A dest, 
                Edits edits)

Uppercases a string and optionally records edits (see omitUnchangedText()). Casing is locale-dependent and context-sensitive. The result may be longer or shorter than the original.

Parameters
locale Locale: The locale ID. Can be null for Locale#getDefault. (See ULocale#toLocale.)

src CharSequence: The original string.

dest A: A buffer for the result string. Must not be null.

edits 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.

Returns
A dest with the result string (or only changes) appended.

See also:

apply

public String apply (Locale locale, 
                CharSequence src)

Uppercases a string. Casing is locale-dependent and context-sensitive. The result may be longer or shorter than the original.

Parameters
locale Locale: The locale ID. Can be null for Locale#getDefault. (See ULocale#toLocale.)

src CharSequence: The original string.

Returns
String the result string.

See also:

omitUnchangedText

public CaseMap.Upper omitUnchangedText ()

Returns an instance that behaves like this one but omits unchanged text when case-mapping with Edits.

Returns
CaseMap.Upper an options object with this option.

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.