Class ClipboardInputStream
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
org.refcodes.io.ClipboardInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
A
ClipboardInputStream provides the clipboard as InputStream.-
Field Summary
Fields inherited from class ByteArrayInputStream
buf, count, mark, pos -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ByteArrayInputStream
available, close, mark, markSupported, read, read, readAllBytes, readNBytes, reset, skip, transferToMethods inherited from class InputStream
nullInputStream, read, readNBytes, skipNBytes
-
Constructor Details
-
ClipboardInputStream
Creates anInputStreamfrom the clipboard's textual content.- Throws:
UnsupportedFlavorException- thrown in case there is no textual content.IOException- thrown in case of issues accessing the clipboard.
-