|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.projectnine.csvmapper.BigDecimalCsvFieldFormatter
public class BigDecimalCsvFieldFormatter
Format the String value from the CSV file to a BigDecimal
.
Constructor Summary | |
---|---|
BigDecimalCsvFieldFormatter()
|
Method Summary | |
---|---|
java.lang.String |
formatObject(java.lang.Object object)
Converts an Object to a String. |
java.lang.Object |
formatString(java.lang.String rawPropertyValue)
If the CSV String value is non-numeric, an Exception will be thrown here. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BigDecimalCsvFieldFormatter()
Method Detail |
---|
public final java.lang.Object formatString(java.lang.String rawPropertyValue)
formatString
in interface CsvFieldFormatter
rawPropertyValue
- The string representation of the BigDecimal
.
BigDecimal
Object.public final java.lang.String formatObject(java.lang.Object object)
CsvFieldFormatter
formatObject
in interface CsvFieldFormatter
object
- A BigDecimal
Object.
BigDecimal
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |