站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.text.Format - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

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 for formatting 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.getFormats()
          Gets formats that were set with setFormats.
 

Methods in java.text with parameters of type Format
 void MessageFormat.setFormats(Format[] newFormats)
          Sets formats to use on parameters.
 void MessageFormat.setFormat(int variable, Format newFormat)
          Set a format to be used on a variable in the pattern.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.