Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

CDC 1.1.2

Uses of Class
java.text.Format

Packages that use Format
java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. 
 

Uses of Format in java.text
 

Subclasses of Format in java.text
 class ChoiceFormat
          A ChoiceFormat allows you to attach a format to a range of numbers.
 class DateFormat
          DateFormat is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-independent manner.
 class DecimalFormat
          DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers.
 class MessageFormat
          MessageFormat provides a means to produce concatenated messages in language-neutral way.
 class NumberFormat
          NumberFormat is the abstract base class for all number formats.
 class SimpleDateFormat
          SimpleDateFormat is a concrete class for formatting and parsing dates in a locale-sensitive manner.
 

Methods in java.text that return Format
 Format[] MessageFormat.getFormatsByArgumentIndex()
          Gets the formats used for the values passed into format methods or returned from parse methods.
 Format[] MessageFormat.getFormats()
          Gets the formats used for the format elements in the previously set pattern string.
 

Methods in java.text with parameters of type Format
 void MessageFormat.setFormatsByArgumentIndex(Format[] newFormats)
          Sets the formats to use for the values passed into format methods or returned from parse methods.
 void MessageFormat.setFormats(Format[] newFormats)
          Sets the formats to use for the format elements in the previously set pattern string.
 void MessageFormat.setFormatByArgumentIndex(int argumentIndex, Format newFormat)
          Sets the format to use for the format elements within the previously set pattern string that use the given argument index.
 void MessageFormat.setFormat(int formatElementIndex, Format newFormat)
          Sets the format to use for the format element with the given format element index within the previously set pattern string.
 


CDC 1.1.2

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 218 specification.