Package ghidra.app.util

# Class ClipboardType

java.lang.Object
ghidra.app.util.ClipboardType

public class ClipboardType extends Object
Defines a "type" for items in the Clipboard

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClipboardType(DataFlavor flavor, String typeName)`
  Constructs a new ClipboardType

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DataFlavor`
  `getFlavor()`
  Returns the DataFlavor for this type
  `String`
  `getTypeName()`
  Returns the name of this type
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ClipboardType

    public ClipboardType(DataFlavor flavor, String typeName)
    Constructs a new ClipboardType
    Parameters:
      `flavor` - the DataFlavor of the data in the clipboard
      `typeName` - the name for this ClipboardType

- ## Method Details

  - ### getFlavor

    public DataFlavor getFlavor()
    Returns the DataFlavor for this type
    Returns:
      the flavor

  - ### getTypeName

    public String getTypeName()
    Returns the name of this type
    Returns:
      the name

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`