Class AwtClipboardHandler

java.lang.Object
org.htmlunit.platform.AwtClipboardHandler
All Implemented Interfaces:
Serializable, ClipboardHandler

public class AwtClipboardHandler extends Object implements ClipboardHandler
See Also:
  • Constructor Details

    • AwtClipboardHandler

      public AwtClipboardHandler()
  • Method Details

    • getClipboardContent

      public String getClipboardContent()
      Specified by:
      getClipboardContent in interface ClipboardHandler
      Returns:
      the current content of the clipboard
    • setClipboardContent

      public void setClipboardContent(String string)
      Writes the sting to the system clipboard.
      Specified by:
      setClipboardContent in interface ClipboardHandler
      Parameters:
      string - the content to be stored in the clipboard