Package org.kuali.rice.ksb.messaging.web
Class MessageQueueForm.SqlTimestampConverter
java.lang.Object
org.kuali.rice.ksb.messaging.web.MessageQueueForm.SqlTimestampConverter
- All Implemented Interfaces:
org.apache.commons.beanutils.Converter
- Enclosing class:
- MessageQueueForm
public static class MessageQueueForm.SqlTimestampConverter
extends Object
implements org.apache.commons.beanutils.Converter
Converts an incoming object to a timestamp.
Adapted from org.apache.commons.beanutils.converters.SqlTimestampConverter
-
Constructor Summary
ConstructorsConstructorDescriptionCreate aConverterthat will throw aConversionExceptionif a conversion error occurs.SqlTimestampConverter(Object defaultValue) Create aConverterthat will return the specified default value if a conversion error occurs. -
Method Summary
-
Constructor Details
-
SqlTimestampConverter
public SqlTimestampConverter()Create aConverterthat will throw aConversionExceptionif a conversion error occurs. -
SqlTimestampConverter
Create aConverterthat will return the specified default value if a conversion error occurs.- Parameters:
defaultValue- The default value to be returned
-
-
Method Details
-
convert
Convert the specified input object into an output object of the specified type.- Specified by:
convertin interfaceorg.apache.commons.beanutils.Converter- Parameters:
type- Data type to which this value should be convertedvalue- The input value to be converted- Throws:
org.apache.commons.beanutils.ConversionException- if conversion cannot be performed successfully
-