Class NumericFormatterImpl
- java.lang.Object
 - 
- org.apache.tapestry5.internal.translator.NumericFormatterImpl
 
 
- 
- All Implemented Interfaces:
 NumericFormatter
public class NumericFormatterImpl extends Object implements NumericFormatter
A wrapper around NumberFormat.- Since:
 - 5.1.0.1
 
 
- 
- 
Constructor Summary
Constructors Constructor Description NumericFormatterImpl(NumberFormat format) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Numberparse(String clientValue)Parses a value from the client in a locale-specific way.StringtoClient(Number value)Formats a value for the client in a locale-specific way. 
 - 
 
- 
- 
Constructor Detail
- 
NumericFormatterImpl
public NumericFormatterImpl(NumberFormat format)
 
 - 
 
- 
Method Detail
- 
parse
public Number parse(String clientValue) throws ParseException
Description copied from interface:NumericFormatterParses a value from the client in a locale-specific way.- Specified by:
 parsein interfaceNumericFormatter- Throws:
 ParseException
 
- 
toClient
public String toClient(Number value)
Description copied from interface:NumericFormatterFormats a value for the client in a locale-specific way.- Specified by:
 toClientin interfaceNumericFormatter
 
 - 
 
 -