|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Transferable
This interface is implemented by classes that can transfer data.
| 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. |
| Method Detail |
|---|
DataFlavor[] getTransferDataFlavors()
boolean isDataFlavorSupported(DataFlavor flavor)
flavor - the data flavor to test
Object getTransferData(DataFlavor flavor)
throws UnsupportedFlavorException,
IOException
DataFlavor.
flavor - the data flavor to return
UnsupportedFlavorException - if the flavor is not supported
IOException - if the data is not availableDataFlavor.getRepresentationClass()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||