FlavorMappublic interface FlavorMap 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. |
Methods Summary |
---|
public java.util.Map | getFlavorsForNatives(java.lang.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 java.util.Map | getNativesForFlavors(java.awt.datatransfer.DataFlavor[] flavors)Returns a Map of the specified DataFlavor s 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.
|
|