org.apache.camel.dataformat.bindy.format
Class DoubleFormat
java.lang.Object
org.apache.camel.dataformat.bindy.format.AbstractNumberFormat<Double>
org.apache.camel.dataformat.bindy.format.DoubleFormat
- All Implemented Interfaces:
- Format<Double>
public class DoubleFormat
- extends AbstractNumberFormat<Double>
Constructor Summary |
DoubleFormat(boolean impliedDecimalPosition,
int precision,
Locale locale)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleFormat
public DoubleFormat(boolean impliedDecimalPosition,
int precision,
Locale locale)
format
public String format(Double object)
throws Exception
- Description copied from interface:
Format
- Formats the object into a String
- Parameters:
object
- the object
- Returns:
- formatted as a String
- Throws:
Exception
- can be thrown
parse
public Double parse(String string)
throws Exception
- Description copied from interface:
Format
- Parses a String into an object
- Parameters:
string
- the string
- Returns:
- T the object
- Throws:
Exception
- can be thrown
Apache Camel