@RequestScoped public class BigDecimalConverter extends Object implements Converter<BigDecimal>
ConversionException
will be throw.Modifier | Constructor and Description |
---|---|
protected |
BigDecimalConverter()
Deprecated.
CDI eyes only
|
|
BigDecimalConverter(Locale locale) |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
convert(String value,
Class<? extends BigDecimal> type) |
protected NumberFormat |
getNumberFormat() |
protected BigDecimalConverter()
@Inject public BigDecimalConverter(Locale locale)
public BigDecimal convert(String value, Class<? extends BigDecimal> type)
convert
in interface Converter<BigDecimal>
protected NumberFormat getNumberFormat()
Copyright © 2014 Caelum. All rights reserved.