de.intarsys.tools.adapter
Class AdapterTools
java.lang.Object
de.intarsys.tools.adapter.AdapterTools
public class AdapterTools
- extends Object
A tool class for handling adapter objects.
|
Method Summary |
static
|
getAdapter(Object object,
Class<T> clazz)
An object of type clazz that represents object. |
AdapterTools
public AdapterTools()
getAdapter
public static <T> T getAdapter(Object object,
Class<T> clazz)
- An object of type
clazz that represents object.
This method should return null if adaption is not possible.
- Type Parameters:
T - - Parameters:
object - clazz -
- Returns:
- An object of type
clazz that represents
object.
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.