|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LocalizedConverter<S,T>
Localized converter interface. Classes implement this interface to convert one object type to another. Methods are provided to localize the conversion.
| Method Summary | |
|---|---|
T |
convert(S obj,
Locale locale,
TimeZone timeZone)
Converts obj to T. |
T |
convert(S obj,
Locale locale,
TimeZone timeZone,
String formatString)
Converts obj to T. |
| Methods inherited from interface org.apache.commons.convert.Converter |
|---|
canConvert, convert, getSourceClass, getTargetClass |
| Method Detail |
|---|
T convert(S obj,
Locale locale,
TimeZone timeZone)
throws ConversionException
obj to T.
obj - The source Object to convertlocale - The locale used for conversion - must not be nulltimeZone - The time zone used for conversion - must not be null
Object
ConversionException
T convert(S obj,
Locale locale,
TimeZone timeZone,
String formatString)
throws ConversionException
obj to T.
obj - The source Object to convertlocale - The locale used for conversion - must not be nulltimeZone - The time zone used for conversion - must not be nullformatString - Optional formatting string
Object
ConversionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||