StringSelection.getTransferData
Class Overview | Class Members |
This Package |
All Packages
public synchronized Object getTransferData( DataFlavor flavor ) throws UnsupportedFlavorException, IOException
Parameters
- flavor
- the requested flavor for the data
Description
If the data was requested in the "java.lang.String" flavor, return the
String representing the selection.
Exceptions
UnsupportedFlavorException
if the requested data flavor is
not supported in the "java.lang.String" flavor.