Uses of Class
java.text.FieldPosition
| Package | Description |
|---|---|
| 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 Modifier and Type Method Description StringBufferChoiceFormat. format(double number, StringBuffer toAppendTo, FieldPosition status)Returns pattern with formatted double.StringBufferChoiceFormat. format(long number, StringBuffer toAppendTo, FieldPosition status)Specialization of format.StringBufferCompactNumberFormat. format(double number, StringBuffer result, FieldPosition fieldPosition)Formats a double to produce a string representing its compact form.StringBufferCompactNumberFormat. format(long number, StringBuffer result, FieldPosition fieldPosition)Formats a long to produce a string representing its compact form.StringBufferCompactNumberFormat. format(Object number, StringBuffer toAppendTo, FieldPosition fieldPosition)Formats a number to produce a string representing its compact form.StringBufferDateFormat. format(Object obj, StringBuffer toAppendTo, FieldPosition fieldPosition)Formats the givenObjectinto a date-time string.abstract StringBufferDateFormat. format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)Formats aDateinto a date-time string.StringBufferDecimalFormat. format(double number, StringBuffer result, FieldPosition fieldPosition)Formats a double to produce a string.StringBufferDecimalFormat. format(long number, StringBuffer result, FieldPosition fieldPosition)Format a long to produce a string.StringBufferDecimalFormat. format(Object number, StringBuffer toAppendTo, FieldPosition pos)Formats a number and appends the resulting text to the given string buffer.abstract StringBufferFormat. format(Object obj, StringBuffer toAppendTo, FieldPosition pos)Formats an object and appends the resulting text to a given string buffer.StringBufferMessageFormat. format(Object[] arguments, StringBuffer result, FieldPosition pos)Formats an array of objects and appends theMessageFormat's pattern, with format elements replaced by the formatted objects, to the providedStringBuffer.StringBufferMessageFormat. format(Object arguments, StringBuffer result, FieldPosition pos)Formats an array of objects and appends theMessageFormat's pattern, with format elements replaced by the formatted objects, to the providedStringBuffer.abstract StringBufferNumberFormat. format(double number, StringBuffer toAppendTo, FieldPosition pos)Specialization of format.abstract StringBufferNumberFormat. format(long number, StringBuffer toAppendTo, FieldPosition pos)Specialization of format.StringBufferNumberFormat. format(Object number, StringBuffer toAppendTo, FieldPosition pos)Formats a number and appends the resulting text to the given string buffer.StringBufferSimpleDateFormat. format(Date date, StringBuffer toAppendTo, FieldPosition pos)Formats the givenDateinto a date/time string and appends the result to the givenStringBuffer.