Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.datatransfer.DataFlavor

Availability: JDK 1.1

public class DataFlavor extends Object {
   // Public Constructors
      public DataFlavor(Class representationClass, String humanPresentableName);
      public DataFlavor(String mimeType, String humanPresentableName);
   // Class Variables
      public static DataFlavor plainTextFlavor;
      public static DataFlavor stringFlavor;
   // Public Instance Methods
      public boolean equals(DataFlavor dataFlavor);
      public String getHumanPresentableName();
      public String getMimeType();
      public Class getRepresentationClass();
      public boolean isMimeTypeEqual(String mimeType);
      public final boolean isMimeTypeEqual(DataFlavor dataFlavor);
      public void setHumanPresentableName(String humanPresentableName);
   // Protected Instance Methods
      protected String normalizeMimeType(String mimeType);
      protected String normalizeMimeTypeParameter(String parameterName, String parameterValue);
}
Passed To:
DataFlavor.equals(), DataFlavor.isMimeTypeEqual(), StringSelection.getTransferData(), StringSelection.isDataFlavorSupported(), Transferable.getTransferData(), Transferable.isDataFlavorSupported(), UnsupportedFlavorException.UnsupportedFlavorException().
Returned By:
StringSelection.getTransferDataFlavors(), Transferable.getTransferDataFlavors().
Type Of:
DataFlavor.plainTextFlavor, DataFlavor.stringFlavor.

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.