public interface Converter
Modifier and Type | Method and Description |
---|---|
<T> T |
convert(Object source,
Class<T> toClass)
Attempt to convert a given object to a named class.
|
<T> T convert(Object source, Class<T> toClass) throws Exception
T
- The class to convert to.source
- The object to convert.toClass
- The class to convert to.Exception
- Any exception may be throw by a Converter on error.Copyright © 2005–2016 The Spring LDAP Framework. All rights reserved.