public class LocaleConverter extends Object implements Converter
| Modifier and Type | Field and Description |
|---|---|
static Class |
TEMPLATE
converter's return type
|
| Constructor and Description |
|---|
LocaleConverter() |
| Modifier and Type | Method and Description |
|---|---|
static Locale |
conv(String attrValue)
Convert the value of the given
Attribute object into an output object of the
specified type. |
Object |
convert(Class type,
Attribute attr,
Localizer localizer)
Convert the value of the given
Attribute object into an output object of the
specified type. |
Class |
convertsTo()
A
Converters conversTo method informs about the Class type the converter
is returning when its convert method is called |
public static final Class TEMPLATE
public static Locale conv(String attrValue) throws Exception
Attribute object into an output object of the
specified type.attr - Attribute the attribute, providing the value to be converted.Exceptionpublic Object convert(Class type, Attribute attr, Localizer localizer) throws Exception
Attribute object into an output object of the
specified type.public Class convertsTo()
Converters conversTo method informs about the Class type the converter
is returning when its convert method is calledconvertsTo in interface ConverterClass - the Class the converter is returning when its convert method is calledCopyright © 2002 - 2013 - Wolf Paulus - wolfpaulus.com. All rights reserved.