jdk/src/windows/lib/flavormap.properties
author katleman
Thu, 04 Apr 2013 19:05:42 -0700
changeset 16648 575b651b1b3c
parent 4831 85d01a4fe115
permissions -rw-r--r--
Added tag jdk8-b84 for changeset 5e63bda2ec36
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
# This properties file is used to initialize the default
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
# java.awt.datatransfer.SystemFlavorMap. It contains the Win32 platform-
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
# specific, default mappings between common Win32 Clipboard atoms and platform-
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# independent MIME type strings, which will be converted into
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# java.awt.datatransfer.DataFlavors.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# These default mappings may be augmented by specifying the
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
#       AWT.DnD.flavorMapFileURL 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# property in the appropriate awt.properties file. The specified properties URL
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# will be loaded into the SystemFlavorMap.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# The standard format is:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# <native>=<MIME type>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# <native> should be a string identifier that the native platform will
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
# recognize as a valid data format. <MIME type> should specify both a MIME
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
# primary type and a MIME subtype separated by a '/'. The MIME type may include
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
# parameters, where each parameter is a key/value pair separated by '=', and
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
# where each parameter to the MIME type is separated by a ';'.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
# Because SystemFlavorMap implements FlavorTable, developers are free to
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
# duplicate both native keys and DataFlavor values. If a mapping contains a
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
# duplicate key or value, earlier mappings which included this key or value
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
# will be preferred.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
# Mappings whose values specify DataFlavors with primary MIME types of
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
# "text", and which support the charset parameter, should specify the exact
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
# format in which the native platform expects the data. The "charset"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
# parameter specifies the char to byte encoding, the "eoln" parameter
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
# specifies the end-of-line marker, and the "terminators" parameter specifies
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
# the number of terminating NUL bytes. Note that "eoln" and "terminators"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
# are not standardized MIME type parameters. They are specific to this file
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
# format ONLY. They will not appear in any of the DataFlavors returned by the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
# SystemFlavorMap at the Java level.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
# If the "charset" parameter is omitted, or has zero length, the platform
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
# default encoding is assumed. If the "eoln" parameter is omitted, or has
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
# zero length, "\n" is assumed. If the "terminators" parameter is omitted,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
# or has a value less than zero, zero is assumed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
# Upon initialization, the data transfer subsystem will record the specified
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
# details of the native text format, but the default SystemFlavorMap will
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
# present a large set of synthesized DataFlavors which map, in both
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
# directions, to the native. After receiving data from the application in one
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
# of the synthetic DataFlavors, the data transfer subsystem will transform
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
# the data stream into the format specified in this file before passing the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
# transformed stream to the native system.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
# Mappings whose values specify DataFlavors with primary MIME types of
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
# "text", but which do not support the charset parameter, will be treated as
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
# opaque, 8-bit data. They will not undergo any transformation process, and
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
# any "charset", "eoln", or "terminators" parameters specified in this file
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
# will be ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
# See java.awt.datatransfer.DataFlavor.selectBestTextFlavor for a list of
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
# text flavors which support the charset parameter.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
UNICODE\ TEXT=text/plain;charset=utf-16le;eoln="\r\n";terminators=2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
TEXT=text/plain;eoln="\r\n";terminators=1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
HTML\ Format=text/html;charset=utf-8;eoln="\r\n";terminators=1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
Rich\ Text\ Format=text/rtf
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
HDROP=application/x-java-file-list;class=java.util.List
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
PNG=image/x-java-image;class=java.awt.Image
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
JFIF=image/x-java-image;class=java.awt.Image
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
DIB=image/x-java-image;class=java.awt.Image
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
ENHMETAFILE=image/x-java-image;class=java.awt.Image
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
METAFILEPICT=image/x-java-image;class=java.awt.Image
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
LOCALE=application/x-java-text-encoding;class="[B"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
UniformResourceLocator=application/x-java-url;class=java.net.URL
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
UniformResourceLocator=text/uri-list;eoln="\r\n";terminators=1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
UniformResourceLocator=text/plain;eoln="\r\n";terminators=1
4831
85d01a4fe115 4874070: invoking DragSource's startDrag with an Image renders no image on drag
uta
parents: 2
diff changeset
    76
FileGroupDescriptorW=application/x-java-file-list;class=java.util.List
85d01a4fe115 4874070: invoking DragSource's startDrag with an Image renders no image on drag
uta
parents: 2
diff changeset
    77
FileGroupDescriptor=application/x-java-file-list;class=java.util.List