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.
- Unicode Transforms (Transliteration) convert between different representations of unicode text.
- UnicodeSet provides set operations on unicode characters and strings, and are representable as compact expressions.
- Surrogate character utilities (UTF16) provides indexing and substring operations on text containing surrogates.
- UCA collation implements the current Unicode Collation Algorithm. Data for many locale-specific collations is provided.
- Normalization supports standard Unicode normalization forms as well as FCD.
- Break iteration supports character, word, line, sentences, and title case breaks.
- Enhanced number format to 'spell out' numbers, padding and rounding control.
- Internationally sensitive string searching, uses collation.
- Arabic shaping converts between shaped and unshaped arabic characters and digits.
-
Interface Summary Interface Description Collator.ReorderCodes Reordering codes for non-script groups that can be reordered under collation.DecimalFormat.PropertySetter Deprecated. This API is ICU internal only.FormattedValue An abstract formatted value: a string with associated field attributes.ListFormatter.PatternHandler PersonName An object used to provide name data to the PersonNameFormatter for formatting.PluralFormat.PluralSelector Interface for selecting PluralFormat keywords for numbers.PluralRules.Constraint PluralRules.IFixedDecimal Deprecated. This API is ICU internal only.RbnfLenientScanner Deprecated. ICU 54RbnfLenientScannerProvider Deprecated. ICU 54RBNFPostProcessor Post processor for RBNF output.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.SCSU An interface defining constants for the Standard Compression Scheme for Unicode (SCSU) as outlined in Unicode Technical Report #6.StringTransform Provide a base class for Transforms that focuses just on the transformation of the text.SymbolTable An interface that defines both lookup protocol and parsing of symbolic names.Transform<S,D> Provide an interface for Transforms that focuses just on the transformation of the text.Transliterator.Factory The factory interface for transliterators.UForwardCharacterIterator Interface that defines an API for forward-only iteration on text objects.UnicodeMatcher UnicodeMatcher
defines a protocol for objects that can match a range of characters in a Replaceable string.UnicodeReplacer UnicodeReplacer
defines a protocol for objects that replace a range of characters in a Replaceable string with output text.UnicodeSet.Filter -
Class Summary Class Description AbsoluteValueSubstitution A substitution that formats the absolute value of the number.AlphabeticIndex<V> AlphabeticIndex supports the creation of a UI index appropriate for a given language.AlphabeticIndex.Bucket<V> An index "bucket" with a label string and type.AlphabeticIndex.BucketList<V> AlphabeticIndex.ImmutableIndex<V> Immutable, thread-safe version ofAlphabeticIndex
.AlphabeticIndex.Record<V> A (name, data) pair, to be sorted by name into one of the index buckets.AnyTransliterator A transliterator that translates multiple input scripts to a single output script.AnyTransliterator.ScriptRunIterator Returns a series of ranges corresponding to scripts.AnyTransliterator.WidthFix Lazily initialize a special Transliterator for handling width characters.ArabicShaping Shape Arabic text on a character basis.Bidi Bidi algorithm for ICUBidi.BracketData Bidi.ImpTabPair Bidi.InsertPoints Bidi.Isolate Bidi.IsoRun Bidi.LevState Bidi.Opening Bidi.Point BidiClassifier Overrides default Bidi class values with custom ones.BidiLine BidiRun A BidiRun represents a sequence of characters at the same embedding level.BidiTransform Bidi Layout Transformation Engine.BidiWriter BreakIterator .BreakIterator.BreakIteratorCache BreakIterator.BreakIteratorServiceShim BreakIteratorFactory BreakIteratorFactory.BFService BreakTransliterator Inserts the specified characters at word breaks.BreakTransliterator.ReplaceableCharacterIterator CanonicalIterator This class allows one to iterate through all the strings that are canonically equivalent to a given string.CaseFoldTransliterator A transliterator that performs locale-sensitive toLower() case mapping.CaseMap Low-level case mapping options and methods.CaseMap.Fold Case folding options and methods.CaseMap.Lower Lowercasing options and methods.CaseMap.Title Titlecasing options and methods.CaseMap.Upper Uppercasing options and methods.CharsetDetector CharsetDetector
provides a facility for detecting the charset or encoding of character data in an unknown format.CharsetDetector.CSRecognizerInfo CharsetMatch This class represents a charset that has been identified by a CharsetDetector as a possible encoding for a set of input data.CharsetRecog_2022 class CharsetRecog_2022 part of the ICU charset detection implementation.CharsetRecog_2022.CharsetRecog_2022CN CharsetRecog_2022.CharsetRecog_2022JP CharsetRecog_2022.CharsetRecog_2022KR CharsetRecog_mbcs CharsetRecognizer implementation for Asian - double or multi-byte - charsets.CharsetRecog_mbcs.CharsetRecog_big5 Big5 charset recognizer.CharsetRecog_mbcs.CharsetRecog_euc EUC charset recognizers.CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_jp The charset recognize for EUC-JP.CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_kr The charset recognize for EUC-KR.CharsetRecog_mbcs.CharsetRecog_gb_18030 GB-18030 recognizer.CharsetRecog_mbcs.CharsetRecog_sjis Shift-JIS charset recognizer.CharsetRecog_mbcs.iteratedChar CharsetRecog_sbcs This class recognizes single-byte encodings.CharsetRecog_sbcs.CharsetRecog_8859_1 CharsetRecog_sbcs.CharsetRecog_8859_2 CharsetRecog_sbcs.CharsetRecog_8859_5 CharsetRecog_sbcs.CharsetRecog_8859_5_ru CharsetRecog_sbcs.CharsetRecog_8859_6 CharsetRecog_sbcs.CharsetRecog_8859_6_ar CharsetRecog_sbcs.CharsetRecog_8859_7 CharsetRecog_sbcs.CharsetRecog_8859_7_el CharsetRecog_sbcs.CharsetRecog_8859_8 CharsetRecog_sbcs.CharsetRecog_8859_8_he CharsetRecog_sbcs.CharsetRecog_8859_8_I_he CharsetRecog_sbcs.CharsetRecog_8859_9 CharsetRecog_sbcs.CharsetRecog_8859_9_tr CharsetRecog_sbcs.CharsetRecog_IBM420_ar CharsetRecog_sbcs.CharsetRecog_IBM420_ar_ltr CharsetRecog_sbcs.CharsetRecog_IBM420_ar_rtl CharsetRecog_sbcs.CharsetRecog_IBM424_he CharsetRecog_sbcs.CharsetRecog_IBM424_he_ltr CharsetRecog_sbcs.CharsetRecog_IBM424_he_rtl CharsetRecog_sbcs.CharsetRecog_KOI8_R CharsetRecog_sbcs.CharsetRecog_windows_1251 CharsetRecog_sbcs.CharsetRecog_windows_1256 CharsetRecog_sbcs.NGramParser CharsetRecog_sbcs.NGramParser_IBM420 CharsetRecog_sbcs.NGramsPlusLang CharsetRecog_Unicode This class matches UTF-16 and UTF-32, both big- and little-endian.CharsetRecog_Unicode.CharsetRecog_UTF_16_BE CharsetRecog_Unicode.CharsetRecog_UTF_16_LE CharsetRecog_Unicode.CharsetRecog_UTF_32 CharsetRecog_Unicode.CharsetRecog_UTF_32_BE CharsetRecog_Unicode.CharsetRecog_UTF_32_LE CharsetRecog_UTF8 Charset recognizer for UTF-8CharsetRecognizer Abstract class for recognizing a single charset.ChineseDateFormat Deprecated. ICU 50 Use SimpleDateFormat instead.ChineseDateFormat.Field Deprecated. ICU 50ChineseDateFormatSymbols Deprecated. ICU 50CollationElementIterator CollationElementIterator
is an iterator created by a RuleBasedCollator to walk through a string.CollationElementIterator.MaxExpSink CollationKey ACollationKey
represents aString
under the rules of a specificCollator
object.CollationKey.BoundMode Options that used in the API CollationKey.getBound() for getting a CollationKey based on the bound mode requested.Collator .Collator.ASCII Simpler/faster methods for ASCII than ones based on Unicode data.Collator.CollatorFactory A factory used with registerFactory to register multiple collators and provide display names for them.Collator.KeywordsSink Collator.ServiceShim CollatorServiceShim CollatorServiceShim.CService CompactDecimalFormat Formats numbers in compact (abbreviated) notation, like "1.2K" instead of "1200".ComposedCharIter Deprecated. ICU 2.2CompoundTransliterator A transliterator that is composed of two or more other transliterator objects linked together.ConstrainedFieldPosition Represents a span of a string containing a given field.CurrencyDisplayNames Returns currency names localized for a locale.CurrencyFormat Temporary internal concrete subclass of MeasureFormat implementing parsing and formatting of CurrencyAmount objects.CurrencyMetaInfo Provides information about currencies that is not specific to a locale.CurrencyMetaInfo.CurrencyDigits Represents the raw information about fraction digits and rounding increment.CurrencyMetaInfo.CurrencyFilter A filter used to select which currency info is returned.CurrencyMetaInfo.CurrencyInfo Represents a complete currency info record listing the region, currency, from and to dates, and priority.CurrencyPluralInfo This class represents the information needed by DecimalFormat to format currency plural, such as "3.00 US dollars" or "1.00 US dollar".DateFormat .DateFormat.Field The instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that DateFormat.formatToCharacterIterator() method returns.DateFormatSymbols .DateFormatSymbols.CalendarDataSink Sink to enumerate the calendar dataDateIntervalFormat DateIntervalFormat is a class for formatting and parsing date intervals in a language-independent manner.DateIntervalFormat.BestMatchInfo Used to save the information for a skeleton's best match skeleton.DateIntervalFormat.FormatOutput Used to output information during formatting.DateIntervalFormat.FormattedDateInterval An immutable class containing the result of a date interval formatting operation.DateIntervalFormat.SkeletonAndItsBestMatch DateIntervalFormat.SpanField Class for span fields in FormattedDateInterval.DateIntervalInfo DateIntervalInfo is a public class for encapsulating localizable date time interval patterns.DateIntervalInfo.DateIntervalSink Sink for enumerating all of the date interval skeletons.DateIntervalInfo.PatternInfo PatternInfo class saves the first and second part of interval pattern, and whether the interval pattern is earlier date first.DateTimePatternGenerator This class provides flexible generation of date format patterns, like "yy-MM-dd".DateTimePatternGenerator.DateTimeMatcher DateTimePatternGenerator.DayPeriodAllowedHoursSink DateTimePatternGenerator.DistanceInfo DateTimePatternGenerator.FormatParser Deprecated. This API is ICU internal only.DateTimePatternGenerator.PatternInfo PatternInfo supplies output parameters for addPattern(...).DateTimePatternGenerator.PatternWithMatcher DateTimePatternGenerator.PatternWithSkeletonFlag DateTimePatternGenerator.SkeletonFields A compact storage mechanism for skeleton field strings.DateTimePatternGenerator.VariableField Deprecated. This API is ICU internal only.DecimalFormat .DecimalFormatSymbols . This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed byDecimalFormat
to format numbers.DecimalFormatSymbols.CacheData DecimalFormatSymbols.DecFmtDataSink Sink for enumerating all of the decimal format symbols (more specifically, anything under the "NumberElements.symbols" tree).DisplayOptions Represents all the display options that are supported by CLDR such as grammatical case, noun class, ...DisplayOptions.Builder Responsible for buildingDisplayOptions
.DurationFormat Deprecated. ICU 56 Use MeasureFormat or RelativeDateTimeFormatter instead.Edits Records lengths of string edits but not replacement text.Edits.Iterator Access to the list of edits.EscapeTransliterator A transliterator that converts Unicode characters to an escape form.FilteredBreakIteratorBuilder The BreakIteratorFilter is used to modify the behavior of a BreakIterator by constructing a new BreakIterator which suppresses certain segment boundaries.FilteredNormalizer2 Normalization filtered by a UnicodeSet.FractionalPartSubstitution A substitution that formats the fractional part of a number.FunctionReplacer A replacer that calls a transliterator to generate its output text.IDNA Abstract base class for IDNA processing.IDNA.Info Output container for IDNA processing errors.IntegralPartSubstitution A substitution that formats the number's integral part.ListFormatter Immutable class for formatting a list, using data from CLDR (or supplied separately).ListFormatter.Cache ListFormatter.ContextualHandler ListFormatter.Field Field selectors for format fields defined by ListFormatter.ListFormatter.FormattedList An immutable class containing the result of a list formatting operation.ListFormatter.FormattedListBuilder ListFormatter.SpanField Class for span fields in FormattedList.ListFormatter.StaticHandler LocaleDisplayNames Returns display names of ULocales and components of ULocales.LocaleDisplayNames.LastResortLocaleDisplayNames Minimum implementation of LocaleDisplayNamesLocaleDisplayNames.UiListItem Struct-like class used to return information for constructing a UI list, each corresponding to a locale.LocaleDisplayNames.UiListItem.UiListItemComparator LowercaseTransliterator A transliterator that performs locale-sensitive toLower() case mapping.MeasureFormat A formatter for Measure objects.MeasureFormat.MeasureProxy MeasureFormat.NumberFormatterCacheEntry MeasureFormat.NumericFormatters MessageFormat .MessageFormat.AppendableWrapper Convenience wrapper for Appendable, tracks the result string length.MessageFormat.AttributeAndPosition MessageFormat.Field Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromMessageFormat.formatToCharacterIterator
.MessageFormat.PluralSelectorContext Mutable input/output values for the PluralSelectorProvider.MessageFormat.PluralSelectorProvider This provider helps defer instantiation of a PluralRules object until we actually need to select a keyword.MessagePattern Parses and represents ICU MessageFormat patterns.MessagePattern.Part A message pattern "part", representing a pattern parsing event.MessagePatternUtil Utilities for working with a MessagePattern.MessagePatternUtil.ArgNode A piece of MessageNode contents representing a message argument and its details.MessagePatternUtil.ComplexArgStyleNode A Node representing details of the argument style of a complex argument.MessagePatternUtil.MessageContentsNode A piece of MessageNode contents.MessagePatternUtil.MessageNode A Node representing a parsed MessageFormat pattern string.MessagePatternUtil.Node Common base class for all elements in a tree of nodes returned byMessagePatternUtil.buildMessageNode(MessagePattern)
.MessagePatternUtil.TextNode Literal text, a piece of MessageNode contents.MessagePatternUtil.VariantNode A Node representing a nested message (nested inside an argument) with its selection criterion.ModulusSubstitution A substitution that divides the number being formatted by the its rule's divisor and formats the remainder.MultiplierSubstitution A substitution that divides the number being formatted by the rule's divisor and formats the quotient.NameUnicodeTransliterator A transliterator that performs name to character mapping.NFRule A class representing a single rule in a RuleBasedNumberFormat.NFRuleSet A collection of rules used by a RuleBasedNumberFormat to format and parse numbers.NFSubstitution An abstract class defining protocol for substitutions.NormalizationTransliterator NormalizationTransliterator.NormalizingTransform Normalizer Old Unicode normalization API.Normalizer.CharsAppendable An Appendable that writes into a char array with a capacity that may be less than array.length.Normalizer.CmpEquivLevel Normalizer.FCD32ModeImpl Normalizer.FCDMode Normalizer.FCDModeImpl Normalizer.Mode Deprecated. ICU 56 UseNormalizer2
instead.Normalizer.ModeImpl Normalizer.NFC32ModeImpl Normalizer.NFCMode Normalizer.NFCModeImpl Normalizer.NFD32ModeImpl Normalizer.NFDMode Normalizer.NFDModeImpl Normalizer.NFKC32ModeImpl Normalizer.NFKCMode Normalizer.NFKCModeImpl Normalizer.NFKD32ModeImpl Normalizer.NFKDMode Normalizer.NFKDModeImpl Normalizer.NONEMode Normalizer.QuickCheckResult Result values for quickCheck().Normalizer.Unicode32 Normalizer2 Unicode normalization functionality for standard Unicode normalization or for using custom mapping tables.NullTransliterator A transliterator that leaves text unchanged.NumberFormat .NumberFormat.Field The instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that NumberFormat.formatToCharacterIterator() method returns.NumberFormat.NumberFormatFactory A NumberFormatFactory is used to register new number formats.NumberFormat.NumberFormatShim NumberFormat.SimpleNumberFormatFactory A NumberFormatFactory that supports a single locale.NumberFormatServiceShim NumberFormatServiceShim.NFFactory NumberFormatServiceShim.NFService NumberingSystem NumberingSystem
is the base class for all number systems.NumberingSystem.LocaleLookupData 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.PersonNameFormatter A class for formatting names of people.PersonNameFormatter.Builder A utility class that can be used to construct a PersonNameFormatter.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.PluralRules.AndConstraint PluralRules.BinaryConstraint PluralRules.DecimalQuantitySamples Deprecated. This API is ICU internal only.PluralRules.DecimalQuantitySamplesRange Deprecated. This API is ICU internal only.PluralRules.Factory Deprecated. This API is ICU internal only.PluralRules.FixedDecimal Deprecated. This API is ICU internal only.PluralRules.OrConstraint PluralRules.RangeConstraint PluralRules.Rule PluralRules.RuleList PluralRules.SimpleTokenizer PluralRulesSerialProxy Quantifier QuantityFormatter QuantityFormatter represents an unknown quantity of something and formats a known quantity in terms of that something.RawCollationKey Simple class wrapper to store the internal byte representation of a CollationKey.RBBINode This class represents a node in the parse tree created by the RBBI Rule compiler.RBBIRuleBuilder RBBIRuleBuilder.IntPair RBBIRuleParseTable Generated Java File.RBBIRuleParseTable.RBBIRuleTableElement RBBIRuleScanner This class is part of the Rule Based Break Iterator rule compiler.RBBIRuleScanner.RBBIRuleChar RBBIRuleScanner.RBBISetTableEl RBBISetBuilder RBBISetBuilder.RangeDescriptor RBBISymbolTable RBBISymbolTable.RBBISymbolTableEntry RBBITableBuilder This class is part of the RBBI rule compiler.RBBITableBuilder.RBBIStateDescriptor RBNFChinesePostProcessor A post-processor for Chinese text.RelativeDateTimeFormatter Formats simple relative dates.RelativeDateTimeFormatter.Cache RelativeDateTimeFormatter.Field Field constants used when accessing field information for relative datetime strings in FormattedValue.RelativeDateTimeFormatter.FormattedRelativeDateTime Represents the result of a formatting operation of a relative datetime.RelativeDateTimeFormatter.Loader RelativeDateTimeFormatter.RelativeDateTimeFormatterData RelativeDateTimeFormatter.RelDateTimeDataSink Sink for enumerating all of the relative data time formatter names.RemoveTransliterator A transliterator that removes characters.ReplaceableContextIterator Implementation of UCaseProps.ContextIterator, iterates over a Replaceable.ReplaceableString ReplaceableString
is an adapter class that implements theReplaceable
API around an ordinaryStringBuffer
.RuleBasedBreakIterator Rule Based Break Iterator This is a port of the C++ class RuleBasedBreakIterator from ICU4C.RuleBasedCollator RuleBasedCollator is a concrete subclass of Collator.RuleBasedCollator.CollationBuffer RuleBasedCollator.CollationKeyByteSink RuleBasedCollator.FCDUTF16NFDIterator RuleBasedCollator.NFDIterator Abstract iterator for identical-level string comparisons.RuleBasedCollator.UTF16NFDIterator RuleBasedNumberFormat A class that formats numbers according to a set of rules.RuleBasedTransliterator Deprecated. This API is ICU internal only.RuleBasedTransliterator.Data SameValueSubstitution A substitution that passes the value passed to it through unchanged.ScientificNumberFormatter A formatter that formats numbers in user-friendly scientific notation.ScientificNumberFormatter.MarkupStyle ScientificNumberFormatter.Style A style type for ScientificNumberFormatter.ScientificNumberFormatter.SuperscriptStyle 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 .SimpleDateFormat.PatternItem SimpleFormatter Formats simple patterns like "{1} was born in {0}".SimplePersonName A concrete implementation of PersonNameFormatter.PersonName that simply stores the field values in a Map.SimplePersonName.Builder A utility class for constructing a SimplePersonName.SourceTargetUtility Simple internal utility class for helping with getSource/TargetSetSpoofChecker This 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 SpoofChecker Builder.SpoofChecker.Builder.ConfusabledataBuilder SpoofChecker.Builder.ConfusabledataBuilder.SPUString SpoofChecker.Builder.ConfusabledataBuilder.SPUStringComparator SpoofChecker.Builder.ConfusabledataBuilder.SPUStringPool SpoofChecker.CheckResult A struct-like class to hold the results of a Spoof Check operation.SpoofChecker.ConfusableDataUtils SpoofChecker.ScriptSet SpoofChecker.SpoofData SpoofChecker.SpoofData.DefaultData SpoofChecker.SpoofData.IsAcceptable StringCharacterIterator Deprecated. ICU 2.4.StringMatcher An object that matches a fixed input string, implementing the UnicodeMatcher API.StringPrep StringPrep API implements the StingPrep framework as described by RFC 3454.StringPrep.Values StringReplacer A replacer that produces static text as its output.StringSearch StringSearch is aSearchIterator
that provides language-sensitive text searching based on the comparison rules defined in aRuleBasedCollator
object.StringSearch.CEBuffer CEBuffer A circular buffer of CEs from the text being searchedStringSearch.CEI Java port of ICU4C CEI (usearch.cpp) CEI Collation Element + source text index.StringSearch.CollationPCE Java port of ICU4C UCollationPCE (usrchimp.h)StringSearch.CollationPCE.PCEBuffer StringSearch.CollationPCE.PCEI Processed collation element buffer stuff ported from ICU4C ucoleitr.cppStringSearch.CollationPCE.Range StringSearch.CollationPCE.RCEBuffer StringSearch.CollationPCE.RCEI Raw collation element buffer stuff ported from ICU4C ucoleitr.cppStringSearch.Match An object used for receiving matched index in search() and searchBackwards().StringSearch.Pattern Java port of ICU4C struct UPattern (usrchimp.h)TimeUnitFormat Deprecated. ICU 53 useMeasureFormat
instead.TimeUnitFormat.TimeUnitFormatSetupSink TimeZoneFormat TimeZoneFormat
supports time zone display name formatting and parsing.TimeZoneFormat.GMTOffsetField Used for representing localized GMT time fields in the parsed pattern object.TimeZoneFormat.TimeZoneFormatCache ImplementsTimeZoneFormat
object cacheTimeZoneNames TimeZoneNames
is an abstract class representing the time zone display name data model defined by UTS#35 Unicode Locale Data Markup Language (LDML).TimeZoneNames.Cache TimeZoneNames cache used byTimeZoneNames.getInstance(ULocale)
TimeZoneNames.DefaultTimeZoneNames The default implementation ofTimeZoneNames
used byTimeZoneNames.getInstance(ULocale)
when the ICU4J tznamedata component is not available.TimeZoneNames.DefaultTimeZoneNames.FactoryImpl The defaultTimeZoneNames
factory called fromTimeZoneNames.getInstance(ULocale)
when the ICU4J tznamedata component is not available.TimeZoneNames.Factory Deprecated. This API is ICU internal only.TimeZoneNames.MatchInfo AMatchInfo
represents a time zone name match used byTimeZoneNames.find(CharSequence, int, EnumSet)
.TitlecaseTransliterator A transliterator that converts all letters (as defined byUCharacter.isLetter()
) to lower case, except for those letters preceded by non-letters.TransliterationRule A transliteration rule used byRuleBasedTransliterator
.TransliterationRuleSet A set of rules for aRuleBasedTransliterator
.Transliterator Transliterator
is an abstract class that transliterates text from one format to another.Transliterator.Position Position structure for incremental transliteration.TransliteratorIDParser Parsing component for transliterator IDs.TransliteratorIDParser.SingleID A structure containing the canonicalized data of a filtered ID, that is, a basic ID optionally with a filter.TransliteratorIDParser.Specs A structure containing the parsed data of a filtered ID, that is, a basic ID optionally with a filter.TransliteratorParser TransliteratorParser.RuleArray RuleBody subclass for a String[] array.TransliteratorParser.RuleBody A private abstract class representing the interface to rule source code that is broken up into lines.TransliteratorParser.RuleHalf A class representing one side of a rule.TransliteratorRegistry TransliteratorRegistry.AliasEntry TransliteratorRegistry.CompoundRBTEntry TransliteratorRegistry.IDEnumeration An internal class that adapts an enumeration over CaseInsensitiveStrings to an enumeration over Strings.TransliteratorRegistry.LocaleEntry TransliteratorRegistry.ResourceEntry TransliteratorRegistry.Spec A Spec is a string specifying either a source or a target.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.UFieldPosition Deprecated. This API is ICU internal only.UFormat An abstract class that extendsFormat
to provide additional ICU protocol, specifically, the getLocale() API.UFormat.SpanField A field that represents a span of text that may be composed with other fields.UnescapeTransliterator A transliterator that converts Unicode escape forms to the characters they represent.UnicodeCompressor A compression engine implementing the Standard Compression Scheme for Unicode (SCSU) as outlined in Unicode Technical Report #6.UnicodeDecompressor A decompression engine implementing the Standard Compression Scheme for Unicode (SCSU) as outlined in Unicode Technical Report #6.UnicodeFilter UnicodeFilter
defines a protocol for selecting a subset of the full range (U+0000 to U+FFFF) of Unicode characters.UnicodeNameTransliterator A transliterator that performs character to name mapping.UnicodeSet A mutable set of Unicode characters and multicharacter strings.UnicodeSet.EntryRange A struct-like class used for iteration through ranges, for faster iteration than by String.UnicodeSet.GeneralCategoryMaskFilter UnicodeSet.IdentifierTypeFilter UnicodeSet.IntPropertyFilter UnicodeSet.NumericValueFilter UnicodeSet.ScriptExtensionsFilter UnicodeSet.UnicodeSetIterator2 UnicodeSet.VersionFilter UnicodeSet.XSymbolTable Internal class for customizing UnicodeSet parsing of properties.UnicodeSetIterator UnicodeSetIterator iterates over the contents of a UnicodeSet.UnicodeSetSpanner A helper class used to count, replace, and trim CharSequences based on UnicodeSet matches.UppercaseTransliterator A transliterator that performs locale-sensitive toUpper() case mapping.UTF16 Standalone utility class providing UTF16 character conversions and indexing conversions.UTF16.StringComparator UTF16 string comparator class. -
Enum Summary Enum Description AlphabeticIndex.Bucket.LabelType Type of the labelBidiTransform.Mirroring
indicates whether or not characters with the "mirrored" property in RTL runs should be replaced with their mirror-image counterparts.BidiTransform.Mirroring
BidiTransform.Order
indicates the order of text.BidiTransform.Order
BidiTransform.ReorderingScheme CompactDecimalFormat.CompactStyle Style parameter for CompactDecimalFormat.ConstrainedFieldPosition.ConstraintType Represents the type of constraint for ConstrainedFieldPosition.DateFormat.BooleanAttribute boolean attributesDateFormat.HourCycle Hour CycleDateFormatSymbols.CalendarDataSink.AliasType Enum which specifies the type of alias received, or no aliasDateFormatSymbols.CapitalizationContextUsage Constants for capitalization context usage types related to date formatting.DateTimePatternGenerator.DisplayWidth Field display name width constants for getFieldDisplayNameDateTimePatternGenerator.DTPGflags DisplayContext Display context settings.DisplayContext.Type Type values for DisplayContextDisplayOptions.Capitalization Represents all the capitalization options.DisplayOptions.DisplayLength Represents all the display lengths.DisplayOptions.GrammaticalCase Represents all the grammatical cases that are supported by CLDR.DisplayOptions.NameStyle Represents all the name styles.DisplayOptions.NounClass Represents all the grammatical noun classes that are supported by CLDR.DisplayOptions.PluralCategory Standard CLDR plural category constants.DisplayOptions.SubstituteHandling Represents all the substitute handlings.IDNA.Error IDNA error bit set values.ListFormatter.Type Type of meaning expressed by the list.ListFormatter.Width Verbosity level of the list patterns.LocaleDisplayNames.DialectHandling Enum used inLocaleDisplayNames.getInstance(ULocale, DialectHandling)
.MeasureFormat.FormatWidth Formatting width enum.MessagePattern.ApostropheMode Mode for when an apostrophe starts quoted literal text for MessageFormat output.MessagePattern.ArgType Argument type constants.MessagePattern.Part.Type Part type constants.MessagePatternUtil.MessageContentsNode.Type The type of a piece of MessageNode contents.Normalizer2.Mode Constants for normalization modes.PersonName.FieldModifier Identifiers for the name field modifiers supported by the PersonName and PersonNameFormatter objects.PersonName.NameField Identifiers for the name fields supported by the PersonName object.PersonName.PreferredOrder An enum to specify the preferred field order for the name.PersonNameFormatter.DisplayOrder An enum indicating the desired display order for a formatted name.PersonNameFormatter.Formality Specifies the intended formality of the formatted name.PersonNameFormatter.Length Specifies the desired length of the formatted name.PersonNameFormatter.Usage Specifies the intended usage of the formatted name.PluralRules.KeywordStatus Status of the keyword for the rules, given a set of explicit values.PluralRules.Operand Deprecated. This API is ICU internal only.PluralRules.PluralType Type of plurals and PluralRules.PluralRules.SampleType Deprecated. This API is ICU internal only.RelativeDateTimeFormatter.AbsoluteUnit Represents an absolute unit.RelativeDateTimeFormatter.Direction Represents a direction for an absolute unit e.g "Next Tuesday" or "Last Tuesday"RelativeDateTimeFormatter.RelativeDateTimeUnit Represents the unit for formatting a relative date.RelativeDateTimeFormatter.RelativeUnit Represents the unit for formatting a relative date.RelativeDateTimeFormatter.RelDateTimeDataSink.DateTimeUnit RelativeDateTimeFormatter.Style The formatting styleSearchIterator.ElementComparisonType Option to control how collation elements are compared.SimpleDateFormat.ContextValue Old ContextValue enum, preserved only to avoid deserialization errs from ICU 49.1.SpoofChecker.RestrictionLevel Constants from UTS 39 for use in setRestrictionLevel.TimeZoneFormat.GMTOffsetPatternType Offset pattern type enum.TimeZoneFormat.OffsetFields Numeric offset field combinationsTimeZoneFormat.ParseOption Parse option enum, used for specifying optional parse behavior.TimeZoneFormat.Style Time zone display format style enum used by format/parse APIs inTimeZoneFormat
.TimeZoneFormat.TimeType Time type enum used for receiving time type (standard time, daylight time or unknown) inTimeZoneFormat
APIs.TimeZoneNames.NameType Time zone display name typesUnicodeSet.ComparisonStyle Comparison style enums used byUnicodeSet.compareTo(UnicodeSet, ComparisonStyle)
.UnicodeSet.SpanCondition Argument values for whether span() and similar functions continue while the current character is contained vs.UnicodeSetSpanner.CountMethod Options for replaceFrom and countIn to control how to treat each matched span.UnicodeSetSpanner.TrimOption Options for the trim() method -
Exception Summary Exception Description ArabicShapingException Thrown by ArabicShaping when there is a shaping error.StringPrepParseException Exception that signals an error has occurred while parsing the input to StringPrep or IDNA.