Class StringToLong
java.lang.Object
org.springframework.binding.convert.converters.StringToObject
org.springframework.binding.convert.converters.StringToLong
- All Implemented Interfaces:
Converter
,TwoWayConverter
Converts a String to an Long using
Long.valueOf(String)
.- Author:
- Keith Donald
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.binding.convert.converters.StringToObject
convertSourceToTargetClass, convertTargetToSourceClass, getSourceClass, getTargetClass
-
Constructor Details
-
StringToLong
public StringToLong()
-
-
Method Details
-
toObject
- Specified by:
toObject
in classStringToObject
-
toString
- Specified by:
toString
in classStringToObject
-