android.icu.text


Interfaces

ReorderCodes

Reordering codes for non-script groups that can be reordered under collation.

FormattedValue

An abstract formatted value: a string with associated field attributes.

Replaceable

Replaceable is an interface representing a string of characters that supports the replacement of a range of itself with a new string of characters.

SymbolTable

An interface that defines both lookup protocol and parsing of symbolic names.

UnicodeMatcher

UnicodeMatcher defines a protocol for objects that can match a range of characters in a Replaceable string.

Classes

AlphabeticIndex

AlphabeticIndex supports the creation of a UI index appropriate for a given language.

Bidi

Bidi algorithm for ICU

This is an implementation of the Unicode Bidirectional Algorithm.

BidiClassifier

Overrides default Bidi class values with custom ones.

BidiRun

A BidiRun represents a sequence of characters at the same embedding level.

BreakIterator

[icu enhancement] ICU's replacement for java.text.BreakIterator.

CaseMap

Low-level case mapping options and methods.

CollationElementIterator

CollationElementIterator is an iterator created by a RuleBasedCollator to walk through a string.

CollationKey

A CollationKey represents a String under the rules of a specific Collator object.

Collator

[icu enhancement] ICU's replacement for java.text.Collator.

CompactDecimalFormat

Formats numbers in compact (abbreviated) notation, like "1.

ConstrainedFieldPosition

Represents a span of a string containing a given field.

CurrencyPluralInfo

This class represents the information needed by DecimalFormat to format currency plural, such as "3.

DateFormat

[icu enhancement] ICU's replacement for java.text.DateFormat.

DateFormatSymbols

[icu enhancement] ICU's replacement for java.text.DateFormatSymbols.

DateIntervalFormat

DateIntervalFormat is a class for formatting and parsing date intervals in a language-independent manner.

DateIntervalInfo

DateIntervalInfo is a public class for encapsulating localizable date time interval patterns.

DateTimePatternGenerator

This class provides flexible generation of date format patterns, like "yy-MM-dd".

DecimalFormat

[icu enhancement] ICU's replacement for java.text.DecimalFormat.

DecimalFormatSymbols

[icu enhancement] ICU's replacement for java.text.DecimalFormatSymbols.

DisplayOptions

Represents all the display options that are supported by CLDR such as grammatical case, noun class, .

Edits

Records lengths of string edits but not replacement text.

IDNA

Abstract base class for IDNA processing.

ListFormatter

Immutable class for formatting a list, using data from CLDR (or supplied separately).

LocaleDisplayNames

Returns display names of ULocales and components of ULocales.

MeasureFormat

A formatter for Measure objects.

MessageFormat

[icu enhancement] ICU's replacement for java.text.MessageFormat.

MessagePattern

Parses and represents ICU MessageFormat patterns.

Normalizer

Old Unicode normalization API.

Normalizer2

Unicode normalization functionality for standard Unicode normalization or for using custom mapping tables.

NumberFormat

[icu enhancement] ICU's replacement for java.text.NumberFormat.

NumberingSystem

NumberingSystem is the base class for all number systems.

PluralFormat

PluralFormat supports the creation of internationalized messages with plural inflection.

PluralRules

Defines rules for mapping non-negative numeric values onto a small set of keywords.

RelativeDateTimeFormatter

Formats simple relative dates.

RuleBasedCollator

RuleBasedCollator is a concrete subclass of Collator.

ScientificNumberFormatter

A formatter that formats numbers in user-friendly scientific notation.

SearchIterator

SearchIterator is an abstract base class that provides methods to search for a pattern within a text string.

SelectFormat

SelectFormat supports the creation of internationalized messages by selecting phrases based on keywords.

SimpleDateFormat

[icu enhancement] ICU's replacement for java.text.SimpleDateFormat.

StringSearch

StringSearch is a SearchIterator that provides language-sensitive text searching based on the comparison rules defined in a RuleBasedCollator object.

TimeZoneFormat

TimeZoneFormat supports time zone display name formatting and parsing.

TimeZoneNames

TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#35 Unicode Locale Data Markup Language (LDML).

Transliterator

Transliterator is an abstract class that transliterates text from one format to another.

UCharacterIterator

Abstract class that defines an API for iteration on text objects.

UFormat

An abstract class that extends java.text.Format to provide additional ICU protocol, specifically, the getLocale() API.

UnicodeFilter

UnicodeFilter defines a protocol for selecting a subset of the full range (U+0000 to U+FFFF) of Unicode characters.

UnicodeSet

A mutable set of Unicode characters and multicharacter strings.

UnicodeSetIterator

UnicodeSetIterator iterates over the contents of a UnicodeSet.

UnicodeSetSpanner

A helper class used to count, replace, and trim CharSequences based on UnicodeSet matches.

Exceptions

StringPrepParseException

Exception that signals an error has occurred while parsing the input to StringPrep or IDNA.

Enums

DisplayContext

Display context settings.