Retrieves the data associated with the specific data format.
public Object getData( String format )
public Object getData( Class format )
format
A String object or class that represents the format of the data to retrieve.
Returns an object that represents the data associated with the specific format.
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