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
Constructors -
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:
toObjectin classStringToObject
-
toString
- Specified by:
toStringin classStringToObject
-