com.im.df.api 5.9

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).


Method Summary
 DFDataConvertor findConvertorFor(Class<? extends DFFieldDataTypeCapability> type)
          Return appropriate data convertor for the specified type.
 

Method Detail

findConvertorFor

DFDataConvertor findConvertorFor(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

com.im.df.api 5.9