Class ScriptTranferable
java.lang.Object
fr.ifremer.isisfish.ui.script.model.ScriptTranferable
- All Implemented Interfaces:
Transferable
Represent transfered data.
- Version:
- $Revision$ Last update : $Date$ By : $Author$
- Author:
- chatellier
-
Field Summary
Modifier and TypeFieldDescriptionFiles to transfer.protected static final String
Data transfer mime typeprotected static DataFlavor
Data instance -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTransferData
(DataFlavor flavor) boolean
isDataFlavorSupported
(DataFlavor flavor)
-
Field Details
-
MIMETYPE
Data transfer mime type -
myData
Data instance -
filesToTransfer
Files to transfer. Chosen implementation must be serializable.
-
-
Constructor Details
-
ScriptTranferable
Constructor.- Parameters:
filesToTransfer
- files to transfer
-
-
Method Details
-
getTransferData
- Specified by:
getTransferData
in interfaceTransferable
- Throws:
UnsupportedFlavorException
IOException
-
getTransferDataFlavors
- Specified by:
getTransferDataFlavors
in interfaceTransferable
-
isDataFlavorSupported
- Specified by:
isDataFlavorSupported
in interfaceTransferable
-