Stay organized with collections
Save and categorize content based on your preferences.
java.text
Interfaces
Classes
Annotation |
An Annotation object is used as a wrapper for a text attribute value if the attribute has annotation characteristics.
|
AttributedString |
An AttributedString holds text and related attribute information.
|
Bidi |
This class implements the Unicode Bidirectional Algorithm.
|
BreakIterator |
The BreakIterator class implements methods for finding the location of boundaries in text.
|
ChoiceFormat |
A ChoiceFormat allows you to attach a format to a range of numbers.
|
CollationElementIterator |
The CollationElementIterator class is used as an iterator to walk through each character of an international string.
|
CollationKey |
A CollationKey represents a String under the rules of a specific Collator object.
|
Collator |
The Collator class performs locale-sensitive String comparison.
|
DateFormat |
DateFormat is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-independent manner.
|
DateFormatSymbols |
DateFormatSymbols is a public class for encapsulating localizable date-time formatting data, such as the names of the months, the names of the days of the week, and the time zone data.
|
DecimalFormat |
is a concrete subclass of NumberFormat that formats decimal numbers.
|
DecimalFormatSymbols |
This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed by DecimalFormat to format numbers.
|
FieldPosition |
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted output.
|
Format |
Format is an abstract base class for formatting locale-sensitive information such as dates, messages, and numbers.
|
MessageFormat |
provides a means to produce concatenated messages in a language-neutral way.
|
Normalizer |
This class provides the method normalize which transforms Unicode text into an equivalent composed or decomposed form, allowing for easier sorting and searching of text.
|
NumberFormat |
NumberFormat is the abstract base class for all number formats.
|
ParsePosition |
ParsePosition is a simple class used by Format and its subclasses to keep track of the current position during parsing.
|
RuleBasedCollator |
The class is a concrete subclass of Collator that provides a simple, data-driven, table collator.
|
SimpleDateFormat |
is a concrete class for formatting and parsing dates in a locale-sensitive manner.
|
StringCharacterIterator |
StringCharacterIterator implements the CharacterIterator protocol for a String .
|
Exceptions
ParseException |
Signals that an error has been reached unexpectedly while parsing.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# java.text\n=========\n\nInterfaces\n----------\n\n|----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|\n| [AttributedCharacterIterator](/reference/kotlin/java/text/AttributedCharacterIterator) | An `AttributedCharacterIterator` allows iteration through both text and related attribute information. |\n| [CharacterIterator](/reference/kotlin/java/text/CharacterIterator) | This interface defines a protocol for bidirectional iteration over text. |\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Annotation](/reference/kotlin/java/text/Annotation) | An Annotation object is used as a wrapper for a text attribute value if the attribute has annotation characteristics. |\n| [AttributedString](/reference/kotlin/java/text/AttributedString) | An AttributedString holds text and related attribute information. |\n| [Bidi](/reference/kotlin/java/text/Bidi) | This class implements the Unicode Bidirectional Algorithm. |\n| [BreakIterator](/reference/kotlin/java/text/BreakIterator) | The `BreakIterator` class implements methods for finding the location of boundaries in text. |\n| [ChoiceFormat](/reference/kotlin/java/text/ChoiceFormat) | A `ChoiceFormat` allows you to attach a format to a range of numbers. |\n| [CollationElementIterator](/reference/kotlin/java/text/CollationElementIterator) | The `CollationElementIterator` class is used as an iterator to walk through each character of an international string. |\n| [CollationKey](/reference/kotlin/java/text/CollationKey) | A `CollationKey` represents a `String` under the rules of a specific `Collator` object. |\n| [Collator](/reference/kotlin/java/text/Collator) | The `Collator` class performs locale-sensitive `String` comparison. |\n| [DateFormat](/reference/kotlin/java/text/DateFormat) | `DateFormat` is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-independent manner. |\n| [DateFormatSymbols](/reference/kotlin/java/text/DateFormatSymbols) | `DateFormatSymbols` is a public class for encapsulating localizable date-time formatting data, such as the names of the months, the names of the days of the week, and the time zone data. |\n| [DecimalFormat](/reference/kotlin/java/text/DecimalFormat) | is a concrete subclass of `NumberFormat` that formats decimal numbers. |\n| [DecimalFormatSymbols](/reference/kotlin/java/text/DecimalFormatSymbols) | This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed by `DecimalFormat` to format numbers. |\n| [FieldPosition](/reference/kotlin/java/text/FieldPosition) | `FieldPosition` is a simple class used by `Format` and its subclasses to identify fields in formatted output. |\n| [Format](/reference/kotlin/java/text/Format) | `Format` is an abstract base class for formatting locale-sensitive information such as dates, messages, and numbers. |\n| [MessageFormat](/reference/kotlin/java/text/MessageFormat) | provides a means to produce concatenated messages in a language-neutral way. |\n| [Normalizer](/reference/kotlin/java/text/Normalizer) | This class provides the method `normalize` which transforms Unicode text into an equivalent composed or decomposed form, allowing for easier sorting and searching of text. |\n| [NumberFormat](/reference/kotlin/java/text/NumberFormat) | `NumberFormat` is the abstract base class for all number formats. |\n| [ParsePosition](/reference/kotlin/java/text/ParsePosition) | `ParsePosition` is a simple class used by `Format` and its subclasses to keep track of the current position during parsing. |\n| [RuleBasedCollator](/reference/kotlin/java/text/RuleBasedCollator) | The class is a concrete subclass of `Collator` that provides a simple, data-driven, table collator. |\n| [SimpleDateFormat](/reference/kotlin/java/text/SimpleDateFormat) | is a concrete class for formatting and parsing dates in a locale-sensitive manner. |\n| [StringCharacterIterator](/reference/kotlin/java/text/StringCharacterIterator) | `StringCharacterIterator` implements the `CharacterIterator` protocol for a `String`. |\n\nExceptions\n----------\n\n|--------------------------------------------------------------|--------------------------------------------------------------------|\n| [ParseException](/reference/kotlin/java/text/ParseException) | Signals that an error has been reached unexpectedly while parsing. |"]]