1 #
   2 # This properties file is used to initialize the default
   3 # java.awt.datatransfer.SystemFlavorMap. It contains the Win32 platform-
   4 # specific, default mappings between common Win32 Clipboard atoms and platform-
   5 # independent MIME type strings, which will be converted into
   6 # java.awt.datatransfer.DataFlavors.
   7 #
   8 # The standard format is:
   9 #
  10 # <native>=<MIME type>,<MIME type>, ...
  11 #
  12 # <native> should be a string identifier that the native platform will
  13 # recognize as a valid data format. <MIME type> should specify both a MIME
  14 # primary type and a MIME subtype separated by a '/'. The MIME type may include
  15 # parameters, where each parameter is a key/value pair separated by '=', and
  16 # where each parameter to the MIME type is separated by a ';'.
  17 #
  18 # Because SystemFlavorMap implements FlavorTable, developers are free to
  19 # duplicate DataFlavor values and set multiple values for a single native by
  20 # separating them with ",". If a mapping contains a duplicate key or value,
  21 # earlier mappings which included this key or value will be preferred.#
  22 # Mappings whose values specify DataFlavors with primary MIME types of
  23 # "text", and which support the charset parameter, should specify the exact
  24 # format in which the native platform expects the data. The "charset"
  25 # parameter specifies the char to byte encoding, the "eoln" parameter
  26 # specifies the end-of-line marker, and the "terminators" parameter specifies
  27 # the number of terminating NUL bytes. Note that "eoln" and "terminators"
  28 # are not standardized MIME type parameters. They are specific to this file
  29 # format ONLY. They will not appear in any of the DataFlavors returned by the
  30 # SystemFlavorMap at the Java level.
  31 #
  32 # If the "charset" parameter is omitted, or has zero length, the platform
  33 # default encoding is assumed. If the "eoln" parameter is omitted, or has
  34 # zero length, "\n" is assumed. If the "terminators" parameter is omitted,
  35 # or has a value less than zero, zero is assumed.
  36 #
  37 # Upon initialization, the data transfer subsystem will record the specified
  38 # details of the native text format, but the default SystemFlavorMap will
  39 # present a large set of synthesized DataFlavors which map, in both
  40 # directions, to the native. After receiving data from the application in one
  41 # of the synthetic DataFlavors, the data transfer subsystem will transform
  42 # the data stream into the format specified in this file before passing the
  43 # transformed stream to the native system.
  44 #
  45 # Mappings whose values specify DataFlavors with primary MIME types of
  46 # "text", but which do not support the charset parameter, will be treated as
  47 # opaque, 8-bit data. They will not undergo any transformation process, and
  48 # any "charset", "eoln", or "terminators" parameters specified in this file
  49 # will be ignored.
  50 #
  51 # See java.awt.datatransfer.DataFlavor.selectBestTextFlavor for a list of
  52 # text flavors which support the charset parameter.
  53 
  54 UNICODE\ TEXT=text/plain;charset=utf-16le;eoln="\r\n";terminators=2
  55 TEXT=text/plain;eoln="\r\n";terminators=1
  56 HTML\ Format=text/html;charset=utf-8;eoln="\r\n";terminators=1
  57 Rich\ Text\ Format=text/rtf
  58 HDROP=application/x-java-file-list;class=java.util.List
  59 PNG=image/x-java-image;class=java.awt.Image
  60 JFIF=image/x-java-image;class=java.awt.Image
  61 DIB=image/x-java-image;class=java.awt.Image
  62 ENHMETAFILE=image/x-java-image;class=java.awt.Image
  63 METAFILEPICT=image/x-java-image;class=java.awt.Image
  64 LOCALE=application/x-java-text-encoding;class="[B"
  65 UniformResourceLocator=application/x-java-url;class=java.net.URL,\
  66                        text/uri-list;eoln="\r\n";terminators=1,\
  67                        text/plain;eoln="\r\n";terminators=1
  68 FileGroupDescriptorW=application/x-java-file-list;class=java.util.List
  69 FileGroupDescriptor=application/x-java-file-list;class=java.util.List