|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.translator.NumericFormatterImpl
public class NumericFormatterImpl
A wrapper around NumberFormat.
Constructor Summary | |
---|---|
NumericFormatterImpl(java.text.NumberFormat format)
|
Method Summary | |
---|---|
java.lang.Number |
parse(java.lang.String clientValue)
Parses a value from the client in a locale-specific way. |
java.lang.String |
toClient(java.lang.Number value)
Formats a value for the client in a locale-specific way. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumericFormatterImpl(java.text.NumberFormat format)
Method Detail |
---|
public java.lang.Number parse(java.lang.String clientValue) throws java.text.ParseException
NumericFormatter
parse
in interface NumericFormatter
java.text.ParseException
public java.lang.String toClient(java.lang.Number value)
NumericFormatter
toClient
in interface NumericFormatter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |