IDataObject.getData

Overview | Methods | This Package | All Packages

IDataObject.getData

Retrieves the data associated with the specific data format.

Syntax

public Object getData( String format )

public Object getData( Class format )

Parameters

format

A String object or class that represents the format of the data to retrieve.

Return Value

Returns an object that represents the data associated with the specific format.

Remarks

Use the getData method to retrieve data stored in the Data object. You can define the format that the data should be stored in using either a String object that defines that data type or the class for the data format. You can use the fields in the DataFormats class to define the proper data format. To determine the format of the data before calling this method, use the getDataPresent method.

See Also   DataObject, setData