Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The FlavorMap is an interface to a map that maps platform native type names (strings) to MIME type strings, and also their associated DataFlavors.
This map is used by the DnD system to map platform data types to MIME types to enable the transfer of objects between Java and the platform via the platform DnD System.
SystemFlavorMap
Method Summary | |
Map |
getFlavorsForNatives(String[] natives)
map natives to corresponding flavors |
Map |
getNativesForFlavors(DataFlavor[] flavors)
map flavors to native data types names |
Method Detail |
public Map getNativesForFlavors(DataFlavor[] flavors)
flavors
- The array of DataFlavors to map to native types, or nullpublic Map getFlavorsForNatives(String[] natives)
native
- The array of String native types to map to DataFlavors, or null
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |