Package org.htmlunit

Interface ClipboardHandler

  • All Superinterfaces:
    java.io.Serializable

    public interface ClipboardHandler
    extends java.io.Serializable
    A handler for system clipboard access.
    • Method Detail

      • getClipboardContent

        java.lang.String getClipboardContent()
        Returns:
        the current content of the clipboard
      • setClipboardContent

        void setClipboardContent​(java.lang.String string)
        Writes the sting to the system clipboard.
        Parameters:
        string - the content to be stored in the clipboard