public class ContentTypeDataFlavor
extends java.awt.datatransfer.DataFlavor
Constructor and Description |
---|
ContentTypeDataFlavor()
For support of the
Externalizable interface. |
ContentTypeDataFlavor(ContentType contentType) |
Modifier and Type | Method and Description |
---|---|
ContentType |
getContentType() |
void |
readExternal(java.io.ObjectInput is) |
void |
writeExternal(java.io.ObjectOutput os) |
clone, equals, equals, equals, getDefaultRepresentationClass, getDefaultRepresentationClassAsString, getHumanPresentableName, getMimeType, getParameter, getPrimaryType, getReaderForText, getRepresentationClass, getSubType, getTextPlainUnicodeFlavor, hashCode, isFlavorJavaFileListType, isFlavorRemoteObjectType, isFlavorSerializedObjectType, isFlavorTextType, isMimeTypeEqual, isMimeTypeEqual, isMimeTypeSerializedObject, isRepresentationClassByteBuffer, isRepresentationClassCharBuffer, isRepresentationClassInputStream, isRepresentationClassReader, isRepresentationClassRemote, isRepresentationClassSerializable, match, normalizeMimeType, normalizeMimeTypeParameter, selectBestTextFlavor, setHumanPresentableName, toString, tryToLoadClass
public ContentTypeDataFlavor()
Externalizable
interface.public ContentTypeDataFlavor(ContentType contentType)
public ContentType getContentType()
public void writeExternal(java.io.ObjectOutput os) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class java.awt.datatransfer.DataFlavor
java.io.IOException
public void readExternal(java.io.ObjectInput is) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class java.awt.datatransfer.DataFlavor
java.io.IOException
java.lang.ClassNotFoundException