java.lang.Object | |
↳ | sun.awt.datatransfer.ClipboardTransferable |
Reads all of the data from the system Clipboard which the data transfer subsystem knows how to translate. This includes all text data, File Lists, Serializable objects, Remote objects, and properly registered, arbitrary data as InputStreams. The data is stored in byte format until requested by client code. At that point, the data is converted, if necessary, into the proper format to deliver to the application. This hybrid pre-fetch/delayed-rendering approach allows us to circumvent the API restriction that client code cannot lock the Clipboard to discover its formats before requesting data in a particular format, while avoiding the overhead of fully rendering all data ahead of time.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an object which represents the data to be transferred.
| |||||||||||
Returns an array of DataFlavor objects indicating the flavors the data
can be provided in.
| |||||||||||
Returns whether or not the specified data flavor is supported for
this object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns an object which represents the data to be transferred. The class of the object returned is defined by the representation class of the flavor.
flavor | the requested flavor for the data |
---|
Returns an array of DataFlavor objects indicating the flavors the data can be provided in. The array should be ordered according to preference for providing the data (from most richly descriptive to least descriptive).
Returns whether or not the specified data flavor is supported for this object.
flavor | the requested flavor for the data |
---|