Class StringToInteger
java.lang.Object
org.springframework.binding.convert.converters.StringToObject
org.springframework.binding.convert.converters.StringToInteger
- All Implemented Interfaces:
Converter
,TwoWayConverter
Converts a String to an Integer using
Integer.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
-
StringToInteger
public StringToInteger()
-
-
Method Details
-
toObject
- Specified by:
toObject
in classStringToObject
-
toString
- Specified by:
toString
in classStringToObject
-