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

Interface FlavorMap

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


public interface FlavorMap

This interface maps between native platform type names and DataFlavors.

Author:

Method Summary

java.util.MapgetFlavorsForNatives(java.lang.String[] natives)

Maps the specified native type names to DataFlavor's.
java.util.MapgetNativesForFlavors(java.awt.datatransfer.DataFlavor[] flavors)

Maps the specified DataFlavor objects to the native data type name.

Method Details

getFlavorsForNatives

public Map getFlavorsForNatives(java.lang.String[] natives)

Maps the specified native type names to 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.

Parameters:

Returns:


getNativesForFlavors

public Map getNativesForFlavors(java.awt.datatransfer.DataFlavor[] flavors)

Maps the specified 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.

Parameters:

Returns: