public static class MessageQueueForm.SqlTimestampConverter extends Object implements org.apache.commons.beanutils.Converter
Constructor and Description |
---|
SqlTimestampConverter()
Create a
Converter that will throw a ConversionException
if a conversion error occurs. |
SqlTimestampConverter(Object defaultValue)
Create a
Converter that will return the specified default value
if a conversion error occurs. |
Modifier and Type | Method and Description |
---|---|
Object |
convert(Class type,
Object value)
Convert the specified input object into an output object of the
specified type.
|
public SqlTimestampConverter()
Converter
that will throw a ConversionException
if a conversion error occurs.public SqlTimestampConverter(Object defaultValue)
Converter
that will return the specified default value
if a conversion error occurs.defaultValue
- The default value to be returnedpublic Object convert(Class type, Object value)
convert
in interface org.apache.commons.beanutils.Converter
type
- Data type to which this value should be convertedvalue
- The input value to be convertedorg.apache.commons.beanutils.ConversionException
- if conversion cannot be performed
successfullyCopyright © 2005–2016 The Kuali Foundation. All rights reserved.