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. # This properties file is used to initialize the default
  12. # java.awt.datatransfer.SystemFlavorMap. It contains the X11 platform-specific,
  13. # default mappings between common X11 selection atoms and platform-independent
  14. # MIME type strings, which will be converted into
  15. # java.awt.datatransfer.DataFlavors.
  16. #
  17. # These default mappings may be augmented by specifying the
  18. #
  19. # AWT.DnD.flavorMapFileURL
  20. #
  21. # property in the appropriate awt.properties file. The specified properties URL
  22. # will be loaded into the SystemFlavorMap.
  23. #
  24. # The standard format is:
  25. #
  26. # <native>=<MIME type>
  27. #
  28. # <native> should be a string identifier that the native platform will
  29. # recognize as a valid data format. <MIME type> should specify both a MIME
  30. # primary type and a MIME subtype separated by a '/'. The MIME type may include
  31. # parameters, where each parameter is a key/value pair separated by '=', and
  32. # where each parameter to the MIME type is separated by a ';'.
  33. #
  34. # Because SystemFlavorMap implements FlavorTable, developers are free to
  35. # duplicate both native keys and DataFlavor values. If a mapping contains a
  36. # duplicate key or value, earlier mappings which included this key or value
  37. # will be preferred.
  38. #
  39. # Mappings whose values specify DataFlavors with primary MIME types of
  40. # "text", and which support the charset parameter, should specify the exact
  41. # format in which the native platform expects the data. The "charset"
  42. # parameter specifies the char to byte encoding, the "eoln" parameter
  43. # specifies the end-of-line marker, and the "terminators" parameter specifies
  44. # the number of terminating NUL bytes. Note that "eoln" and "terminators"
  45. # are not standardized MIME type parameters. They are specific to this file
  46. # format ONLY. They will not appear in any of the DataFlavors returned by the
  47. # SystemFlavorMap at the Java level.
  48. #
  49. # If the "charset" parameter is omitted, or has zero length, the platform
  50. # default encoding is assumed. If the "eoln" parameter is omitted, or has
  51. # zero length, "\n" is assumed. If the "terminators" parameter is omitted,
  52. # or has a value less than zero, zero is assumed.
  53. #
  54. # Upon initialization, the data transfer subsystem will record the specified
  55. # details of the native text format, but the default SystemFlavorMap will
  56. # present a large set of synthesized DataFlavors which map, in both
  57. # directions, to the native. After receiving data from the application in one
  58. # of the synthetic DataFlavors, the data transfer subsystem will transform
  59. # the data stream into the format specified in this file before passing the
  60. # transformed stream to the native system.
  61. #
  62. # Mappings whose values specify DataFlavors with primary MIME types of
  63. # "text", but which do not support the charset parameter, will be treated as
  64. # opaque, 8-bit data. They will not undergo any transformation process, and
  65. # any "charset", "eoln", or "terminators" parameters specified in this file
  66. # will be ignored.
  67. #
  68. # See java.awt.datatransfer.DataFlavor.selectBestTextFlavor for a list of
  69. # text flavors which support the charset parameter.
  70. UTF8_STRING=text/plain;charset=UTF-8;eoln="\n";terminators=0
  71. # The COMPOUND_TEXT support for inter-client text transfer is disabled by
  72. # default. The reason is that many native applications prefer this format over
  73. # other native text formats, but are unable to decode the textual data in this
  74. # format properly. This results in java-to-native text transfer failures.
  75. # To enable the COMPOUND_TEXT support for this JRE installation uncomment
  76. # the line below.
  77. # COMPOUND_TEXT=text/plain;charset=x-compound-text;eoln="\n";terminators=0
  78. TEXT=text/plain;eoln="\n";terminators=0
  79. STRING=text/plain;charset=iso8859-1;eoln="\n";terminators=0
  80. FILE_NAME=application/x-java-file-list;class=java.util.List
  81. text/uri-list=application/x-java-file-list;class=java.util.List
  82. PNG=image/x-java-image;class=java.awt.Image
  83. JFIF=image/x-java-image;class=java.awt.Image