Returns an object representing the current contents of this clipboard in
the specified DataFlavor. The class of the object returned is
defined by the representation class of flavor.
flavor | the requested DataFlavor for the contents |
DataFlavor
NullPointerException | if flavor is null | |
IllegalStateException | if this clipboard is currently unavailable | |
UnsupportedFlavorException | if the requested DataFlavor is
not available | |
IOException | if the data in the requested DataFlavor can
not be retrieved |
DataFlavor.getRepresentationClass
Diagram: datatransfer