|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Converter<Source,Target>
Implementations convert from source to target type.
This interface is supported by an ExtensionPoint "PluginSystem@Converter". If
you want to use the @Extension
annotation, consider implementing ExtendedConverter
otherwise you have to specify source and target parameters using data type Strings that can be parsed by the
TypeConverter
Method Summary | |
---|---|
Target |
convert(Source source,
java.lang.ClassLoader loader)
Converts the given source object to target type using the given classloader to resolve any resources. |
Method Detail |
---|
Target convert(Source source, java.lang.ClassLoader loader)
source
- the source valueloader
- the loader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |