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