Package | Description |
---|---|
java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages
in a manner independent of natural languages.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
NumberFormat.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 |
DecimalFormat.format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a number and appends the resulting text to the given string
buffer.
|