diff options
author | Michael Koch <konqueror@gmx.de> | 2004-02-05 18:27:44 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-02-05 18:27:44 +0000 |
commit | 2d16865792aa09964162901987539cd75d567e25 (patch) | |
tree | 6b422bf3c48f0b587821170c14b8c04dbc8a0d64 /libjava | |
parent | 7959d59810ec21b730305b2331ee131f87cfe889 (diff) | |
download | gcc-2d16865792aa09964162901987539cd75d567e25.zip gcc-2d16865792aa09964162901987539cd75d567e25.tar.gz gcc-2d16865792aa09964162901987539cd75d567e25.tar.bz2 |
2004-02-05 Michael Koch <konqueror@gmx.de>
* java/awt/datatransfer/DataFlavor.java
(imageFlavor): Javadoc added.
(javaJVMLocalObjectType): Fixed.
From-SVN: r77328
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 6 | ||||
-rw-r--r-- | libjava/java/awt/datatransfer/DataFlavor.java | 14 |
2 files changed, 13 insertions, 7 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index b16b603..f3e60f2 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,11 @@ 2004-02-05 Michael Koch <konqueror@gmx.de> + * java/awt/datatransfer/DataFlavor.java + (imageFlavor): Javadoc added. + (javaJVMLocalObjectType): Fixed. + +2004-02-05 Michael Koch <konqueror@gmx.de> + * java/lang/Thread.java (Thread): Reordered. (setContextClassLoader): Fixed javadoc comment. diff --git a/libjava/java/awt/datatransfer/DataFlavor.java b/libjava/java/awt/datatransfer/DataFlavor.java index 004604a..d911bab 100644 --- a/libjava/java/awt/datatransfer/DataFlavor.java +++ b/libjava/java/awt/datatransfer/DataFlavor.java @@ -1,5 +1,5 @@ /* DataFlavor.java -- A type of data to transfer via the clipboard. - Copyright (C) 1999, 2001 Free Software Foundation, Inc. + Copyright (C) 1999, 2001, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -60,11 +60,7 @@ public class DataFlavor implements java.io.Externalizable, Cloneable { static final long serialVersionUID = 8367026044764648243L; -// FIXME: Serialization: Need to write methods for. - -/* - * Static Variables - */ + // FIXME: Serialization: Need to write methods for. /** * This is the data flavor used for tranferring plain text. The MIME @@ -90,6 +86,10 @@ public static final DataFlavor stringFlavor; */ public static final DataFlavor javaFileListFlavor; +/** + * This is an image flavor used for transferring images. The + * representation type is a <code>java.awt.Image</code>. + */ public static final DataFlavor imageFlavor; /** @@ -105,7 +105,7 @@ public static final String javaSerializedObjectMimeType = * being transferred. */ public static final String javaJVMLocalObjectMimeType = - "application/x-java-jvm-local-object"; + "application/x-java-jvm-local-objectref"; /** * This is the MIME type used to transfer a link to a remote object. |