src/solaris/classes/sun/awt/datatransfer/flavormap.properties

Print this page

        

*** 3,33 **** # java.awt.datatransfer.SystemFlavorMap. It contains the X11 platform-specific, # default mappings between common X11 selection atoms and platform-independent # MIME type strings, which will be converted into # java.awt.datatransfer.DataFlavors. # - # These default mappings may be augmented by specifying the - # - # AWT.DnD.flavorMapFileURL - # - # property in the appropriate awt.properties file. The specified properties URL - # will be loaded into the SystemFlavorMap. - # # The standard format is: # ! # <native>=<MIME type> # # <native> should be a string identifier that the native platform will # recognize as a valid data format. <MIME type> should specify both a MIME # primary type and a MIME subtype separated by a '/'. The MIME type may include # parameters, where each parameter is a key/value pair separated by '=', and # where each parameter to the MIME type is separated by a ';'. # # Because SystemFlavorMap implements FlavorTable, developers are free to ! # duplicate both native keys and DataFlavor values. If a mapping contains a ! # duplicate key or value, earlier mappings which included this key or value ! # will be preferred. # # Mappings whose values specify DataFlavors with primary MIME types of # "text", and which support the charset parameter, should specify the exact # format in which the native platform expects the data. The "charset" # parameter specifies the char to byte encoding, the "eoln" parameter --- 3,26 ---- # java.awt.datatransfer.SystemFlavorMap. It contains the X11 platform-specific, # default mappings between common X11 selection atoms and platform-independent # MIME type strings, which will be converted into # java.awt.datatransfer.DataFlavors. # # The standard format is: # ! # <native>=<MIME type>,<MIME type>, ... # # <native> should be a string identifier that the native platform will # recognize as a valid data format. <MIME type> should specify both a MIME # primary type and a MIME subtype separated by a '/'. The MIME type may include # parameters, where each parameter is a key/value pair separated by '=', and # where each parameter to the MIME type is separated by a ';'. # # Because SystemFlavorMap implements FlavorTable, developers are free to ! # duplicate DataFlavor values and set multiple values for a single native by ! # separating them with ",". If a mapping contains a duplicate key or value, ! # earlier mappings which included this key or value will be preferred. # # Mappings whose values specify DataFlavors with primary MIME types of # "text", and which support the charset parameter, should specify the exact # format in which the native platform expects the data. The "charset" # parameter specifies the char to byte encoding, the "eoln" parameter