|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface which must be implemented by all type converters. A type converter converts the incoming Object from one type to another. The conversion may be as complex as necessary. In addition, type converters can include configuration information in there definitions.
| Method Summary | |
java.lang.Object |
convert(java.lang.Object data,
java.util.Locale locale)
Convert the given data object from one type to another. |
void |
loadConfiguration(com.anthonyeden.lib.config.Configuration configuration)
Load the converter's configuration. |
| Method Detail |
public java.lang.Object convert(java.lang.Object data,
java.util.Locale locale)
throws java.lang.Exception
data - The data objectlocale - The Locale
java.lang.Exception
public void loadConfiguration(com.anthonyeden.lib.config.Configuration configuration)
throws com.anthonyeden.lib.config.ConfigurationException
configuration - The configuration object
com.anthonyeden.lib.config.ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||