Interface Manifest

  • All Known Implementing Classes:
    LocalManifest, RemoteManifest

    public interface Manifest
    Interface representing a "manifest". Manifests are collections of data used in clipboard and drag/drop operations.

    TODO In the future, we may want to make this an abstract base class and add a SerializerDictionary that maps keys to Serializers. Local manifests can use the dictionary to write data out to the native OS, and remote manifests can do the opposite. We'll still need a means of mapping value keys to native IDs (which we would need to do via MIME types if the system is based on AWT's DnD mechanism).

    • Method Detail

      • getText

        java.lang.String getText()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • containsText

        boolean containsText()
      • getImage

        Image getImage()
                throws java.io.IOException
        Throws:
        java.io.IOException
      • containsImage

        boolean containsImage()
      • getFileList

        FileList getFileList()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • containsFileList

        boolean containsFileList()
      • getValue

        java.lang.Object getValue​(java.lang.String key)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • containsValue

        boolean containsValue​(java.lang.String key)