Uses of Package
java.text
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
Provides classes and interface relating to fonts.
Provides classes and interfaces for the input method framework.
Provides interfaces that enable the development of input methods that can be
used with any Java runtime environment.
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
Service provider classes for the classes in the java.text package.
Provides classes to print and parse dates and times.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Synth is a skinnable look and feel in which all painting is delegated.
Provides classes and interfaces that deal with editable and noneditable text
components.
-
ClassDescriptionAn
AttributedCharacterIterator
allows iteration through both text and related attribute information.Defines attribute keys that are used to identify text attributes.This interface defines a protocol for bidirectional iteration over text. -
ClassDescriptionAn
AttributedCharacterIterator
allows iteration through both text and related attribute information. -
ClassDescriptionAn
AttributedCharacterIterator
allows iteration through both text and related attribute information.Defines attribute keys that are used to identify text attributes.TheBreakIterator
class implements methods for finding the location of boundaries in text. -
ClassDescriptionAn
AttributedCharacterIterator
allows iteration through both text and related attribute information.Defines attribute keys that are used to identify text attributes. -
ClassDescriptionAn
AttributedCharacterIterator
allows iteration through both text and related attribute information. -
ClassDescriptionAn
AttributedCharacterIterator
allows iteration through both text and related attribute information.Defines attribute keys that are used to identify text attributes.This class implements the Unicode Bidirectional Algorithm.TheBreakIterator
class implements methods for finding the location of boundaries in text.This interface defines a protocol for bidirectional iteration over text.TheCollationElementIterator
class is used as an iterator to walk through each character of an international string.ACollationKey
represents aString
under the rules of a specificCollator
object.TheCollator
class performs locale-sensitiveString
comparison.CompactNumberFormat
is a concrete subclass ofNumberFormat
that formats a decimal number in its compact form.DateFormat
is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-independent manner.Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromDateFormat.formatToCharacterIterator
and as field identifiers inFieldPosition
.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.This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed byDecimalFormat
to format numbers.FieldPosition
is a simple class used byFormat
and its subclasses to identify fields in formatted output.Format
is an abstract base class for formatting locale-sensitive information such as dates, messages, and numbers.Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromFormat.formatToCharacterIterator
and as field identifiers inFieldPosition
.Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromMessageFormat.formatToCharacterIterator
.This enum provides constants of the four Unicode normalization forms that are described in Unicode Standard Annex #15 — Unicode Normalization Forms and two methods to access them.NumberFormat
is the abstract base class for all number formats.Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromNumberFormat.formatToCharacterIterator
and as field identifiers inFieldPosition
.A number format style.Signals that an error has been reached unexpectedly while parsing.ParsePosition
is a simple class used byFormat
and its subclasses to keep track of the current position during parsing. -
ClassDescriptionThe
BreakIterator
class implements methods for finding the location of boundaries in text.TheCollator
class performs locale-sensitiveString
comparison.DateFormat
is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-independent manner.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.This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed byDecimalFormat
to format numbers.NumberFormat
is the abstract base class for all number formats.A number format style. -
ClassDescription
Format
is an abstract base class for formatting locale-sensitive information such as dates, messages, and numbers.ParsePosition
is a simple class used byFormat
and its subclasses to keep track of the current position during parsing. -
ClassDescriptionAn
AttributedCharacterIterator
allows iteration through both text and related attribute information.DecimalFormat
is a concrete subclass ofNumberFormat
that formats decimal numbers.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.Signals that an error has been reached unexpectedly while parsing.SimpleDateFormat
is a concrete class for formatting and parsing dates in a locale-sensitive manner. -
-
ClassDescriptionThis interface defines a protocol for bidirectional iteration over text.
DateFormat
is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-independent manner.Format
is an abstract base class for formatting locale-sensitive information such as dates, messages, and numbers.Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromFormat.formatToCharacterIterator
and as field identifiers inFieldPosition
.MessageFormat
provides a means to produce concatenated messages in a language-neutral way.NumberFormat
is the abstract base class for all number formats.Signals that an error has been reached unexpectedly while parsing.