public class FixedRealFormat
extends java.text.Format
Modifier and Type | Field and Description |
---|---|
boolean |
internalPad |
char |
overflowChar |
char |
padChar |
int |
scale |
boolean |
showPlus |
int |
width |
Constructor and Description |
---|
FixedRealFormat() |
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuffer |
format(double num,
java.lang.StringBuffer sbuf,
java.text.FieldPosition fpos) |
java.lang.StringBuffer |
format(long num,
java.lang.StringBuffer sbuf,
java.text.FieldPosition fpos) |
java.lang.StringBuffer |
format(java.lang.Object num,
java.lang.StringBuffer sbuf,
java.text.FieldPosition fpos) |
void |
format(RealNum number,
java.lang.StringBuffer sbuf,
java.text.FieldPosition fpos) |
int |
getMaximumFractionDigits() |
int |
getMinimumIntegerDigits() |
java.lang.Number |
parse(java.lang.String text,
java.text.ParsePosition status) |
java.lang.Object |
parseObject(java.lang.String text,
java.text.ParsePosition status) |
void |
setMaximumFractionDigits(int d) |
void |
setMinimumIntegerDigits(int i) |
public int width
public int scale
public char padChar
public boolean showPlus
public boolean internalPad
public char overflowChar
public int getMaximumFractionDigits()
public int getMinimumIntegerDigits()
public void setMaximumFractionDigits(int d)
public void setMinimumIntegerDigits(int i)
public void format(RealNum number, java.lang.StringBuffer sbuf, java.text.FieldPosition fpos)
public java.lang.StringBuffer format(long num, java.lang.StringBuffer sbuf, java.text.FieldPosition fpos)
public java.lang.StringBuffer format(double num, java.lang.StringBuffer sbuf, java.text.FieldPosition fpos)
public java.lang.StringBuffer format(java.lang.Object num, java.lang.StringBuffer sbuf, java.text.FieldPosition fpos)
format
in class java.text.Format
public java.lang.Number parse(java.lang.String text, java.text.ParsePosition status)
public java.lang.Object parseObject(java.lang.String text, java.text.ParsePosition status)
parseObject
in class java.text.Format