Package org.strecks.converter.annotation

Examples of org.strecks.converter.annotation.ConvertDate


public class DateConverterFactory implements ConverterFactory
{

  public Converter createConverter(Annotation annotation)
  {
    ConvertDate annot = (ConvertDate) annotation;
    DatePatternConverter converter = new DatePatternConverter(annot.pattern());
    converter.setTargetClass(Date.class);
    return converter;
  }
View Full Code Here

TOP

Related Classes of org.strecks.converter.annotation.ConvertDate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.