|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.projectnine.csvmapper.CurrentXmlGregorianCalendarFieldFormatter
public class CurrentXmlGregorianCalendarFieldFormatter
Convert a String into a XMLGregorianCalendar
.
Constructor Summary | |
---|---|
CurrentXmlGregorianCalendarFieldFormatter()
|
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 conversion fails due to a DatatypeConfigurationException , just
return null. |
void |
setDateFormat(java.lang.String dateFormat)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CurrentXmlGregorianCalendarFieldFormatter()
Method Detail |
---|
public java.lang.Object formatString(java.lang.String rawPropertyValue)
DatatypeConfigurationException
, just
return null. If conversion fails due to any other error that raises an
Exception, the Exception is thrown.
formatString
in interface CsvFieldFormatter
public java.lang.String formatObject(java.lang.Object object)
CsvFieldFormatter
formatObject
in interface CsvFieldFormatter
object
- The Object to convert into a String.
public void setDateFormat(java.lang.String dateFormat)
dateFormatter
- the dateFormatter to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |