|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CsvFieldFormatter
Format the String value from the CSV file to some other Object.
Method Summary | |
---|---|
java.lang.String |
formatObject(java.lang.Object object)
Converts an Object to a String. |
java.lang.Object |
formatString(java.lang.String rawPropertyValue)
This method converts the String to an Object. |
Method Detail |
---|
java.lang.Object formatString(java.lang.String rawPropertyValue)
RuntimeException
may
be thrown here. If that does happen, it is possible that only the current
CSV record is tainted. Invoke CsvToObjectMapper.loadNextRecord()
and try again.
rawPropertyValue
-
java.lang.String formatObject(java.lang.Object object)
object
- The Object to convert into a String.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |