|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.icl.saxon.number.NumberFormatter
Class NumberFormatter defines a method to format a Vector of integers as a character string according to a supplied format specification.
Constructor Summary | |
NumberFormatter()
|
Method Summary | |
java.lang.String |
format(int number,
int groupSize,
java.lang.String groupSeparator,
java.lang.String letterValue,
Numberer numberer)
Format a single number. |
java.lang.String |
format(java.util.Vector numbers,
int groupSize,
java.lang.String groupSeparator,
java.lang.String letterValue,
Numberer numberer)
Format a vector of numbers. |
void |
prepare(java.lang.String format)
Prepare the format pattern. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NumberFormatter()
Method Detail |
public void prepare(java.lang.String format)
format
- the format specification. Contains one of the following values:public java.lang.String format(java.util.Vector numbers, int groupSize, java.lang.String groupSeparator, java.lang.String letterValue, Numberer numberer)
numbers
- the numbers to be formatted (a sequence of integer values)
public java.lang.String format(int number, int groupSize, java.lang.String groupSeparator, java.lang.String letterValue, Numberer numberer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |