org.springframework.binding.convert.converters
Class StringToLocale
java.lang.Object
org.springframework.binding.convert.converters.StringToObject
org.springframework.binding.convert.converters.StringToLocale
- All Implemented Interfaces:
- Converter, TwoWayConverter
public class StringToLocale
- extends StringToObject
Converts a String to a Locale using StringUtils.parseLocaleString(String)
.
- Author:
- Keith Donald
StringToLocale
public StringToLocale()
toObject
public Object toObject(String string,
Class objectClass)
throws Exception
- Throws:
Exception
toString
public String toString(Object object)
throws Exception
- Throws:
Exception