|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esperio.csv.AbstractTypeCoercer
com.espertech.esperio.csv.BasicTypeCoercer
com.espertech.esperio.ext.BasicTypeCoercerDateFormat
public class BasicTypeCoercerDateFormat
Date format coercion.
Field Summary |
---|
Fields inherited from class com.espertech.esperio.csv.AbstractTypeCoercer |
---|
log, propertyConstructors |
Constructor Summary | |
---|---|
BasicTypeCoercerDateFormat()
|
Method Summary | |
---|---|
void |
addDateFormat(java.lang.String propertyName,
java.text.DateFormat df)
Add a date format. |
java.lang.Object |
coerce(java.lang.String property,
java.lang.String source)
Convert a value. |
Methods inherited from class com.espertech.esperio.csv.AbstractTypeCoercer |
---|
setPropertyTypes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicTypeCoercerDateFormat()
Method Detail |
---|
public java.lang.Object coerce(java.lang.String property, java.lang.String source) throws java.lang.Exception
AbstractTypeCoercer
coerce
in class BasicTypeCoercer
property
- property namesource
- value to convert
java.lang.Exception
- if coercion failedpublic void addDateFormat(java.lang.String propertyName, java.text.DateFormat df)
propertyName
- property to adddf
- the date format
|
© 2006-2016 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |