Top Description Interfaces Classes Enums
[default module]

Package com.ibm.icu.text


Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping.

Interface Summary

Modifier and TypeInterface and Description
public interface
FormattedValue

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

public interface
PersonName

An object used to provide name data to the PersonNameFormatter for formatting.

public interface
RbnfLenientScanner

Deprecated ICU 54
Used by RBNF to leniently parse a string.
public interface
RbnfLenientScannerProvider

Deprecated ICU 54
A provider for an RbnfLenientScanner.
pack-priv interface
RBNFPostProcessor

Post processor for RBNF output.

public interface
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.

pack-priv interface
SCSU

An interface defining constants for the Standard Compression Scheme for Unicode (SCSU) as outlined in Unicode Technical Report #6.

public interface
StringTransform

Provide a base class for Transforms that focuses just on the transformation of the text.

public interface
SymbolTable

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

public interface
Transform<S, D>

Provide an interface for Transforms that focuses just on the transformation of the text.

public interface
UForwardCharacterIterator

Interface that defines an API for forward-only iteration on text objects.

public interface
UnicodeMatcher

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

pack-priv interface
UnicodeReplacer

UnicodeReplacer defines a protocol for objects that replace a range of characters in a Replaceable string with output text.

Class Summary

Modifier and TypeClass and Description
pack-priv class
AbsoluteValueSubstitution

A substitution that formats the absolute value of the number.

public class
AlphabeticIndex<V>

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

pack-priv class
AnyTransliterator

A transliterator that translates multiple input scripts to a single output script.

public class
ArabicShaping

Shape Arabic text on a character basis.

public class
ArabicShapingException

Thrown by ArabicShaping when there is a shaping error.

public class
Bidi

Bidi algorithm for ICU This is an implementation of the Unicode Bidirectional Algorithm.

public class
BidiClassifier

Overrides default Bidi class values with custom ones.

pack-priv class
public class
BidiRun

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

public class
BidiTransform

Bidi Layout Transformation Engine.

pack-priv class
public abstract class
BreakIterator

ICU Enhancement

This class is ICU's replacement for java.text.BreakIterator.

pack-priv class
pack-priv class
BreakTransliterator

Inserts the specified characters at word breaks.

public class
CanonicalIterator

This class allows one to iterate through all the strings that are canonically equivalent to a given string.

pack-priv class
CaseFoldTransliterator

A transliterator that performs locale-sensitive toLower() case mapping.

public abstract class
CaseMap

Low-level case mapping options and methods.

public class
CharsetDetector

CharsetDetector provides a facility for detecting the charset or encoding of character data in an unknown format.

public class
CharsetMatch

This class represents a charset that has been identified by a CharsetDetector as a possible encoding for a set of input data.

pack-priv abstract class
CharsetRecog_2022

class CharsetRecog_2022 part of the ICU charset detection implementation.

pack-priv abstract class
CharsetRecog_mbcs

CharsetRecognizer implementation for Asian - double or multi-byte - charsets.

pack-priv abstract class
CharsetRecog_sbcs

This class recognizes single-byte encodings.

pack-priv abstract class
CharsetRecog_Unicode

This class matches UTF-16 and UTF-32, both big- and little-endian.

pack-priv class
CharsetRecog_UTF8

Charset recognizer for UTF-8

pack-priv abstract class
CharsetRecognizer

Abstract class for recognizing a single charset.

public class
ChineseDateFormat

Deprecated ICU 50 Use SimpleDateFormat instead.
A concrete DateFormat for com.ibm.icu.util.ChineseCalendar.
public class
ChineseDateFormatSymbols

Deprecated ICU 50
A subclass of DateFormatSymbols for ChineseDateFormat.
public class
CollationElementIterator

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

public class
CollationKey

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

public abstract class
Collator

ICU Enhancement

This class is ICU's replacement for java.text.Collator.

pack-priv class
public class
CompactDecimalFormat

Formats numbers in compact (abbreviated) notation, like "1.2K" instead of "1200".

public class
ComposedCharIter

Deprecated ICU 2.2
This class has been deprecated since ICU 2.2.
pack-priv class
CompoundTransliterator

A transliterator that is composed of two or more other transliterator objects linked together.

public class
ConstrainedFieldPosition

Represents a span of a string containing a given field.

public abstract class
CurrencyDisplayNames

Returns currency names localized for a locale.

pack-priv class
CurrencyFormat

Temporary internal concrete subclass of MeasureFormat implementing parsing and formatting of CurrencyAmount objects.

public class
CurrencyMetaInfo

Provides information about currencies that is not specific to a locale.

public class
CurrencyPluralInfo

This class represents the information needed by DecimalFormat to format currency plural, such as "3.00 US dollars" or "1.00 US dollar".

public abstract class
DateFormat

ICU Enhancement

This class is ICU's replacement for java.text.DateFormat.

public class
DateFormatSymbols

ICU Enhancement

This class is ICU's replacement for java.text.DateFormatSymbols.

public class
DateIntervalFormat

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

public class
DateIntervalInfo

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

public class
DateTimePatternGenerator

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

public class
DecimalFormat

ICU Enhancement

This class is ICU's replacement for java.text.DecimalFormat.

public class
DecimalFormatSymbols

ICU Enhancement

This class is ICU's replacement for java.text.DecimalFormatSymbols.

public class
DisplayOptions

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

public abstract class
DurationFormat

Deprecated ICU 56 Use MeasureFormat or RelativeDateTimeFormatter instead.
This deprecated class implements a formatter over a duration in time such as "2 days from now" or "3 hours ago".
public class
Edits

Records lengths of string edits but not replacement text.

pack-priv class
EscapeTransliterator

A transliterator that converts Unicode characters to an escape form.

public abstract class
FilteredBreakIteratorBuilder

The BreakIteratorFilter is used to modify the behavior of a BreakIterator by constructing a new BreakIterator which suppresses certain segment boundaries.

public class
FilteredNormalizer2

Normalization filtered by a UnicodeSet.

pack-priv class
FractionalPartSubstitution

A substitution that formats the fractional part of a number.

pack-priv class
FunctionReplacer

A replacer that calls a transliterator to generate its output text.

public abstract class
IDNA

Abstract base class for IDNA processing.

pack-priv class
IntegralPartSubstitution

A substitution that formats the number's integral part.

public class
ListFormatter

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

public abstract class
LocaleDisplayNames

Returns display names of ULocales and components of ULocales.

pack-priv class
LowercaseTransliterator

A transliterator that performs locale-sensitive toLower() case mapping.

public class
MeasureFormat

A formatter for Measure objects.

public class
MessageFormat

ICU Enhancement

This class is ICU's replacement for java.text.MessageFormat.

public class
MessagePattern

Parses and represents ICU MessageFormat patterns.

public class
MessagePatternUtil

Utilities for working with a MessagePattern.

pack-priv class
ModulusSubstitution

A substitution that divides the number being formatted by the its rule's divisor and formats the remainder.

pack-priv class
MultiplierSubstitution

A substitution that divides the number being formatted by the rule's divisor and formats the quotient.

pack-priv class
NameUnicodeTransliterator

A transliterator that performs name to character mapping.

pack-priv class
NFRule

A class representing a single rule in a RuleBasedNumberFormat.

pack-priv class
NFRuleSet

A collection of rules used by a RuleBasedNumberFormat to format and parse numbers.

pack-priv abstract class
NFSubstitution

An abstract class defining protocol for substitutions.

pack-priv class
public class
Normalizer

Old Unicode normalization API.

public abstract class
Normalizer2

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

pack-priv class
NullTransliterator

A transliterator that leaves text unchanged.

public abstract class
NumberFormat

ICU Enhancement

This class is ICU's replacement for java.text.NumberFormat.

pack-priv class
public class
NumberingSystem

NumberingSystem is the base class for all number systems.

pack-priv class
NumeratorSubstitution

A substitution that multiplies the number being formatted (which is between 0 and 1) by the base value of the rule that owns it and formats the result.

public class
PersonNameFormatter

A class for formatting names of people.

public class
PluralFormat

PluralFormat supports the creation of internationalized messages with plural inflection.

public class
PluralRules

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

pack-priv class
pack-priv class
pack-priv class
QuantityFormatter

QuantityFormatter represents an unknown quantity of something and formats a known quantity in terms of that something.

public class
RawCollationKey

Simple class wrapper to store the internal byte representation of a CollationKey.

pack-priv class
RBBINode

This class represents a node in the parse tree created by the RBBI Rule compiler.

pack-priv class
pack-priv class
RBBIRuleParseTable

Generated Java File.

pack-priv class
RBBIRuleScanner

This class is part of the Rule Based Break Iterator rule compiler.

pack-priv class
pack-priv class
pack-priv class
RBBITableBuilder

This class is part of the RBBI rule compiler.

pack-priv class
RBNFChinesePostProcessor

A post-processor for Chinese text.

public class
RelativeDateTimeFormatter

Formats simple relative dates.

pack-priv class
RemoveTransliterator

A transliterator that removes characters.

pack-priv class
ReplaceableContextIterator

Implementation of UCaseProps.ContextIterator, iterates over a Replaceable.

public class
ReplaceableString

ReplaceableString is an adapter class that implements the Replaceable API around an ordinary StringBuffer.

public class
RuleBasedBreakIterator

Rule Based Break Iterator This is a port of the C++ class RuleBasedBreakIterator from ICU4C.

public class
RuleBasedCollator

RuleBasedCollator is a concrete subclass of Collator.

public class
RuleBasedNumberFormat

A class that formats numbers according to a set of rules.

public class
RuleBasedTransliterator

Deprecated This API is ICU internal only.
RuleBasedTransliterator is a transliterator built from a set of rules as defined for Transliterator#createFromRules(String, String, int).
pack-priv class
SameValueSubstitution

A substitution that passes the value passed to it through unchanged.

public class
ScientificNumberFormatter

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

public abstract class
SearchIterator

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

public class
SelectFormat

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

public class
SimpleDateFormat

ICU Enhancement

This class is ICU's replacement for java.text.SimpleDateFormat.

</center>
public class
SimpleFormatter

Formats simple patterns like "{1} was born in {0}".

public class
SimplePersonName

A concrete implementation of PersonNameFormatter.PersonName that simply stores the field values in a Map.

pack-priv class
SourceTargetUtility

Simple internal utility class for helping with getSource/TargetSet

public class
SpoofChecker

This class, based on Unicode Technical Report #36 and Unicode Technical Standard #39, has two main functions:

  1. Checking whether two strings are visually confusable with each other, such as "desparejado" and "ԁеѕрагејаԁо".
  2. Checking whether an individual string is likely to be an attempt at confusing the reader (spoof detection), such as "pаypаl" spelled with Cyrillic 'а' characters.
public class
StringCharacterIterator

Deprecated ICU 2.4. Use java.text.StringCharacterIterator instead.
StringCharacterIterator implements the CharacterIterater protocol for a String.
pack-priv class
StringMatcher

An object that matches a fixed input string, implementing the UnicodeMatcher API.

public class
StringPrep

StringPrep API implements the StingPrep framework as described by RFC 3454.

public class
StringPrepParseException

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

pack-priv class
StringReplacer

A replacer that produces static text as its output.

public class
StringSearch

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

public class
TimeUnitFormat

Deprecated ICU 53 use MeasureFormat instead.
Format or parse a TimeUnitAmount, using plural rules for the units where available.
public class
TimeZoneFormat

TimeZoneFormat supports time zone display name formatting and parsing.

public abstract class
TimeZoneNames

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

pack-priv class
TitlecaseTransliterator

A transliterator that converts all letters (as defined by UCharacter.isLetter()) to lower case, except for those letters preceded by non-letters.

pack-priv class
TransliterationRule

A transliteration rule used by RuleBasedTransliterator.

pack-priv class
TransliterationRuleSet

A set of rules for a RuleBasedTransliterator.

public abstract class
Transliterator

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

pack-priv class
TransliteratorIDParser

Parsing component for transliterator IDs.

pack-priv class
pack-priv class
public abstract class
UCharacterIterator

Abstract class that defines an API for iteration on text objects.This is an interface for forward and backward iteration and random access into a text object.

public class
UFieldPosition

Deprecated This API is ICU internal only.
Adds the ability to get the decimal digits
public abstract class
UFormat

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

pack-priv class
UnescapeTransliterator

A transliterator that converts Unicode escape forms to the characters they represent.

public class
UnicodeCompressor

A compression engine implementing the Standard Compression Scheme for Unicode (SCSU) as outlined in Unicode Technical Report #6.

public class
UnicodeDecompressor

A decompression engine implementing the Standard Compression Scheme for Unicode (SCSU) as outlined in Unicode Technical Report #6.

public abstract class
UnicodeFilter

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

pack-priv class
UnicodeNameTransliterator

A transliterator that performs character to name mapping.

public class
UnicodeSet

A mutable set of Unicode characters and multicharacter strings.

public class
UnicodeSetIterator

UnicodeSetIterator iterates over the contents of a UnicodeSet.

public class
UnicodeSetSpanner

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

pack-priv class
UppercaseTransliterator

A transliterator that performs locale-sensitive toUpper() case mapping.

public class
UTF16

Standalone utility class providing UTF16 character conversions and indexing conversions.

Enum Summary

Modifier and TypeEnum and Description
public enum
DisplayContext

Display context settings.