flavormap.properties revision 2129
961N/A#
961N/A# This properties file is used to initialize the default
961N/A# java.awt.datatransfer.SystemFlavorMap. It contains the Win32 platform-
961N/A# specific, default mappings between common Win32 Clipboard atoms and platform-
961N/A# independent MIME type strings, which will be converted into
961N/A# java.awt.datatransfer.DataFlavors.
961N/A#
961N/A# These default mappings may be augmented by specifying the
961N/A#
961N/A# AWT.DnD.flavorMapFileURL
961N/A#
961N/A# property in the appropriate awt.properties file. The specified properties URL
961N/A# will be loaded into the SystemFlavorMap.
961N/A#
961N/A# The standard format is:
961N/A#
961N/A# <native>=<MIME type>
961N/A#
961N/A# <native> should be a string identifier that the native platform will
961N/A# recognize as a valid data format. <MIME type> should specify both a MIME
961N/A# primary type and a MIME subtype separated by a '/'. The MIME type may include
961N/A# parameters, where each parameter is a key/value pair separated by '=', and
961N/A# where each parameter to the MIME type is separated by a ';'.
961N/A#
961N/A# Because SystemFlavorMap implements FlavorTable, developers are free to
961N/A# duplicate both native keys and DataFlavor values. If a mapping contains a
961N/A# duplicate key or value, earlier mappings which included this key or value
961N/A# will be preferred.
961N/A#
961N/A# Mappings whose values specify DataFlavors with primary MIME types of
961N/A# "text", and which support the charset parameter, should specify the exact
961N/A# format in which the native platform expects the data. The "charset"
961N/A# parameter specifies the char to byte encoding, the "eoln" parameter
961N/A# specifies the end-of-line marker, and the "terminators" parameter specifies
961N/A# the number of terminating NUL bytes. Note that "eoln" and "terminators"
961N/A# are not standardized MIME type parameters. They are specific to this file
961N/A# format ONLY. They will not appear in any of the DataFlavors returned by the
961N/A# SystemFlavorMap at the Java level.
961N/A#
961N/A# If the "charset" parameter is omitted, or has zero length, the platform
961N/A# default encoding is assumed. If the "eoln" parameter is omitted, or has
961N/A# zero length, "\n" is assumed. If the "terminators" parameter is omitted,
961N/A# or has a value less than zero, zero is assumed.
961N/A#
961N/A# Upon initialization, the data transfer subsystem will record the specified
961N/A# details of the native text format, but the default SystemFlavorMap will
1878N/A# present a large set of synthesized DataFlavors which map, in both
961N/A# directions, to the native. After receiving data from the application in one
1878N/A# of the synthetic DataFlavors, the data transfer subsystem will transform
961N/A# the data stream into the format specified in this file before passing the
961N/A# transformed stream to the native system.
1878N/A#
961N/A# Mappings whose values specify DataFlavors with primary MIME types of
961N/A# "text", but which do not support the charset parameter, will be treated as
1878N/A# opaque, 8-bit data. They will not undergo any transformation process, and
961N/A# any "charset", "eoln", or "terminators" parameters specified in this file
961N/A# will be ignored.
961N/A#
961N/A# See java.awt.datatransfer.DataFlavor.selectBestTextFlavor for a list of
961N/A# text flavors which support the charset parameter.
961N/A
961N/AUNICODE\ TEXT=text/plain;charset=utf-16le;eoln="\r\n";terminators=2
961N/ATEXT=text/plain;eoln="\r\n";terminators=1
961N/AHTML\ Format=text/html;charset=utf-8;eoln="\r\n";terminators=1
961N/ARich\ Text\ Format=text/rtf
961N/AHDROP=application/x-java-file-list;class=java.util.List
961N/APNG=image/x-java-image;class=java.awt.Image
961N/AJFIF=image/x-java-image;class=java.awt.Image
961N/ADIB=image/x-java-image;class=java.awt.Image
1878N/AENHMETAFILE=image/x-java-image;class=java.awt.Image
1878N/AMETAFILEPICT=image/x-java-image;class=java.awt.Image
1878N/ALOCALE=application/x-java-text-encoding;class="[B"
961N/AUniformResourceLocator=application/x-java-url;class=java.net.URL
961N/AUniformResourceLocator=text/uri-list;eoln="\r\n";terminators=1
961N/AUniformResourceLocator=text/plain;eoln="\r\n";terminators=1
961N/AFileGroupDescriptorW=application/x-java-file-list;class=java.util.List
961N/AFileGroupDescriptor=application/x-java-file-list;class=java.util.List
961N/A