java.awt.datatransfer
public interface: FlavorMap [javadoc |
source]
All Known Implementing Classes:
SystemFlavorMap, FlavorTable
A two-way Map between "natives" (Strings), which correspond to platform-
specfic data formats, and "flavors" (DataFlavors), which corerspond to
platform-independent MIME types. FlavorMaps need not be symmetric, but
typically are.
| Method from java.awt.datatransfer.FlavorMap Detail: |
public Map getFlavorsForNatives(String[] natives)
Returns a Map of the specified String natives
to their corresponding DataFlavor. The returned
Map is a modifiable copy of this FlavorMap's
internal data. Client code is free to modify the Map
without affecting this object. |
public Map getNativesForFlavors(DataFlavor[] flavors)
Returns a Map of the specified DataFlavors to
their corresponding String native. The returned
Map is a modifiable copy of this FlavorMap's
internal data. Client code is free to modify the Map
without affecting this object. |