public class TypeSafeDataProviderAdapter extends java.lang.Object implements DataProvider, DataSink
Constructor and Description |
---|
TypeSafeDataProviderAdapter(TypeSafeDataProvider provider) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData(java.lang.String dataId)
Returns the object corresponding to the specified data identifier.
|
<T> void |
put(DataKey<T> key,
T data) |
java.lang.String |
toString() |
public TypeSafeDataProviderAdapter(TypeSafeDataProvider provider)
public java.lang.Object getData(java.lang.String dataId)
DataProvider
PlatformDataKeys
class.getData
in interface DataProvider
dataId
- the data identifier for which the value is requested.public java.lang.String toString()
toString
in class java.lang.Object