summaryrefslogtreecommitdiff
path: root/libjava/java/awt/datatransfer/DataFlavor.h
blob: 3a94cabef658878a745f7b4cd724d6fe809583c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_datatransfer_DataFlavor__
#define __java_awt_datatransfer_DataFlavor__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace datatransfer
      {
          class DataFlavor;
          class MimeType;
          class Transferable;
      }
    }
  }
}

class java::awt::datatransfer::DataFlavor : public ::java::lang::Object
{

public: // actually protected
  static ::java::lang::Class * tryToLoadClass(::java::lang::String *, ::java::lang::ClassLoader *);
public:
  static ::java::awt::datatransfer::DataFlavor * getTextPlainUnicodeFlavor();
  static ::java::awt::datatransfer::DataFlavor * selectBestTextFlavor(JArray< ::java::awt::datatransfer::DataFlavor * > *);
  DataFlavor();
  DataFlavor(::java::lang::Class *, ::java::lang::String *);
  DataFlavor(::java::lang::String *, ::java::lang::String *, ::java::lang::ClassLoader *);
  DataFlavor(::java::lang::String *, ::java::lang::String *);
  DataFlavor(::java::lang::String *);
private:
  void init(::java::lang::String *, ::java::lang::String *, ::java::lang::ClassLoader *);
public:
  virtual ::java::lang::String * getMimeType();
  virtual ::java::lang::Class * getRepresentationClass();
  virtual ::java::lang::String * getHumanPresentableName();
  virtual ::java::lang::String * getPrimaryType();
  virtual ::java::lang::String * getSubType();
  virtual ::java::lang::String * getParameter(::java::lang::String *);
  virtual void setHumanPresentableName(::java::lang::String *);
  virtual jboolean isMimeTypeEqual(::java::lang::String *);
  virtual jboolean isMimeTypeEqual(::java::awt::datatransfer::DataFlavor *);
  virtual jboolean isMimeTypeSerializedObject();
  virtual jboolean isRepresentationClassInputStream();
  virtual jboolean isRepresentationClassSerializable();
  virtual jboolean isRepresentationClassRemote();
  virtual jboolean isFlavorSerializedObjectType();
  virtual jboolean isFlavorRemoteObjectType();
  virtual jboolean isFlavorJavaFileListType();
  virtual ::java::lang::Object * clone();
  virtual jboolean equals(::java::awt::datatransfer::DataFlavor *);
  virtual jboolean equals(::java::lang::Object *);
  virtual jboolean equals(::java::lang::String *);
  virtual jint hashCode();
  virtual jboolean match(::java::awt::datatransfer::DataFlavor *);
public: // actually protected
  virtual ::java::lang::String * normalizeMimeTypeParameter(::java::lang::String *, ::java::lang::String *);
  virtual ::java::lang::String * normalizeMimeType(::java::lang::String *);
public:
  virtual void writeExternal(::java::io::ObjectOutput *);
  virtual void readExternal(::java::io::ObjectInput *);
  virtual ::java::lang::String * toString();
  virtual ::java::lang::Class * getDefaultRepresentationClass();
  virtual ::java::lang::String * getDefaultRepresentationClassAsString();
  virtual ::java::io::Reader * getReaderForText(::java::awt::datatransfer::Transferable *);
  virtual jboolean isRepresentationClassByteBuffer();
  virtual jboolean isRepresentationClassCharBuffer();
  virtual jboolean isRepresentationClassReader();
  virtual jboolean isFlavorTextType();
public: // actually package-private
  static const jlong serialVersionUID = 8367026044764648243LL;
public:
  static ::java::awt::datatransfer::DataFlavor * plainTextFlavor;
  static ::java::awt::datatransfer::DataFlavor * stringFlavor;
  static ::java::awt::datatransfer::DataFlavor * javaFileListFlavor;
  static ::java::awt::datatransfer::DataFlavor * imageFlavor;
  static ::java::lang::String * javaSerializedObjectMimeType;
  static ::java::lang::String * javaJVMLocalObjectMimeType;
  static ::java::lang::String * javaRemoteObjectMimeType;
private:
  ::java::awt::datatransfer::MimeType * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mimeType;
  ::java::lang::Class * representationClass;
  ::java::lang::String * humanPresentableName;
public: // actually package-private
  static jboolean $assertionsDisabled;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_datatransfer_DataFlavor__