java.awt.datatransfer
public interface Transferable
Since: 1.1
UNKNOWN: updated to 1.4
Method Summary | |
---|---|
Object | getTransferData(DataFlavor flavor)
Returns the data in the specified DataFlavor .
|
DataFlavor[] | getTransferDataFlavors()
This method returns a list of available data flavors for the data being
transferred. |
boolean | isDataFlavorSupported(DataFlavor flavor)
Tests whether or not this data can be delivered in the specified data
flavor.
|
DataFlavor
.
Parameters: flavor the data flavor to return
Returns: the data in the appropriate flavor
Throws: UnsupportedFlavorException if the flavor is not supported IOException if the data is not available
See Also: DataFlavor
Returns: adA list of data flavors for this data
Parameters: flavor the data flavor to test
Returns: true if the data flavor is supported