java.lang.Objectjava.awt.datatransfer.DataFlavor
javax.activation.ActivationDataFlavor
All Implemented Interfaces:
Cloneable, Externalizable
java.awt.datatransfer.DataFlavor
. It allows the JAF to
set all three values stored by the DataFlavor class via a new
constructor. It also contains improved MIME parsing in the equals
method. Except for the improved parsing, its semantics are
identical to that of the JDK's DataFlavor class.1.6
- Constructor: |
---|
The returned DataFlavor will have the following characteristics: If the mimeType is "application/x-java-serialized-object; class=", the result is the same as calling new DataFlavor(Class.forName()) as above. otherwise: representationClass = InputStream mimeType = mimeType
|
The returned DataFlavor will have the following characteristics: If the mimeType is "application/x-java-serialized-object; class=", the result is the same as calling new DataFlavor(Class.forName()) as above, otherwise: representationClass = InputStream mimeType = mimeType
|
The returned DataFlavor will have the following characteristics:
representationClass = representationClass
|
Method from javax.activation.ActivationDataFlavor Summary: |
---|
equals, getHumanPresentableName, getMimeType, getRepresentationClass, isMimeTypeEqual, normalizeMimeType, normalizeMimeTypeParameter, setHumanPresentableName |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.activation.ActivationDataFlavor Detail: |
---|
isMimeTypeEqual method. |
|
|
|
ActivationDataFlavor delegates the comparison of MIME types to the MimeType class included as part of the JavaBeans Activation Framework. This provides a more robust comparison than is normally available in the DataFlavor class. |
Deprecated!
|
Deprecated!
This method is called for each parameter name/value pair and should return the normalized representation of the parameterValue. This method is never invoked by this implementation. |
|