Clipboard

ammonite.repl.api.Clipboard
trait Clipboard

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

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.

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