source: AE/Setup/Windows/JRE/lib/flavormap.properties@ 1135

Last change on this file since 1135 was 818, checked in by alloc, 12 years ago

AEI2 Setup Win

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