|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.text.Format java.text.NumberFormat gnu.text.RomanIntegerFormat
public class RomanIntegerFormat
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.text.NumberFormat |
---|
java.text.NumberFormat.Field |
Field Summary | |
---|---|
boolean |
oldStyle
|
Fields inherited from class java.text.NumberFormat |
---|
FRACTION_FIELD, INTEGER_FIELD |
Constructor Summary | |
---|---|
RomanIntegerFormat()
|
|
RomanIntegerFormat(boolean oldStyle)
|
Method Summary | |
---|---|
java.lang.StringBuffer |
format(double num,
java.lang.StringBuffer sbuf,
java.text.FieldPosition fpos)
|
static java.lang.String |
format(int num)
|
static java.lang.String |
format(int num,
boolean oldStyle)
|
java.lang.StringBuffer |
format(long num,
java.lang.StringBuffer sbuf,
java.text.FieldPosition fpos)
|
static RomanIntegerFormat |
getInstance(boolean oldStyle)
|
java.lang.Number |
parse(java.lang.String text,
java.text.ParsePosition status)
|
Methods inherited from class java.text.NumberFormat |
---|
clone, equals, format, format, format, getAvailableLocales, getCurrency, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, hashCode, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setCurrency, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setParseIntegerOnly |
Methods inherited from class java.text.Format |
---|
format, formatToCharacterIterator, parseObject |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean oldStyle
Constructor Detail |
---|
public RomanIntegerFormat(boolean oldStyle)
public RomanIntegerFormat()
Method Detail |
---|
public static RomanIntegerFormat getInstance(boolean oldStyle)
public static java.lang.String format(int num, boolean oldStyle)
public static java.lang.String format(int num)
public java.lang.StringBuffer format(long num, java.lang.StringBuffer sbuf, java.text.FieldPosition fpos)
format
in class java.text.NumberFormat
public java.lang.StringBuffer format(double num, java.lang.StringBuffer sbuf, java.text.FieldPosition fpos)
format
in class java.text.NumberFormat
public java.lang.Number parse(java.lang.String text, java.text.ParsePosition status)
parse
in class java.text.NumberFormat
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |