Package org.smooks.engine.converter
Class StringToLongConverterFactory
- java.lang.Object
-
- org.smooks.engine.converter.StringToLongConverterFactory
-
- All Implemented Interfaces:
TypeConverterFactory<String,Long>
,Configurable
public class StringToLongConverterFactory extends Object implements TypeConverterFactory<String,Long>, Configurable
Long decoder.- Author:
- tom.fennelly@gmail.com
-
-
Constructor Summary
Constructors Constructor Description StringToLongConverterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeConverter<String,Long>
createTypeConverter()
Properties
getConfiguration()
Get the component configuration.TypeConverterDescriptor<Class<String>,Class<Long>>
getTypeConverterDescriptor()
void
setConfiguration(Properties properties)
Set the component configuration.
-
-
-
Method Detail
-
createTypeConverter
public TypeConverter<String,Long> createTypeConverter()
- Specified by:
createTypeConverter
in interfaceTypeConverterFactory<String,Long>
-
getTypeConverterDescriptor
public TypeConverterDescriptor<Class<String>,Class<Long>> getTypeConverterDescriptor()
- Specified by:
getTypeConverterDescriptor
in interfaceTypeConverterFactory<String,Long>
-
setConfiguration
public void setConfiguration(Properties properties) throws SmooksConfigException
Description copied from interface:Configurable
Set the component configuration.- Specified by:
setConfiguration
in interfaceConfigurable
- Parameters:
properties
- The component configuration properties.- Throws:
SmooksConfigException
- Bad component configuration.
-
getConfiguration
public Properties getConfiguration()
Description copied from interface:Configurable
Get the component configuration.- Specified by:
getConfiguration
in interfaceConfigurable
- Returns:
- The component configuration properties.
-
-