java.awt.datatransfer
public interface FlavorMap
Modifier and Type | Method and Description |
---|---|
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. |
Map<DataFlavor,String> getNativesForFlavors(DataFlavor[] 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.flavors
- An array of data flavors to map
or null for all data flavors.Map
of native data types.Map<String,DataFlavor> getFlavorsForNatives(String[] natives)
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.natives
- An array of native types to map
or null for all native types.Map
of data flavors.