javax.activation
Class ActivationDataFlavor

java.lang.Object
  extended by java.awt.datatransfer.DataFlavor
      extended by javax.activation.ActivationDataFlavor
All Implemented Interfaces:
Externalizable, Serializable, Cloneable

public class ActivationDataFlavor
extends DataFlavor

Version:
$Rev: 158704 $ $Date: 2005-03-22 17:53:37 -0800 (Tue, 22 Mar 2005) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.datatransfer.DataFlavor
imageFlavor, javaFileListFlavor, javaJVMLocalObjectMimeType, javaRemoteObjectMimeType, javaSerializedObjectMimeType, plainTextFlavor, stringFlavor
 
Constructor Summary
ActivationDataFlavor(Class representationClass, String humanPresentableName)
           
ActivationDataFlavor(Class representationClass, String mimeType, String humanPresentableName)
           
ActivationDataFlavor(String mimeType, String humanPresentableName)
           
 
Method Summary
 boolean equals(DataFlavor dataFlavor)
           
 String getHumanPresentableName()
           
 String getMimeType()
           
 Class getRepresentationClass()
           
 boolean isMimeTypeEqual(String mimeType)
           
protected  String normalizeMimeType(String mimeType)
           
protected  String normalizeMimeTypeParameter(String parameterName, String parameterValue)
           
 void setHumanPresentableName(String humanPresentableName)
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivationDataFlavor

public ActivationDataFlavor(Class representationClass,
                            String mimeType,
                            String humanPresentableName)

ActivationDataFlavor

public ActivationDataFlavor(Class representationClass,
                            String humanPresentableName)

ActivationDataFlavor

public ActivationDataFlavor(String mimeType,
                            String humanPresentableName)
Method Detail

getMimeType

public String getMimeType()
Overrides:
getMimeType in class DataFlavor

getRepresentationClass

public Class getRepresentationClass()
Overrides:
getRepresentationClass in class DataFlavor

getHumanPresentableName

public String getHumanPresentableName()
Overrides:
getHumanPresentableName in class DataFlavor

setHumanPresentableName

public void setHumanPresentableName(String humanPresentableName)
Overrides:
setHumanPresentableName in class DataFlavor

equals

public boolean equals(DataFlavor dataFlavor)
Overrides:
equals in class DataFlavor

isMimeTypeEqual

public boolean isMimeTypeEqual(String mimeType)
Overrides:
isMimeTypeEqual in class DataFlavor

normalizeMimeTypeParameter

protected String normalizeMimeTypeParameter(String parameterName,
                                            String parameterValue)
Overrides:
normalizeMimeTypeParameter in class DataFlavor

normalizeMimeType

protected String normalizeMimeType(String mimeType)
Overrides:
normalizeMimeType in class DataFlavor


Copyright © 2006 Apache Software Foundation. All Rights Reserved.