| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static StringBuffer | Returns: the value passed in as toAppendTo.the double to format. value, final NumberFormat the format used. format, final StringBuffer where the text is to be appended toAppendTo, final FieldPosition On input: an alignment field, if desired. On output: the
offsets of the alignment field pos)Formats a double value to produce a string. |
| public static NumberFormat | |
| public static NumberFormat | Returns: the default number format specific to the given locale.the specific locale used by the format. locale)Create a default number format. |
| public static void | parseAndIgnoreWhitespace(final String
the string to parse source, final ParsePosition input/output parsing parameter. On output, pos)pos
holds the index of the next non-whitespace character.Parses |
| public static boolean | Returns: true if the expected string was therethe string to parse source, final String expected string expected, final ParsePosition input/output parsing parameter. pos)Parse |
| public static char | Returns: the first non-whitespace character.the string to parse source, final ParsePosition input/output parsing parameter. pos)Parses |
| private static Number | Returns: the special number.the string to parse source, final double the special value to parse. value, final ParsePosition input/output parsing parameter. pos)Parses |
| public static Number | Returns: the parsed number.the string to parse source, final NumberFormat the number format used to parse normal, numeric values. format, final ParsePosition input/output parsing parameter. pos)Parses |
| CompositeFormat | back to summary |
|---|---|
| private CompositeFormat() Class contains only static methods. | |
| formatDouble | back to summary |
|---|---|
| public static StringBuffer formatDouble(final double value, final NumberFormat format, final StringBuffer toAppendTo, final FieldPosition pos) Formats a double value to produce a string. In general, the value is
formatted using the formatting rules of
| |
| getDefaultNumberFormat | back to summary |
|---|---|
| public static NumberFormat getDefaultNumberFormat() Create a default number format. The default number format is based on
| |
| getDefaultNumberFormat | back to summary |
|---|---|
| public static NumberFormat getDefaultNumberFormat(final Locale locale) Create a default number format. The default number format is based on
| |
| parseAndIgnoreWhitespace | back to summary |
|---|---|
| public static void parseAndIgnoreWhitespace(final String source, final ParsePosition pos) Parses
| |
| parseFixedstring | back to summary |
|---|---|
| public static boolean parseFixedstring(final String source, final String expected, final ParsePosition pos) Parse
| |
| parseNextCharacter | back to summary |
|---|---|
| public static char parseNextCharacter(final String source, final ParsePosition pos) Parses
| |
| parseNumber | back to summary |
|---|---|
| private static Number parseNumber(final String source, final double value, final ParsePosition pos) Parses
| |
| parseNumber | back to summary |
|---|---|
| public static Number parseNumber(final String source, final NumberFormat format, final ParsePosition pos) Parses
| |