public class BigDecimalFormat extends AbstractNumberFormat<BigDecimal>
| Constructor and Description |
|---|
BigDecimalFormat(boolean impliedDecimalPosition,
int precision,
Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(BigDecimal object)
Formats the object into a String
|
BigDecimal |
parse(String string)
Parses a String into an object
|
getFormat, getMultiplier, getPrecision, hasImpliedDecimalPositionpublic BigDecimalFormat(boolean impliedDecimalPosition,
int precision,
Locale locale)
public String format(BigDecimal object) throws Exception
Formatobject - the objectException - can be thrownpublic BigDecimal parse(String string) throws Exception
Formatstring - the stringException - can be thrownApache Camel