|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.convert.imp.DateConverter
Converter for datatype Date
Constructor Summary | |
DateConverter()
|
Method Summary | |
java.lang.Object |
getAsObject(RequestContext ctx,
java.lang.String newValue)
Converts the given String value into the Converters Datatype |
java.lang.String |
getAsString(RequestContext ctx,
java.lang.Object value)
Converts the Object of the converters Datatype into it's String representation |
private java.util.Locale |
getLocale(RequestContext context)
Retrieves the Locale for this Converter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DateConverter()
Method Detail |
public java.lang.Object getAsObject(RequestContext ctx, java.lang.String newValue) throws ConverterException
Converter
getAsObject
in interface Converter
ctx
- Request ContextnewValue
- The String Value to convert
ConverterException
- is thrown when a conversion error occursConverter.getAsObject(com.cc.framework.adapter.RequestContext, java.lang.String)
public java.lang.String getAsString(RequestContext ctx, java.lang.Object value) throws ConverterException
Converter
getAsString
in interface Converter
ctx
- Request Contextvalue
- The Object to convert
ConverterException
- is thrown when a conversion error occursConverter.getAsString(com.cc.framework.adapter.RequestContext, java.lang.Object)
private java.util.Locale getLocale(RequestContext context)
context
- The RequestContext
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |