Generated by
JDiff

Class java.awt.datatransfer.DataFlavor

Documentation changed from old to new.

Changed Constructors
DataFlavor(Class, String) Documentation changed from old to new.
Constructs a DataFlavor that represents a Java class.
DataFlavor(String) Documentation changed from old to new.
Constructs a DataFlavor from a mimeType string.
DataFlavor(String, String) Documentation changed from old to new.
Constructs a DataFlavor that represents a MimeType.
DataFlavor(String, String, ClassLoader) Documentation changed from old to new.
Constructs a DataFlavor that represents a MimeType.
DataFlavor(void) Documentation changed from old to new.
Constructs a new DataFlavor.
 

Added Methods
boolean isFlavorTextType() Returns whether this DataFlavor is a valid text flavor for this implementation of the Java platform.
boolean isRepresentationClassByteBuffer() Returns whether the representation class for this DataFlavor is java.nio.ByteBuffer or a subclass thereof.
boolean isRepresentationClassCharBuffer() Returns whether the representation class for this DataFlavor is java.nio.CharBuffer or a subclass thereof.
boolean isRepresentationClassReader() Returns whether the representation class for this DataFlavor is java.io.Reader or a subclass thereof.
 

Changed Methods
Object clone() Documentation changed from old to new.
Returns a clone of this DataFlavor.
String getHumanPresentableName() Documentation changed from old to new.
Returns the human presentable name for the data format that this DataFlavor represents.
String getMimeType() Documentation changed from old to new.
Returns the MIME type string for this DataFlavor.
String getParameter(String) Documentation changed from old to new.
Returns the human presentable name for this DataFlavor if paramName equals "humanPresentableName".
String getPrimaryType() Documentation changed from old to new.
Returns the primary MIME type for this DataFlavor.
Reader getReaderForText(Transferable) Documentation changed from old to new.
Gets a Reader for a text flavor decoded if necessary for the expected charset (encoding).
Class getRepresentationClass() Documentation changed from old to new.
Returns the Class which objects supporting this DataFlavor will return when this DataFlavor is requested.
String getSubType() Documentation changed from old to new.
Returns the sub MIME type of this DataFlavor.
DataFlavor getTextPlainUnicodeFlavor() Documentation changed from old to new.
Returns a DataFlavor representing plain text with Unicode encoding where:
int hashCode() Documentation changed from old to new.
Returns hash code for this DataFlavor.
boolean isFlavorJavaFileListType() Documentation changed from old to new.
Returns true if the DataFlavor specified represents a list of file objects.
boolean isFlavorRemoteObjectType() Documentation changed from old to new.
Returns true if the DataFlavor specified represents a remote object.
boolean isFlavorSerializedObjectType() Documentation changed from old to new.
Returns true if the DataFlavor specified represents a serialized object.
boolean isMimeTypeSerializedObject() Documentation changed from old to new.
Does the DataFlavor represent a serialized object
boolean isRepresentationClassInputStream() Documentation changed from old to new.
Does the DataFlavor represent a java.io.InputStream
boolean isRepresentationClassRemote() Documentation changed from old to new.
Returns true if the representation class is Remote.
boolean isRepresentationClassSerializable() Documentation changed from old to new.
Returns true if the representation class can be serialized.
boolean match(DataFlavor) Documentation changed from old to new.
Tests a DataFlavor to this DataFlavor for equality.
String normalizeMimeType(String) Documentation changed from old to new.
Called for each MIME type string to give DataFlavor subtypes the opportunity to change how the normalization of MIME types is accomplished.
String normalizeMimeTypeParameter(String, String) Documentation changed from old to new.
Called on DataFlavor for every MIME Type parameter to allow DataFlavor subclasses to handle special parameters like the text/plain charset parameters whose values are case insensitive.
void readExternal(ObjectInput) Documentation changed from old to new.
Restores this DataFlavor from a Serialized state.
DataFlavor selectBestTextFlavor(DataFlavor[]) Documentation changed from old to new.
Selects the best text DataFlavor from an array of DataFlavors.
void setHumanPresentableName(String) Documentation changed from old to new.
Sets the human presentable name for the data format that this DataFlavor represents.
String toString() Documentation changed from old to new.
String representation of this DataFlavor and its parameters.
Class tryToLoadClass(String, ClassLoader) Documentation changed from old to new.
Tries to load a class from: the bootstrap loader the system loader the context loader (if one is present) and finally the loader specified.
void writeExternal(ObjectOutput) Documentation changed from old to new.
Serializes this DataFlavor.
boolean equals(DataFlavor) Documentation changed from old to new.
Tests a DataFlavor to this DataFlavor for equality.
boolean equals(Object) Documentation changed from old to new.
Tests an arbitrary Object to this DataFlavor for equality.
boolean equals(String) Documentation changed from old to new.
As inconsistent with hashCode() contract, use isMimeTypeEqual(String) instead.
boolean isMimeTypeEqual(String) Documentation changed from old to new.
Returns whether the string representation of the MIME type passed in is equivalent to the MIME type of this DataFlavor.
boolean isMimeTypeEqual(DataFlavor) Documentation changed from old to new.
Compares the mimeType of two DataFlavor objects.
 

Added Fields
DataFlavor imageFlavor The DataFlavor representing a Java Image class where:
 

Changed Fields
DataFlavor javaFileListFlavor Documentation changed from old to new.
To transfer a list of files to/from Java (and the underlying platform) a DataFlavor of this type/subtype and representation class of java.util.List is used.
String javaJVMLocalObjectMimeType Documentation changed from old to new.
To transfer a reference to an arbitrary Java object reference that has no associated MIME Content-type across a Transferable interface WITHIN THE SAME JVM a DataFlavor with this type/subtype is used with a representationClass equal to the type of the class/interface being passed across the Transferble.
String javaRemoteObjectMimeType Documentation changed from old to new.
In order to pass a live link to a Remote object via a Drag and Drop ACTION_LINK operation a Mime Content Type of application/x-java-remote-object should be used where the representation class of the DataFlavor represents the type of the Remote interface to be transferred.
String javaSerializedObjectMimeType Documentation changed from old to new.
A MIME Content-Type of application/x-java-serialized-object represents a graph of Java object(s) that have been made persistent.
DataFlavor plainTextFlavor Documentation changed from old to new.
as of 1.3.
DataFlavor stringFlavor Documentation changed from old to new.
The DataFlavor representing a Java Unicode String class where: