Returns a transferable object representing the current contents
of the clipboard. If the clipboard currently has no contents,
it returns
null
. The parameter Object requestor is
not currently used. The method throws
IllegalStateException
if the clipboard is currently
unavailable. For example, on some platforms, the system clipboard is
unavailable while it is accessed by another application.
Returns:
the current transferable object on the clipboard
Parameters:
-
requestor - the object requesting the clip data (not used)
Throws:
-
IllegalStateException - if the clipboard is currently unavailable
See Also:
Toolkit.getSystemClipboard()
,