java.awt.datatransfer
public interface FlavorMap
Method Summary | |
---|---|
Map<String,DataFlavor> | getFlavorsForNatives(String[] natives)
Maps the specified native type names to DataFlavor 's.
|
Map<DataFlavor,String> | getNativesForFlavors(DataFlavor[] flavors)
Maps the specified DataFlavor objects to the native
data type name. |
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: natives An array of native types to map or null for all native types.
Returns: A Map
of data flavors.
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: flavors An array of data flavors to map or null for all data flavors.
Returns: A Map
of native data types.