gnu.text
public class IntegerFormat extends ReportFormat
Field Summary | |
---|---|
int | base |
int | commaChar |
int | commaInterval |
int | flags |
int | minWidth Minimal width of the result, includiing sign, commas, etc.
|
static int | MIN_DIGITS The minWidth is minimum number of digits, not minimum total width. |
int | padChar The padding characters, by default ' '. |
static int | PAD_RIGHT |
static int | SHOW_BASE Add "0x" (hex) or "0" (octal) prefix. |
static int | SHOW_GROUPS Do groups (for example thousands, using commas). |
static int | SHOW_PLUS If value is non-negative, emit a '+'. |
static int | SHOW_SPACE If value is non-negative, emit an initial ' '. |
static int | UPPERCASE |
Constructor Summary | |
---|---|
IntegerFormat() |
Method Summary | |
---|---|
String | convertToIntegerString(Object x, int radix) |
int | format(Object[] args, int start, Writer dst, FieldPosition fpos) |
int | format(Object arg, int start, Writer dst, FieldPosition fpos) |