
public final class SystemFlavorMap implements FlavorMap {
// No Constructor
// Public Class Methods
public static DataFlavor decodeDataFlavor(String atom) throws ClassNotFoundException;
public static String decodeJavaMIMEType(String atom);
public static String encodeDataFlavor(DataFlavor df);
public static String encodeJavaMIMEType(String mimeType);
public static FlavorMap getDefaultFlavorMap();
public static boolean isJavaMIMEType(String atom);
// Methods Implementing FlavorMap
synchronizedpublic java.util.Map getFlavorsForNatives(String[ ] natives);
synchronizedpublic java.util.Map getNativesForFlavors(DataFlavor[ ] flavors);
}
Hierar chy: Object→ SystemFlavorMap(FlavorMap)
Tr ansferable Ja va 1.1
java.awt.datatransfer PJ1.1
This interface defines the methods that a class must define if it is to act as the source
object in a data transfer operation.
getTransferDataFlavors() should retur n an array of DataFlavor objects that specify the data
types or formats in which the object can provide its data. The DataFlavor objects should
be ordered from best format (most richly descriptive) to worst format. isDataFlavorSup-
por ted() must retur naboolean value that indicates whether it can transfer data using a
specified DataFlavor. Finally, getTransferData() must retur n an object that repr esents the
data formatted as requir ed by the specified DataFlavor.
StringSelection is a predefined class that implements the ...