Interface Converter<S,T>
-
- All Known Implementing Classes:
StringToBooleanConverter
,StringToDateConverter
,StringToDoubleConverter
,StringToFloatConverter
,StringToIntegerConverter
,StringToLongConverter
,StringToShortConverter
,StringToStringConverter
public interface Converter<S,T>
Converts objects of S type to T type.- Author:
- avasquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
convert(S source)
Converts the source object from S type to T type.Class<?>
getSourceClass()
Returns the class of the objects this converter converts from.Class<?>
getTargetClass()
Returns the class of the objects this converter converts to.
-