org.dozer.converters
Class CalendarConverter

java.lang.Object
  extended by org.dozer.converters.CalendarConverter
All Implemented Interfaces:
org.apache.commons.beanutils.Converter

public class CalendarConverter
extends Object
implements org.apache.commons.beanutils.Converter

Internal class for converting Supported Data Types --> Calendar. Supported source data types include Date, Calendar, String, Objects that return a long from their toString(). Only intended for internal use.

Author:
tierney.matt

Constructor Summary
CalendarConverter(DateFormat dateFormat)
           
 
Method Summary
 Object convert(Class destClass, Object srcObj)
           
 DateFormat getDateFormat()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarConverter

public CalendarConverter(DateFormat dateFormat)
Method Detail

convert

public Object convert(Class destClass,
                      Object srcObj)
Specified by:
convert in interface org.apache.commons.beanutils.Converter

getDateFormat

public DateFormat getDateFormat()


Copyright © 2005-2011 dozer. All Rights Reserved.