|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.util.AWFormatter
ariba.ui.validation.AWVBigDecimalFormatter
public final class AWVBigDecimalFormatter
Field Summary |
---|
Fields inherited from class ariba.ui.aribaweb.util.AWBaseObject |
---|
AribaHashtableClass, AribaVectorClass, ClassClass, EmptyHashtable, EmptyMap, EmptyVector, False, IntegerClass, JavaHashtableClass, JavaMapClass, JavaVectorClass, LogHandling, NullObject, ObjectClass, StringClass, True, UndefinedObject, UndefinedString, UninitializedRealNumber |
Constructor Summary | |
---|---|
AWVBigDecimalFormatter(java.lang.String formatPattern,
int scale,
java.util.Locale locale)
|
Method Summary | |
---|---|
java.lang.String |
format(java.lang.Object bigDecimalValue)
Returns a formatted string for this BigDecimal bigDecimalValue in
the locale specified in the constructor. |
java.lang.Object |
parseObject(java.lang.String stringToParse)
Returns a big decimal object for this String stringToParse |
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject |
---|
debugString, ensureFieldValuesClear, getFieldValue, init, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AWVBigDecimalFormatter(java.lang.String formatPattern, int scale, java.util.Locale locale)
Method Detail |
---|
public java.lang.String format(java.lang.Object bigDecimalValue)
bigDecimalValue
in
the locale specified in the constructor. Trailing decimal zeros are removed from the
string.
format
in class AWFormatter
bigDecimalValue
- bigDecimalValue
to convert to a string value
bigDecimalValue
public java.lang.Object parseObject(java.lang.String stringToParse) throws java.text.ParseException
stringToParse
parseObject
in class AWFormatter
stringToParse
- stringToParse
stringToParse
java.text.ParseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |