java.lang.Object
java.awt.datatransfer.DataFlavor
javax.activation.ActivationDataFlavor
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Externalizable, java.io.Serializable
- public class ActivationDataFlavor
- extends java.awt.datatransfer.DataFlavor
- Version:
- $Rev: 158704 $ $Date: 2005-03-22 17:53:37 -0800 (Tue, 22 Mar 2005) $
| Methods inherited from class java.awt.datatransfer.DataFlavor |
clone, equals, equals, getDefaultRepresentationClass, getDefaultRepresentationClassAsString, getParameter, getPrimaryType, getReaderForText, getSubType, getTextPlainUnicodeFlavor, hashCode, isFlavorJavaFileListType, isFlavorRemoteObjectType, isFlavorSerializedObjectType, isFlavorTextType, isMimeTypeEqual, isMimeTypeSerializedObject, isRepresentationClassByteBuffer, isRepresentationClassCharBuffer, isRepresentationClassInputStream, isRepresentationClassReader, isRepresentationClassRemote, isRepresentationClassSerializable, match, readExternal, selectBestTextFlavor, toString, tryToLoadClass, writeExternal |
representationClass
private final java.lang.Class representationClass
mimeType
private final java.lang.String mimeType
humanPresentableName
private java.lang.String humanPresentableName
ActivationDataFlavor
public ActivationDataFlavor(java.lang.Class representationClass,
java.lang.String mimeType,
java.lang.String humanPresentableName)
ActivationDataFlavor
public ActivationDataFlavor(java.lang.Class representationClass,
java.lang.String humanPresentableName)
ActivationDataFlavor
public ActivationDataFlavor(java.lang.String mimeType,
java.lang.String humanPresentableName)
getMimeType
public java.lang.String getMimeType()
- Description copied from class:
java.awt.datatransfer.DataFlavor
- Returns the MIME type of this flavor.
getRepresentationClass
public java.lang.Class getRepresentationClass()
- Description copied from class:
java.awt.datatransfer.DataFlavor
- Returns the representation class for this flavor.
getHumanPresentableName
public java.lang.String getHumanPresentableName()
- Description copied from class:
java.awt.datatransfer.DataFlavor
- Returns the human presentable name for this flavor.
setHumanPresentableName
public void setHumanPresentableName(java.lang.String humanPresentableName)
- Description copied from class:
java.awt.datatransfer.DataFlavor
- Sets the human presentable name to the specified value.
equals
public boolean equals(java.awt.datatransfer.DataFlavor dataFlavor)
- Description copied from class:
java.awt.datatransfer.DataFlavor
- This method test the specified
DataFlavor for equality
against this object. This will be true if the MIME type and
representation type are the equal.
isMimeTypeEqual
public boolean isMimeTypeEqual(java.lang.String mimeType)
- Description copied from class:
java.awt.datatransfer.DataFlavor
- Tests the MIME type of this object for equality against the specified
MIME type. Ignores parameters.
normalizeMimeTypeParameter
protected java.lang.String normalizeMimeTypeParameter(java.lang.String parameterName,
java.lang.String parameterValue)
- Description copied from class:
java.awt.datatransfer.DataFlavor
- This method exists for backward compatibility. It simply returns
the same name/value pair passed in.
normalizeMimeType
protected java.lang.String normalizeMimeType(java.lang.String mimeType)
- Description copied from class:
java.awt.datatransfer.DataFlavor
- This method exists for backward compatibility. It simply returns
the MIME type string unchanged.