public class Clipboard extends Object
This class provides a minimal stub implementation of a system clipboard to allow the NDT tool to run in headless environments. The clipboard can accept content but provides no actual clipboard functionality.
All operations are no-ops, maintaining API compatibility without requiring an actual graphical display system or system clipboard access.
| Constructor and Description |
|---|
Clipboard()Creates a new Clipboard instance. |
| Modifier and Type | Method and Description |
|---|---|
void | setContents(StringSelection s,
StringSelection t)Set the clipboard contents. |
public void setContents(StringSelection s, StringSelection t)
s - the StringSelection to sett - the StringSelection to set