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

Print this page


   1 #
   2 # This properties file is used to initialize the default
   3 # java.awt.datatransfer.SystemFlavorMap. It contains the Mac OS X platform-specific,
   4 # default mappings between common Mac OS X selection atoms and platform-independent
   5 # MIME type strings, which will be converted into
   6 # java.awt.datatransfer.DataFlavors.
   7 #
   8 # These default mappings may be augmented by specifying the
   9 #
  10 #       AWT.DnD.flavorMapFileURL 
  11 #
  12 # property in the appropriate awt.properties file. The specified properties URL
  13 # will be loaded into the SystemFlavorMap.
  14 #
  15 # The standard format is:
  16 #
  17 # <native>=<MIME type>
  18 #
  19 # <native> should be a string identifier that the native platform will
  20 # recognize as a valid data format. <MIME type> should specify both a MIME
  21 # primary type and a MIME subtype separated by a '/'. The MIME type may include
  22 # parameters, where each parameter is a key/value pair separated by '=', and
  23 # where each parameter to the MIME type is separated by a ';'.
  24 #
  25 # Because SystemFlavorMap implements FlavorTable, developers are free to
  26 # duplicate both native keys and DataFlavor values. If a mapping contains a
  27 # duplicate key or value, earlier mappings which included this key or value
  28 # will be preferred.
  29 #
  30 # Mappings whose values specify DataFlavors with primary MIME types of
  31 # "text", and which support the charset parameter, should specify the exact
  32 # format in which the native platform expects the data. The "charset"
  33 # parameter specifies the char to byte encoding, the "eoln" parameter
  34 # specifies the end-of-line marker, and the "terminators" parameter specifies
  35 # the number of terminating NUL bytes. Note that "eoln" and "terminators"
  36 # are not standardized MIME type parameters. They are specific to this file
  37 # format ONLY. They will not appear in any of the DataFlavors returned by the
  38 # SystemFlavorMap at the Java level.
  39 #
  40 # If the "charset" parameter is omitted, or has zero length, the platform
  41 # default encoding is assumed. If the "eoln" parameter is omitted, or has
  42 # zero length, "\n" is assumed. If the "terminators" parameter is omitted,
  43 # or has a value less than zero, zero is assumed.
  44 #
  45 # Upon initialization, the data transfer subsystem will record the specified
  46 # details of the native text format, but the default SystemFlavorMap will
  47 # present a large set of synthesized DataFlavors which map, in both
  48 # directions, to the native. After receiving data from the application in one


  62 UTF8_STRING=text/plain;charset=UTF-8;eoln="\n";terminators=0
  63 
  64 # The COMPOUND_TEXT support for inter-client text transfer is disabled by 
  65 # default. The reason is that many native applications prefer this format over 
  66 # other native text formats, but are unable to decode the textual data in this 
  67 # format properly. This results in java-to-native text transfer failures.
  68 # To enable the COMPOUND_TEXT support for this JRE installation uncomment 
  69 # the line below.
  70 
  71 # COMPOUND_TEXT=text/plain;charset=x-compound-text;eoln="\n";terminators=0
  72 
  73 TEXT=text/plain;eoln="\n";terminators=0
  74 STRING=text/plain;charset=UTF-8;eoln="\n";terminators=0
  75 FILE_NAME=application/x-java-file-list;class=java.util.List
  76 text/uri-list=application/x-java-file-list;class=java.util.List
  77 PNG=image/x-java-image;class=java.awt.Image
  78 JFIF=image/x-java-image;class=java.awt.Image
  79 TIFF=image/x-java-image;class=java.awt.Image
  80 RICH_TEXT=text/rtf
  81 HTML=text/html;charset=utf-8;eoln="\r\n";terminators=1
  82 URL=application/x-java-url;class=java.net.URL
  83 URL=text/uri-list;eoln="\r\n";terminators=1
   1 #
   2 # This properties file is used to initialize the default
   3 # java.awt.datatransfer.SystemFlavorMap. It contains the Mac OS X platform-specific,
   4 # default mappings between common Mac OS X selection atoms and platform-independent
   5 # 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 #
  23 # Mappings whose values specify DataFlavors with primary MIME types of
  24 # "text", and which support the charset parameter, should specify the exact
  25 # format in which the native platform expects the data. The "charset"
  26 # parameter specifies the char to byte encoding, the "eoln" parameter
  27 # specifies the end-of-line marker, and the "terminators" parameter specifies
  28 # the number of terminating NUL bytes. Note that "eoln" and "terminators"
  29 # are not standardized MIME type parameters. They are specific to this file
  30 # format ONLY. They will not appear in any of the DataFlavors returned by the
  31 # SystemFlavorMap at the Java level.
  32 #
  33 # If the "charset" parameter is omitted, or has zero length, the platform
  34 # default encoding is assumed. If the "eoln" parameter is omitted, or has
  35 # zero length, "\n" is assumed. If the "terminators" parameter is omitted,
  36 # or has a value less than zero, zero is assumed.
  37 #
  38 # Upon initialization, the data transfer subsystem will record the specified
  39 # details of the native text format, but the default SystemFlavorMap will
  40 # present a large set of synthesized DataFlavors which map, in both
  41 # directions, to the native. After receiving data from the application in one


  55 UTF8_STRING=text/plain;charset=UTF-8;eoln="\n";terminators=0
  56 
  57 # The COMPOUND_TEXT support for inter-client text transfer is disabled by 
  58 # default. The reason is that many native applications prefer this format over 
  59 # other native text formats, but are unable to decode the textual data in this 
  60 # format properly. This results in java-to-native text transfer failures.
  61 # To enable the COMPOUND_TEXT support for this JRE installation uncomment 
  62 # the line below.
  63 
  64 # COMPOUND_TEXT=text/plain;charset=x-compound-text;eoln="\n";terminators=0
  65 
  66 TEXT=text/plain;eoln="\n";terminators=0
  67 STRING=text/plain;charset=UTF-8;eoln="\n";terminators=0
  68 FILE_NAME=application/x-java-file-list;class=java.util.List
  69 text/uri-list=application/x-java-file-list;class=java.util.List
  70 PNG=image/x-java-image;class=java.awt.Image
  71 JFIF=image/x-java-image;class=java.awt.Image
  72 TIFF=image/x-java-image;class=java.awt.Image
  73 RICH_TEXT=text/rtf
  74 HTML=text/html;charset=utf-8;eoln="\r\n";terminators=1
  75 URL=application/x-java-url;class=java.net.URL,\
  76     text/uri-list;eoln="\r\n";terminators=1