Class SqlTimestampConverterFactory

  • All Implemented Interfaces:
    org.smooks.api.converter.TypeConverterFactory<String,​Timestamp>, org.smooks.api.resource.config.Configurable

    public class SqlTimestampConverterFactory
    extends Object
    implements org.smooks.api.converter.TypeConverterFactory<String,​Timestamp>, org.smooks.api.resource.config.Configurable
    Timestamp data decoder.

    Extends DateDecoder and returns a java.sql.Timestamp instance.

    Author:
    maurice.zeijen@smies.com
    • Constructor Detail

      • SqlTimestampConverterFactory

        public SqlTimestampConverterFactory()
    • Method Detail

      • createTypeConverter

        public org.smooks.api.converter.TypeConverter<String,​Timestamp> createTypeConverter()
        Specified by:
        createTypeConverter in interface org.smooks.api.converter.TypeConverterFactory<String,​Timestamp>
      • getTypeConverterDescriptor

        public org.smooks.api.converter.TypeConverterDescriptor<Class<String>,​Class<Timestamp>> getTypeConverterDescriptor()
        Specified by:
        getTypeConverterDescriptor in interface org.smooks.api.converter.TypeConverterFactory<String,​Timestamp>
      • setConfiguration

        public void setConfiguration​(Properties properties)
                              throws org.smooks.api.SmooksConfigException
        Specified by:
        setConfiguration in interface org.smooks.api.resource.config.Configurable
        Throws:
        org.smooks.api.SmooksConfigException
      • getConfiguration

        public Properties getConfiguration()
        Specified by:
        getConfiguration in interface org.smooks.api.resource.config.Configurable