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

Uses of Class java.text.FieldPosition (Java Platform SE 6) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Java™ Platform
Standard Ed. 6

Uses of Class
java.text.FieldPosition

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

Uses of FieldPosition in java.text
 

Methods in java.text with parameters of type FieldPosition
 StringBuffer SimpleDateFormat.format(Date date, StringBuffer toAppendTo, FieldPosition pos)
          Formats the given Date into a date/time string and appends the result to the given StringBuffer.
abstract  StringBuffer DateFormat.format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)
          Formats a Date into a date/time string.
 StringBuffer ChoiceFormat.format(double number, StringBuffer toAppendTo, FieldPosition status)
          Returns pattern with formatted double.
abstract  StringBuffer NumberFormat.format(double number, StringBuffer toAppendTo, FieldPosition pos)
          Specialization of format.
 StringBuffer DecimalFormat.format(double number, StringBuffer result, FieldPosition fieldPosition)
          Formats a double to produce a string.
 StringBuffer ChoiceFormat.format(long number, StringBuffer toAppendTo, FieldPosition status)
          Specialization of format.
abstract  StringBuffer NumberFormat.format(long number, StringBuffer toAppendTo, FieldPosition pos)
          Specialization of format.
 StringBuffer DecimalFormat.format(long number, StringBuffer result, FieldPosition fieldPosition)
          Format a long to produce a string.
 StringBuffer MessageFormat.format(Object[] arguments, StringBuffer result, FieldPosition pos)
          Formats an array of objects and appends the MessageFormat's pattern, with format elements replaced by the formatted objects, to the provided StringBuffer.
 StringBuffer DateFormat.format(Object obj, StringBuffer toAppendTo, FieldPosition fieldPosition)
          Overrides Format.
 StringBuffer NumberFormat.format(Object number, StringBuffer toAppendTo, FieldPosition pos)
          Formats a number and appends the resulting text to the given string buffer.
 StringBuffer DecimalFormat.format(Object number, StringBuffer toAppendTo, FieldPosition pos)
          Formats a number and appends the resulting text to the given string buffer.
abstract  StringBuffer Format.format(Object obj, StringBuffer toAppendTo, FieldPosition pos)
          Formats an object and appends the resulting text to a given string buffer.
 StringBuffer MessageFormat.format(Object arguments, StringBuffer result, FieldPosition pos)
          Formats an array of objects and appends the MessageFormat's pattern, with format elements replaced by the formatted objects, to the provided StringBuffer.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.