ClipboardImpl

ammonite.repl.ClipboardImpl
object ClipboardImpl extends Clipboard

Attributes

Graph
Supertypes
trait Clipboard
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def read: String

Reads contents from the system clipboard.

Reads contents from the system clipboard.

Attributes

Returns

System clipboard contents if they are readable as String, empty string otherwise.

Definition Classes
Clipboard
override def write(data: Writable): Unit

Sets the contents of the system clipboard.

Sets the contents of the system clipboard.

Value parameters

data

New contents for the clipboard.

Attributes

Definition Classes
Clipboard