Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt.datatransfer

Interface FlavorTable

java.lang.Object
|
+--java.awt.datatransfer.FlavorMap
   |
   +--java.awt.datatransfer.FlavorTable

All Implemented Interfaces:

FlavorMap


public interface FlavorTable

implements FlavorMap

A FlavorMap which no longer requires a 1-to-1 mapping between flavors. Any native can map to multiple flavors, and any flavor can map to multiple natives; although the mappings are usually symmetric.

Since:Author:

Method Summary

java.util.ListgetFlavorsForNative(java.lang.String name)

Returns a list of flavors corresponding to the given String native.
java.util.ListgetNativesForFlavor(java.awt.datatransfer.DataFlavor flavor)

Returns a list of String natives corresponding to the given flavor.

Method Details

getFlavorsForNative

public List getFlavorsForNative(java.lang.String name)

Returns a list of flavors corresponding to the given String native. The list should be sorted from best to worst. The list must be modifiable without affecting this table.

Parameters:

Returns:


getNativesForFlavor

public List getNativesForFlavor(java.awt.datatransfer.DataFlavor flavor)

Returns a list of String natives corresponding to the given flavor. The list should be sorted from best to worst. The list must be modifiable without affecting this table.

Parameters:

Returns: