The Transferable interface is implemented by objects that can be placed on Clipboards.
public abstract interface Transferable { // Instance Methods public abstract Object getTransferData (DataFlavor flavor) throws UnsupportedFlavorException, IOException; public abstract DataFlavor[] getTransferDataFlavors(); public abstract boolean isDataFlavorSupported (DataFlavor flavor); }
The requested flavor for the returned data.
The data represented by this Transferable object, in the requested flavor.
If the requested flavor is not supported.
If a Reader representing the data could not be created.
Returns the data this Transferable object represents. The class of object returned depends on the flavor requested.
An array of the supported data flavors.
The data flavors should be returned in order, sorted from most to least descriptive.
The flavor in question.
true if flavor is supported; false otherwise.
Clipboard, DataFlavor, Reader, StringSelection, Transferable
This HTML Help has been published using the chm2web software. |