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