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

Print this page

        

@@ -3,32 +3,24 @@
 # java.awt.datatransfer.SystemFlavorMap. It contains the Win32 platform-
 # specific, default mappings between common Win32 Clipboard 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>=<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 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.
-#
+# 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
 # specifies the end-of-line marker, and the "terminators" parameter specifies

@@ -68,10 +60,10 @@
 JFIF=image/x-java-image;class=java.awt.Image
 DIB=image/x-java-image;class=java.awt.Image
 ENHMETAFILE=image/x-java-image;class=java.awt.Image
 METAFILEPICT=image/x-java-image;class=java.awt.Image
 LOCALE=application/x-java-text-encoding;class="[B"
-UniformResourceLocator=application/x-java-url;class=java.net.URL
-UniformResourceLocator=text/uri-list;eoln="\r\n";terminators=1
-UniformResourceLocator=text/plain;eoln="\r\n";terminators=1
+UniformResourceLocator=application/x-java-url;class=java.net.URL,\
+                       text/uri-list;eoln="\r\n";terminators=1,\
+                       text/plain;eoln="\r\n";terminators=1
 FileGroupDescriptorW=application/x-java-file-list;class=java.util.List
 FileGroupDescriptor=application/x-java-file-list;class=java.util.List