package
java.text


Show All Login
Java SE 6
  
Details
Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. This means your main application or applet can be written to be language-independent, and it can rely upon separate, dynamically-linked localized resources. This allows the flexibility of adding localizations for new localizations at any time.

These classes are capable of formatting dates, numbers, and messages, parsing; searching and sorting strings; and iterating over characters, words, sentences, and line breaks. This package contains three main groups of classes and interfaces:

  • Classes for iteration over text
  • Classes for formatting and parsing
  • Classes for string collation
sinceJDK1.1

Subpackages
java.text.spi

Interfaces
AttributedCharacterIterator
CharacterIterator

Enumerations
  .Form

Exceptions
ParseException

Classes
Annotation
  .Attribute
AttributedString
Bidi
BreakIterator
ChoiceFormat
CollationElementIterator
CollationKey
Collator
DateFormat
  .Field
DateFormatSymbols
DecimalFormat
DecimalFormatSymbols
FieldPosition
Format
  .Field
MessageFormat
  .Field
Normalizer
NumberFormat
  .Field
ParsePosition
RuleBasedCollator
SimpleDateFormat
StringCharacterIterator