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