KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > datatransfer > DataFlavor

java.awt.datatransfer
Class DataFlavor

java.lang.Object
  extended by java.awt.datatransfer.DataFlavor
All Implemented Interfaces:
Externalizable, Serializable, Cloneable
See Also:
Top Examples, Source Code

public Object clone()
             throws CloneNotSupportedException
See Also:
Cloneable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DataFlavor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DataFlavor(Class<?> representationClass,
                  String humanPresentableName)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DataFlavor(String mimeType)
           throws ClassNotFoundException
See Also:
NullPointerException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DataFlavor(String mimeType,
                  String humanPresentableName)
See Also:
NullPointerException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DataFlavor(String mimeType,
                  String humanPresentableName,
                  ClassLoader classLoader)
           throws ClassNotFoundException
See Also:
NullPointerException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean equals(DataFlavor that)
See Also:
selectBestTextFlavor(java.awt.datatransfer.DataFlavor[])
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean equals(Object o)
See Also:
selectBestTextFlavor(java.awt.datatransfer.DataFlavor[])
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public boolean equals(String s)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Class<?> getDefaultRepresentationClass()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final String getDefaultRepresentationClassAsString()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getHumanPresentableName()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getMimeType()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getParameter(String paramName)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getPrimaryType()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Reader getReaderForText(Transferable transferable)
                        throws UnsupportedFlavorException,
                               IOException
See Also:
selectBestTextFlavor(java.awt.datatransfer.DataFlavor[]), UnsupportedEncodingException, NullPointerException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Class<?> getRepresentationClass()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getSubType()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final DataFlavor getTextPlainUnicodeFlavor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int hashCode()
See Also:
Hashtable, Object.equals(java.lang.Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final DataFlavor imageFlavor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isFlavorJavaFileListType()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isFlavorRemoteObjectType()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isFlavorSerializedObjectType()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isFlavorTextType()
See Also:
selectBestTextFlavor(java.awt.datatransfer.DataFlavor[])
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final boolean isMimeTypeEqual(DataFlavor dataFlavor)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isMimeTypeEqual(String mimeType)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isMimeTypeSerializedObject()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isRepresentationClassByteBuffer()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isRepresentationClassCharBuffer()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isRepresentationClassInputStream()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isRepresentationClassReader()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isRepresentationClassRemote()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isRepresentationClassSerializable()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final DataFlavor javaFileListFlavor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final String javaJVMLocalObjectMimeType
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final String javaRemoteObjectMimeType
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final String javaSerializedObjectMimeType
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean match(DataFlavor that)
See Also:
selectBestTextFlavor(java.awt.datatransfer.DataFlavor[])
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
protected String normalizeMimeType(String mimeType)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
protected String normalizeMimeTypeParameter(String parameterName,
                                                       String parameterValue)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public static final DataFlavor plainTextFlavor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void readExternal(ObjectInput is)
                  throws IOException,
                         ClassNotFoundException
See Also:
Externalizable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final DataFlavor selectBestTextFlavor(DataFlavor[] availableFlavors)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setHumanPresentableName(String humanPresentableName)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final DataFlavor stringFlavor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
selectBestTextFlavor(java.awt.datatransfer.DataFlavor[]), Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final Class<?> tryToLoadClass(String className,
                                               ClassLoader fallback)
                                        throws ClassNotFoundException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void writeExternal(ObjectOutput os)
                   throws IOException
See Also:
Externalizable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags