Package com.ibm.icu.text
package com.ibm.icu.text
-
ClassDescriptionA substitution that formats the absolute value of the number.AlphabeticIndex supports the creation of a UI index appropriate for a given language.An index "bucket" with a label string and type.Type of the labelImmutable, thread-safe version of
AlphabeticIndex
.A (name, data) pair, to be sorted by name into one of the index buckets.A transliterator that translates multiple input scripts to a single output script.Returns a series of ranges corresponding to scripts.Lazily initialize a special Transliterator for handling width characters.Shape Arabic text on a character basis.Thrown by ArabicShaping when there is a shaping error.Bidi algorithm for ICUOverrides default Bidi class values with custom ones.A BidiRun represents a sequence of characters at the same embedding level.Bidi Layout Transformation Engine.
indicates whether or not characters with the "mirrored" property in RTL runs should be replaced with their mirror-image counterparts.BidiTransform.Mirroring
indicates the order of text.BidiTransform.Order
.Inserts the specified characters at word breaks.This class allows one to iterate through all the strings that are canonically equivalent to a given string.A transliterator that performs locale-sensitive toLower() case mapping.Low-level case mapping options and methods.Case folding options and methods.Lowercasing options and methods.Titlecasing options and methods.Uppercasing options and methods.CharsetDetector
provides a facility for detecting the charset or encoding of character data in an unknown format.This class represents a charset that has been identified by a CharsetDetector as a possible encoding for a set of input data.class CharsetRecog_2022 part of the ICU charset detection implementation.CharsetRecognizer implementation for Asian - double or multi-byte - charsets.Big5 charset recognizer.EUC charset recognizers.The charset recognize for EUC-JP.The charset recognize for EUC-KR.GB-18030 recognizer.Shift-JIS charset recognizer.This class recognizes single-byte encodings.This class matches UTF-16 and UTF-32, both big- and little-endian.Charset recognizer for UTF-8Abstract class for recognizing a single charset.Deprecated.ICU 50 Use SimpleDateFormat instead.Deprecated.ICU 50Deprecated.ICU 50CollationElementIterator
is an iterator created by a RuleBasedCollator to walk through a string.ACollationKey
represents aString
under the rules of a specificCollator
object.Options that used in the API CollationKey.getBound() for getting a CollationKey based on the bound mode requested..Simpler/faster methods for ASCII than ones based on Unicode data.A factory used with registerFactory to register multiple collators and provide display names for them.Reordering codes for non-script groups that can be reordered under collation.Formats numbers in compact (abbreviated) notation, like "1.2K" instead of "1200".Style parameter for CompactDecimalFormat.Deprecated.ICU 2.2A transliterator that is composed of two or more other transliterator objects linked together.Represents a span of a string containing a given field.Represents the type of constraint for ConstrainedFieldPosition.Returns currency names localized for a locale.Temporary internal concrete subclass of MeasureFormat implementing parsing and formatting of CurrencyAmount objects.Provides information about currencies that is not specific to a locale.Represents the raw information about fraction digits and rounding increment.A filter used to select which currency info is returned.Represents a complete currency info record listing the region, currency, from and to dates, and priority.This class represents the information needed by DecimalFormat to format currency plural, such as "3.00 US dollars" or "1.00 US dollar"..boolean attributesThe instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that DateFormat.formatToCharacterIterator() method returns.Hour Cycle.Sink to enumerate the calendar dataEnum which specifies the type of alias received, or no aliasConstants for capitalization context usage types related to date formatting.DateIntervalFormat is a class for formatting and parsing date intervals in a language-independent manner.Used to save the information for a skeleton's best match skeleton.Used to output information during formatting.An immutable class containing the result of a date interval formatting operation.Class for span fields in FormattedDateInterval.DateIntervalInfo is a public class for encapsulating localizable date time interval patterns.Sink for enumerating all of the date interval skeletons.PatternInfo class saves the first and second part of interval pattern, and whether the interval pattern is earlier date first.This class provides flexible generation of date format patterns, like "yy-MM-dd".Field display name width constants for getFieldDisplayNameDeprecated.This API is ICU internal only.PatternInfo supplies output parameters for addPattern(...).A compact storage mechanism for skeleton field strings.Deprecated.This API is ICU internal only..Deprecated.This API is ICU internal only.. This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed byDecimalFormat
to format numbers.Sink for enumerating all of the decimal format symbols (more specifically, anything under the "NumberElements.symbols" tree).Display context settings.Type values for DisplayContextRepresents all the display options that are supported by CLDR such as grammatical case, noun class, ...Responsible for buildingDisplayOptions
.Represents all the capitalization options.Represents all the display lengths.Represents all the grammatical cases that are supported by CLDR.Represents all the name styles.Represents all the grammatical noun classes that are supported by CLDR.Standard CLDR plural category constants.Represents all the substitute handlings.Deprecated.ICU 56 Use MeasureFormat or RelativeDateTimeFormatter instead.Records lengths of string edits but not replacement text.Access to the list of edits.A transliterator that converts Unicode characters to an escape form.The BreakIteratorFilter is used to modify the behavior of a BreakIterator by constructing a new BreakIterator which suppresses certain segment boundaries.Normalization filtered by a UnicodeSet.An abstract formatted value: a string with associated field attributes.A substitution that formats the fractional part of a number.A replacer that calls a transliterator to generate its output text.Abstract base class for IDNA processing.IDNA error bit set values.Output container for IDNA processing errors.A substitution that formats the number's integral part.Immutable class for formatting a list, using data from CLDR (or supplied separately).Field selectors for format fields defined by ListFormatter.An immutable class containing the result of a list formatting operation.Class for span fields in FormattedList.Type of meaning expressed by the list.Verbosity level of the list patterns.Returns display names of ULocales and components of ULocales.Enum used inLocaleDisplayNames.getInstance(ULocale, DialectHandling)
.Minimum implementation of LocaleDisplayNamesStruct-like class used to return information for constructing a UI list, each corresponding to a locale.A transliterator that performs locale-sensitive toLower() case mapping.A formatter for Measure objects.Formatting width enum..Convenience wrapper for Appendable, tracks the result string length.Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromMessageFormat.formatToCharacterIterator
.Mutable input/output values for the PluralSelectorProvider.This provider helps defer instantiation of a PluralRules object until we actually need to select a keyword.Parses and represents ICU MessageFormat patterns.Mode for when an apostrophe starts quoted literal text for MessageFormat output.Argument type constants.A message pattern "part", representing a pattern parsing event.Part type constants.Utilities for working with a MessagePattern.A piece of MessageNode contents representing a message argument and its details.A Node representing details of the argument style of a complex argument.A piece of MessageNode contents.The type of a piece of MessageNode contents.A Node representing a parsed MessageFormat pattern string.Common base class for all elements in a tree of nodes returned byMessagePatternUtil.buildMessageNode(MessagePattern)
.Literal text, a piece of MessageNode contents.A Node representing a nested message (nested inside an argument) with its selection criterion.A substitution that divides the number being formatted by the its rule's divisor and formats the remainder.A substitution that divides the number being formatted by the rule's divisor and formats the quotient.A transliterator that performs name to character mapping.A class representing a single rule in a RuleBasedNumberFormat.A collection of rules used by a RuleBasedNumberFormat to format and parse numbers.An abstract class defining protocol for substitutions.Old Unicode normalization API.An Appendable that writes into a char array with a capacity that may be less than array.length.Deprecated.ICU 56 UseNormalizer2
instead.Result values for quickCheck().Unicode normalization functionality for standard Unicode normalization or for using custom mapping tables.Constants for normalization modes.A transliterator that leaves text unchanged..The instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that NumberFormat.formatToCharacterIterator() method returns.A NumberFormatFactory is used to register new number formats.A NumberFormatFactory that supports a single locale.NumberingSystem
is the base class for all number systems.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.An object used to provide name data to the PersonNameFormatter for formatting.Identifiers for the name field modifiers supported by the PersonName and PersonNameFormatter objects.Identifiers for the name fields supported by the PersonName object.An enum to specify the preferred field order for the name.A class for formatting names of people.A utility class that can be used to construct a PersonNameFormatter.An enum indicating the desired display order for a formatted name.Specifies the intended formality of the formatted name.Specifies the desired length of the formatted name.Specifies the intended usage of the formatted name.PluralFormat
supports the creation of internationalized messages with plural inflection.Interface for selecting PluralFormat keywords for numbers.Defines rules for mapping non-negative numeric values onto a small set of keywords.Deprecated.This API is ICU internal only.Deprecated.This API is ICU internal only.Deprecated.This API is ICU internal only.Deprecated.This API is ICU internal only.Deprecated.This API is ICU internal only.Status of the keyword for the rules, given a set of explicit values.Deprecated.This API is ICU internal only.Type of plurals and PluralRules.Deprecated.This API is ICU internal only.QuantityFormatter represents an unknown quantity of something and formats a known quantity in terms of that something.Simple class wrapper to store the internal byte representation of a CollationKey.This class represents a node in the parse tree created by the RBBI Rule compiler.Generated Java File.This class is part of the Rule Based Break Iterator rule compiler.This class is part of the RBBI rule compiler.A post-processor for Chinese text.Deprecated.ICU 54Deprecated.ICU 54Post processor for RBNF output.Formats simple relative dates.Represents an absolute unit.Represents a direction for an absolute unit e.g "Next Tuesday" or "Last Tuesday"Field constants used when accessing field information for relative datetime strings in FormattedValue.Represents the result of a formatting operation of a relative datetime.Represents the unit for formatting a relative date.Represents the unit for formatting a relative date.Sink for enumerating all of the relative data time formatter names.The formatting styleA transliterator that removes characters.Replaceable
is an interface representing a string of characters that supports the replacement of a range of itself with a new string of characters.Implementation of UCaseProps.ContextIterator, iterates over a Replaceable.ReplaceableString
is an adapter class that implements theReplaceable
API around an ordinaryStringBuffer
.Rule Based Break Iterator This is a port of the C++ class RuleBasedBreakIterator from ICU4C.RuleBasedCollator is a concrete subclass of Collator.Abstract iterator for identical-level string comparisons.A class that formats numbers according to a set of rules.Deprecated.This API is ICU internal only.A substitution that passes the value passed to it through unchanged.A formatter that formats numbers in user-friendly scientific notation.A style type for ScientificNumberFormatter.An interface defining constants for the Standard Compression Scheme for Unicode (SCSU) as outlined in Unicode Technical Report #6.SearchIterator is an abstract base class that provides methods to search for a pattern within a text string.Option to control how collation elements are compared.SelectFormat
supports the creation of internationalized messages by selecting phrases based on keywords..Old ContextValue enum, preserved only to avoid deserialization errs from ICU 49.1.Formats simple patterns like "{1} was born in {0}".A concrete implementation of PersonNameFormatter.PersonName that simply stores the field values in a Map.A utility class for constructing a SimplePersonName.Simple internal utility class for helping with getSource/TargetSetThis class, based on Unicode Technical Report #36 and Unicode Technical Standard #39, has two main functions: Checking whether two strings are visually confusable with each other, such as "desparejado" and "ԁеѕрагејаԁо". 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.SpoofChecker Builder.A struct-like class to hold the results of a Spoof Check operation.Constants from UTS 39 for use in setRestrictionLevel.Deprecated.ICU 2.4.An object that matches a fixed input string, implementing the UnicodeMatcher API.StringPrep API implements the StingPrep framework as described by RFC 3454.Exception that signals an error has occurred while parsing the input to StringPrep or IDNA.A replacer that produces static text as its output.StringSearch is aSearchIterator
that provides language-sensitive text searching based on the comparison rules defined in aRuleBasedCollator
object.CEBuffer A circular buffer of CEs from the text being searchedJava port of ICU4C CEI (usearch.cpp) CEI Collation Element + source text index.Java port of ICU4C UCollationPCE (usrchimp.h)Processed collation element buffer stuff ported from ICU4C ucoleitr.cppRaw collation element buffer stuff ported from ICU4C ucoleitr.cppAn object used for receiving matched index in search() and searchBackwards().Java port of ICU4C struct UPattern (usrchimp.h)Provide a base class for Transforms that focuses just on the transformation of the text.An interface that defines both lookup protocol and parsing of symbolic names.Deprecated.ICU 53 useMeasureFormat
instead.TimeZoneFormat
supports time zone display name formatting and parsing.Used for representing localized GMT time fields in the parsed pattern object.Offset pattern type enum.Numeric offset field combinationsParse option enum, used for specifying optional parse behavior.Time zone display format style enum used by format/parse APIs inTimeZoneFormat
.Time type enum used for receiving time type (standard time, daylight time or unknown) inTimeZoneFormat
APIs.ImplementsTimeZoneFormat
object cacheTimeZoneNames
is an abstract class representing the time zone display name data model defined by UTS#35 Unicode Locale Data Markup Language (LDML).TimeZoneNames cache used byTimeZoneNames.getInstance(ULocale)
The default implementation ofTimeZoneNames
used byTimeZoneNames.getInstance(ULocale)
when the ICU4J tznamedata component is not available.The defaultTimeZoneNames
factory called fromTimeZoneNames.getInstance(ULocale)
when the ICU4J tznamedata component is not available.Deprecated.This API is ICU internal only.AMatchInfo
represents a time zone name match used byTimeZoneNames.find(CharSequence, int, EnumSet)
.Time zone display name typesA transliterator that converts all letters (as defined byUCharacter.isLetter()
) to lower case, except for those letters preceded by non-letters.Transform<S,D> Provide an interface for Transforms that focuses just on the transformation of the text.A transliteration rule used byRuleBasedTransliterator
.A set of rules for aRuleBasedTransliterator
.Transliterator
is an abstract class that transliterates text from one format to another.The factory interface for transliterators.Position structure for incremental transliteration.Parsing component for transliterator IDs.A structure containing the canonicalized data of a filtered ID, that is, a basic ID optionally with a filter.A structure containing the parsed data of a filtered ID, that is, a basic ID optionally with a filter.RuleBody subclass for a String[] array.A private abstract class representing the interface to rule source code that is broken up into lines.A class representing one side of a rule.An internal class that adapts an enumeration over CaseInsensitiveStrings to an enumeration over Strings.A Spec is a string specifying either a source or a target.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.Deprecated.This API is ICU internal only.An abstract class that extendsFormat
to provide additional ICU protocol, specifically, the getLocale() API.A field that represents a span of text that may be composed with other fields.Interface that defines an API for forward-only iteration on text objects.A transliterator that converts Unicode escape forms to the characters they represent.A compression engine implementing the Standard Compression Scheme for Unicode (SCSU) as outlined in Unicode Technical Report #6.A decompression engine implementing the Standard Compression Scheme for Unicode (SCSU) as outlined in Unicode Technical Report #6.UnicodeFilter
defines a protocol for selecting a subset of the full range (U+0000 to U+FFFF) of Unicode characters.UnicodeMatcher
defines a protocol for objects that can match a range of characters in a Replaceable string.A transliterator that performs character to name mapping.UnicodeReplacer
defines a protocol for objects that replace a range of characters in a Replaceable string with output text.A mutable set of Unicode characters and multicharacter strings.This class is optimized to iterate on code points and will be used to implement both the Iterator(Integer, boxed value) and the Spliterator.OfInt (int primitive). Comparison style enums used byUnicodeSet.compareTo(UnicodeSet, ComparisonStyle)
.A struct-like class used for iteration through ranges, for faster iteration than by String.Argument values for whether span() and similar functions continue while the current character is contained vs.Internal class for customizing UnicodeSet parsing of properties.UnicodeSetIterator iterates over the contents of a UnicodeSet.A helper class used to count, replace, and trim CharSequences based on UnicodeSet matches.Options for replaceFrom and countIn to control how to treat each matched span.Options for the trim() methodA transliterator that performs locale-sensitive toUpper() case mapping.Standalone utility class providing UTF16 character conversions and indexing conversions.UTF16 string comparator class.