pivot.wtk
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).

Author:
gbrown

Method Summary
 boolean containsFileList()
           
 boolean containsImage()
           
 boolean containsText()
           
 boolean containsURL()
           
 boolean containsValue(String key)
           
 FileList getFileList()
           
 Image getImage()
           
 String getText()
           
 URL getURL()
           
 Object getValue(String key)
           
 

Method Detail

getText

String getText()
               throws IOException
Throws:
IOException

containsText

boolean containsText()

getImage

Image getImage()
               throws IOException
Throws:
IOException

containsImage

boolean containsImage()

getFileList

FileList getFileList()
                     throws IOException
Throws:
IOException

containsFileList

boolean containsFileList()

getURL

URL getURL()
           throws IOException
Throws:
IOException

containsURL

boolean containsURL()

getValue

Object getValue(String key)
                throws IOException
Throws:
IOException

containsValue

boolean containsValue(String key)