Package com.im.df.api.util
Interface DFDataConvertorProvider
-
public interface DFDataConvertorProvider
This interface is used for finding appropriate data convertors for the specified DFFieldDataTypeCapability subtype. This interface can be considered rather to be SPI class, because it should be used by those who implements Data convertor for own special types.DFDataConvertorProvider implementations can register as NetBeans service in META-INF.services and so then will be used by
DIFUtilities.findConvertorFor(Class)
.- Author:
- Petr Hamernik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DFDataConvertor
findConvertorFor(java.lang.Class<? extends DFFieldDataTypeCapability> type)
Return appropriate data convertor for the specified type.
-
-
-
Method Detail
-
findConvertorFor
DFDataConvertor findConvertorFor(java.lang.Class<? extends DFFieldDataTypeCapability> type)
Return appropriate data convertor for the specified type. Can return null if there is no such convertor registered.- Parameters:
type
- The requested data type.- Returns:
- The convertor or null
-
-