de.intarsys.tools.converter
Class LongFromStringConverter
java.lang.Object
de.intarsys.tools.converter.LongFromStringConverter
- All Implemented Interfaces:
- IConverter<String,Long>
public class LongFromStringConverter
- extends Object
- implements IConverter<String,Long>
Convert a String to Long
LongFromStringConverter
public LongFromStringConverter()
convert
public Long convert(String source)
throws ConversionException
- Description copied from interface:
IConverter
- Convert the actual source object.
- Specified by:
convert in interface IConverter<String,Long>
- Returns:
- The converted object.
- Throws:
ConversionException
getSourceType
public Class<?> getSourceType()
- Description copied from interface:
IConverter
- The source type the converter supports.
- Specified by:
getSourceType in interface IConverter<String,Long>
- Returns:
- The source type the converter supports.
getTargetType
public Class<?> getTargetType()
- Description copied from interface:
IConverter
- The target type the converter supports.
- Specified by:
getTargetType in interface IConverter<String,Long>
- Returns:
- The target type the converter supports.
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.