java.lang.Object
org.mentawai.converter.LocaleConverter
- All Implemented Interfaces:
- Converter
- Direct Known Subclasses:
- DateConverter
- public abstract class LocaleConverter
- extends java.lang.Object
- implements Converter
A converter that needs to know the user locale to perform the conversion.
You should override this class to implement your own converters.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocaleConverter
public LocaleConverter()
convert
public abstract java.lang.Object convert(java.lang.Object value,
java.util.Locale loc)
throws ConversionException
- Convert an object to another one using the use locale.
convert
public java.lang.Object convert(java.lang.String field,
org.mentawai.core.Action action)
throws ConversionException
- Description copied from interface:
Converter
- Converts a input field from this action.
- Specified by:
convert in interface Converter