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 TypeMethodDescriptionvoidsetClipboardContent(String string) Writes the sting to the system clipboard.
-
Constructor Details
-
AwtClipboardHandler
public AwtClipboardHandler()
-
-
Method Details
-
getClipboardContent
- Specified by:
getClipboardContentin interfaceClipboardHandler- Returns:
- the current content of the clipboard
-
setClipboardContent
Writes the sting to the system clipboard.- Specified by:
setClipboardContentin interfaceClipboardHandler- Parameters:
string- the content to be stored in the clipboard
-