com.threerings.util
Class ToolUtil.WrappedTransfer
java.lang.Object
com.threerings.util.ToolUtil.WrappedTransfer
- All Implemented Interfaces:
- Transferable
- Enclosing class:
- ToolUtil
public static class ToolUtil.WrappedTransfer
- extends Object
- implements Transferable
A Transferable available in two flavors: one for use within a single VM and one that
uses binary export/import to exchange data between different VMs. Either way, the actual
data returned is a SerializableWrapper containing the object of interest.
ToolUtil.WrappedTransfer
public ToolUtil.WrappedTransfer(Object object)
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors in interface Transferable
isDataFlavorSupported
public boolean isDataFlavorSupported(DataFlavor flavor)
- Specified by:
isDataFlavorSupported in interface Transferable
getTransferData
public Object getTransferData(DataFlavor flavor)
- Specified by:
getTransferData in interface Transferable
Copyright © 2011. All Rights Reserved.