Package org.geotools.data.util
Class UuidConverterFactory
Object
UuidConverterFactory
- All Implemented Interfaces:
ConverterFactory
ConverterFactory for handling uuid (uniqueidentifier) conversions.
Supported conversions:
- string -> UUID
- byte[] -> UUID
- Author:
- Andrea Briganti <kbyte@ciotoni.net>
-
Field Summary
Fields inherited from interface ConverterFactory
SAFE_CONVERSION -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UuidConverterFactory
public UuidConverterFactory()
-
-
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.
-