Package org.geotools.data.util
Class AbbreviatedTimeUnitConverterFactory
Object
AbbreviatedTimeUnitConverterFactory
- All Implemented Interfaces:
ConverterFactory
Converter Factory converting abbreviated timeUnit Strings (s, m, h, d) to
TimeUnit enum.-
Field Summary
Fields inherited from interface ConverterFactory
SAFE_CONVERSION -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbbreviatedTimeUnitConverterFactory
public AbbreviatedTimeUnitConverterFactory()
-
-
Method Details
-
createConverter
Description copied from interface:ConverterFactoryCreates aConverterinstance for converting one type of object to another.- Specified by:
createConverterin interfaceConverterFactory- Parameters:
source- The type to convert from.target- The type to convert to.hints- Hints used to be used while creating a converter.- Returns:
- The converter, or
nullif one could not be found.
-