public class NumericFormatterImpl extends java.lang.Object implements NumericFormatter
Constructor and Description |
---|
NumericFormatterImpl(java.text.NumberFormat format) |
Modifier and Type | Method and Description |
---|---|
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.
|
public NumericFormatterImpl(java.text.NumberFormat format)
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
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.