Class BigTypesFormatter
java.lang.Object
org.apache.tapestry5.internal.translator.BigTypesFormatter
- All Implemented Interfaces:
NumericFormatter
- Direct Known Subclasses:
BigDecimalNumericFormatter
,BigIntegerNumericFormatter
Base class for parsing/formatting BigInteger and BigDecimal.
- Since:
- 5.1.0.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionParses a value from the client in a locale-specific way.protected abstract Number
parseConvertedValue
(String converted) Formats a value for the client in a locale-specific way.protected String
toString
(char ch)
-
Field Details
-
symbols
-
-
Constructor Details
-
BigTypesFormatter
-
-
Method Details
-
toString
-
toClient
Description copied from interface:NumericFormatter
Formats a value for the client in a locale-specific way.- Specified by:
toClient
in interfaceNumericFormatter
-
parse
Description copied from interface:NumericFormatter
Parses a value from the client in a locale-specific way.- Specified by:
parse
in interfaceNumericFormatter
- Throws:
ParseException
-
parseConvertedValue
-