/[classpath]/classpath/java/awt/datatransfer/DataFlavor.java
ViewVC logotype

Diff of /classpath/java/awt/datatransfer/DataFlavor.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by mkoch, Wed Oct 2 12:58:39 2002 UTC revision 1.9 by mkoch, Thu Nov 7 08:50:38 2002 UTC
# Line 88  public static final DataFlavor stringFla Line 88  public static final DataFlavor stringFla
88    */    */
89  public static final DataFlavor javaFileListFlavor;  public static final DataFlavor javaFileListFlavor;
90    
91    public static final DataFlavor imageFlavor;
92    
93  /**  /**
94    * This is the MIME type used for transferring a serialized object.    * This is the MIME type used for transferring a serialized object.
95    * The representation class is the type of object be deserialized.    * The representation class is the type of object be deserialized.
# Line 126  static Line 128  static
128                         "Java File List");                         "Java File List");
129    
130    // javaFileListFlavor.mimeType = "application/x-java-file-list";    // javaFileListFlavor.mimeType = "application/x-java-file-list";
131    
132      imageFlavor
133          = new DataFlavor(java.awt.Image.class,
134                           "Java Image");
135  }  }
136    
137  /*************************************************************************/  /*************************************************************************/
# Line 499  setHumanPresentableName(String humanPres Line 505  setHumanPresentableName(String humanPres
505    * @return <code>true</code> if the MIME type is equal to this object's    * @return <code>true</code> if the MIME type is equal to this object's
506    * MIME type, <code>false</code> otherwise.    * MIME type, <code>false</code> otherwise.
507    */    */
508  public boolean  public final boolean
509  isMimeTypeEqual(String mimeType)  isMimeTypeEqual(String mimeType)
510  {  {
511    // FIXME: Need to handle default attributes and parameters    // FIXME: Need to handle default attributes and parameters
# Line 862  getTextPlainUnicodeFlavor() Line 868  getTextPlainUnicodeFlavor()
868    *    *
869    * @since 1.3    * @since 1.3
870    */    */
871  public static final Class  public final Class
872  getDefaultRepresentationClass()  getDefaultRepresentationClass()
873  {  {
874    return(java.io.InputStream.class);    return(java.io.InputStream.class);
# Line 872  getDefaultRepresentationClass() Line 878  getDefaultRepresentationClass()
878  /**  /**
879    * XXX - Currently returns <code>java.io.InputStream</code>.    * XXX - Currently returns <code>java.io.InputStream</code>.
880    */    */
881  public static final String  public final String
882  getDefaultRepresentationClassAsString()  getDefaultRepresentationClassAsString()
883  {  {
884    return(getDefaultRepresentationClass().getName());    return(getDefaultRepresentationClass().getName());

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26