All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.awt.datatransfer.DataFlavor
representationClass = InputStream
mimeType = "text/plain; charset=unicode"
representationClass = java.lang.String
mimeType = "application/x-java-serialized-object"
The returned DataFlavor will have the following characteristics
representationClass = representationClass
mimeType = application/x-java-serialized-object
The returned DataFlavor will have the following characteristics:
If the mimeType is
"application/x-java-serialized-object; class=
otherwise:
representationClass = InputStream
mimeType = mimeType
public static DataFlavor stringFlavor
representationClass = java.lang.String
mimeType = "application/x-java-serialized-object"
public static DataFlavor plainTextFlavor
representationClass = InputStream
mimeType = "text/plain; charset=unicode"
public DataFlavor(Class representationClass,
String humanPresentableName)
The returned DataFlavor will have the following characteristics
representationClass = representationClass
mimeType = application/x-java-serialized-object
public DataFlavor(String mimeType,
String humanPresentableName)
The returned DataFlavor will have the following characteristics:
If the mimeType is
"application/x-java-serialized-object; class=
otherwise:
representationClass = InputStream
mimeType = mimeType
public String getMimeType()
public Class getRepresentationClass()
public String getHumanPresentableName()
public void setHumanPresentableName(String humanPresentableName)
public boolean equals(DataFlavor dataFlavor)
isMimeTypeEqual
public boolean isMimeTypeEqual(String mimeType)
public final boolean isMimeTypeEqual(DataFlavor dataFlavor)
protected String normalizeMimeTypeParameter(String parameterName,
String parameterValue)
This method is called for each parameter name/value pair and should return the normalized representation of the parameterValue
protected String normalizeMimeType(String mimeType)
All Packages Class Hierarchy This Package Previous Next Index