java.awt.datatransfer
Interface FlavorMap
java.lang.Object
|
+--java.awt.datatransfer.FlavorMap
public interface FlavorMap
This interface maps between native platform type names and DataFlavors.
Author:- Aaron M. Renn (arenn@urbanophile.com)
getFlavorsForNatives
public Map getFlavorsForNatives(java.lang.String[] natives)
Maps the specified native type names to DataFlavor
's.
The returned Map
has keys that are strings and values
that are DataFlavor
's. The returned map may be
modified. This can be useful for implementing nested mappings.
Parameters:
Returns:
getNativesForFlavors
public Map getNativesForFlavors(java.awt.datatransfer.DataFlavor[] flavors)
Maps the specified DataFlavor
objects to the native
data type name. The returned Map
has keys that are
the data flavors and values that are strings. The returned map
may be modified. This can be useful for implementing nested mappings.
Parameters:
Returns:
- A
Map
of native data types.