@Plugin(name="BigDecimal", category="TypeConverter") public static class TypeConverters.BigDecimalConverter extends java.lang.Object implements TypeConverter<java.math.BigDecimal>
String
into a BigDecimal
.Constructor and Description |
---|
BigDecimalConverter() |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
convert(java.lang.String s)
Converts a String to a given type.
|
public java.math.BigDecimal convert(java.lang.String s)
TypeConverter
convert
in interface TypeConverter<java.math.BigDecimal>
s
- the String to convert. Cannot be null
.