Class FromStringConverter
java.lang.Object
org.springframework.ldap.odm.typeconversion.impl.converters.FromStringConverter
- All Implemented Interfaces:
Converter
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FromStringConverter
public FromStringConverter()
-
-
Method Details
-
convert
Description copied from interface:Converter
Attempt to convert a given object to a named class.- Specified by:
convert
in interfaceConverter
- Type Parameters:
T
- The class to convert to.- Parameters:
source
- The object to convert.toClass
- The class to convert to.- Returns:
- The converted class or null if the conversion was not possible.
- Throws:
Exception
- Any exception may be throw by a Converter on error.
-