java.awt.datatransfer
Interface FlavorTable
java.lang.Object
|
+--java.awt.datatransfer.FlavorMap
|
+--java.awt.datatransfer.FlavorTable
All Implemented Interfaces:
FlavorMap
public interface
FlavorTableimplements
FlavorMap A FlavorMap which no longer requires a 1-to-1 mapping between flavors. Any
native can map to multiple flavors, and any flavor can map to multiple
natives; although the mappings are usually symmetric.
Since:Author:- Eric Blake <ebb9@email.byu.edu>
getFlavorsForNative
public List getFlavorsForNative(java.lang.String name)
Returns a list of flavors corresponding to the given String native. The
list should be sorted from best to worst. The list must be modifiable
without affecting this table.
Parameters:
Returns:
- the sorted list of flavors
getNativesForFlavor
public List getNativesForFlavor(java.awt.datatransfer.DataFlavor flavor)
Returns a list of String natives corresponding to the given flavor. The
list should be sorted from best to worst. The list must be modifiable
without affecting this table.
Parameters:
Returns:
- the sorted list of natives