org.mentawai.converter
Class SQLToUtilDataConverter

java.lang.Object
  extended by org.mentawai.converter.BasicConverter
      extended by org.mentawai.converter.SQLToUtilDataConverter
All Implemented Interfaces:
Converter

Deprecated. Use the one with the correct name SQLToUtilDateConverter

public class SQLToUtilDataConverter
extends BasicConverter

A converter for converting a java.sql.Date to a java.util.Date.

Author:
Rubem Azenha (rubem.azenha@gmail.com)

Constructor Summary
SQLToUtilDataConverter()
          Deprecated.  
 
Method Summary
 Object convert(Object value)
          Deprecated. Converts a java.sql.Date to a java.util.Date.
 
Methods inherited from class org.mentawai.converter.BasicConverter
allowNull, convert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLToUtilDataConverter

public SQLToUtilDataConverter()
Deprecated. 
Method Detail

convert

public Object convert(Object value)
               throws ConversionException
Deprecated. 
Converts a java.sql.Date to a java.util.Date.

Specified by:
convert in class BasicConverter
Parameters:
value - the value to be converted
Returns:
the java.util.Date converted
Throws:
ConversionException - id the param value is not a java.sql.Date instance.


Copyright © 2013. All Rights Reserved.