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 java.io.ByteArrayInputStream
buf, count, mark, pos
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.ByteArrayInputStream
available, close, mark, markSupported, read, read, readAllBytes, readNBytes, reset, skip, transferTo
Methods inherited from class java.io.InputStream
nullInputStream, read, readNBytes, skipNBytes
-
Constructor Details
-
ClipboardInputStream
Creates anInputStream
from the clipboard's textual content.- Throws:
UnsupportedFlavorException
- thrown in case there is no textual content.IOException
- thrown in case of issues accessing the clipboard.
-