|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sikuli.script.Clipboard
public class Clipboard
Utility for changing and checking the contents of the system's clipboard.
Nested Class Summary | |
---|---|
static class |
Clipboard.Charset
Enumeration for the charset property in MIME types (UTF-8, UTF-16, etc.) |
static class |
Clipboard.TextType
Enumeration for the text type property in MIME types |
static class |
Clipboard.TransferType
Enumeration for the transfert type property in MIME types (InputStream, CharBuffer, etc.) |
Field Summary | |
---|---|
static Clipboard.TransferType |
BYTE_BUFFER
|
static Clipboard.TransferType |
CHAR_BUFFER
|
static Clipboard.TextType |
HTML
|
static Clipboard.TransferType |
INPUT_STREAM
|
static Clipboard.TextType |
PLAIN
|
static Clipboard.TransferType |
READER
|
static Clipboard.Charset |
UNICODE
|
static Clipboard.Charset |
US_ASCII
|
static Clipboard.Charset |
UTF16
|
static Clipboard.Charset |
UTF8
|
Method Summary | |
---|---|
static Clipboard |
getSystemClipboard()
|
static void |
putText(CharSequence data)
Dumps a given text (either String or StringBuffer) into the Clipboard, with a default MIME type |
static void |
putText(Clipboard.TextType type,
Clipboard.Charset charset,
Clipboard.TransferType transferType,
CharSequence data)
Dumps a given text (either String or StringBuffer) into the Clipboard with a specified MIME type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Clipboard.TextType HTML
public static final Clipboard.TextType PLAIN
public static final Clipboard.Charset UTF8
public static final Clipboard.Charset UTF16
public static final Clipboard.Charset UNICODE
public static final Clipboard.Charset US_ASCII
public static final Clipboard.TransferType READER
public static final Clipboard.TransferType INPUT_STREAM
public static final Clipboard.TransferType CHAR_BUFFER
public static final Clipboard.TransferType BYTE_BUFFER
Method Detail |
---|
public static void putText(CharSequence data)
public static void putText(Clipboard.TextType type, Clipboard.Charset charset, Clipboard.TransferType transferType, CharSequence data)
public static Clipboard getSystemClipboard()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |