Package org.htmlunit.platform
Class AwtClipboardHandler
java.lang.Object
org.htmlunit.platform.AwtClipboardHandler
- All Implemented Interfaces:
Serializable
,ClipboardHandler
ClipboardHandler
using the Clipboard
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setClipboardContent
(String string) Writes the sting to the system clipboard.
-
Constructor Details
-
AwtClipboardHandler
public AwtClipboardHandler()
-
-
Method Details
-
getClipboardContent
- Specified by:
getClipboardContent
in interfaceClipboardHandler
- Returns:
- the current content of the clipboard
-
setClipboardContent
Writes the sting to the system clipboard.- Specified by:
setClipboardContent
in interfaceClipboardHandler
- Parameters:
string
- the content to be stored in the clipboard
-