Package org.htmlunit.platform
Class AwtClipboardHandler
- java.lang.Object
-
- org.htmlunit.platform.AwtClipboardHandler
-
- All Implemented Interfaces:
java.io.Serializable
,ClipboardHandler
public class AwtClipboardHandler extends java.lang.Object implements ClipboardHandler
ClipboardHandler
using theClipboard
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AwtClipboardHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClipboardContent()
void
setClipboardContent(java.lang.String string)
Writes the sting to the system clipboard.
-
-
-
Method Detail
-
getClipboardContent
public java.lang.String getClipboardContent()
- Specified by:
getClipboardContent
in interfaceClipboardHandler
- Returns:
- the current content of the clipboard
-
setClipboardContent
public void setClipboardContent(java.lang.String string)
Writes the sting to the system clipboard.- Specified by:
setClipboardContent
in interfaceClipboardHandler
- Parameters:
string
- the content to be stored in the clipboard
-
-