flavormap.properties 4.3 KB

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