Transferable.getTransferData

Transferable.getTransferData

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract Object getTransferData( DataFlavor flavor ) throws UnsupportedFlavorException, IOException
Parameters
flavor
the requested flavor for the data
Description
Returns an object which represents the data to be transferred. The class of the object returned is defined by the representation class of the flavor.

Exceptions
IOException if the data is no longer available in the requested flavor.
Exceptions
UnsupportedFlavorException if the requested data flavor is not supported.
See Also
getRepresentationClass