1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_datatransfer_DataFlavor__
|
5 |
|
|
#define __java_awt_datatransfer_DataFlavor__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
namespace datatransfer
|
19 |
|
|
{
|
20 |
|
|
class DataFlavor;
|
21 |
|
|
class MimeType;
|
22 |
|
|
class Transferable;
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
|
28 |
|
|
class java::awt::datatransfer::DataFlavor : public ::java::lang::Object
|
29 |
|
|
{
|
30 |
|
|
|
31 |
|
|
public: // actually protected
|
32 |
|
|
static ::java::lang::Class * tryToLoadClass(::java::lang::String *, ::java::lang::ClassLoader *);
|
33 |
|
|
public:
|
34 |
|
|
static ::java::awt::datatransfer::DataFlavor * getTextPlainUnicodeFlavor();
|
35 |
|
|
static ::java::awt::datatransfer::DataFlavor * selectBestTextFlavor(JArray< ::java::awt::datatransfer::DataFlavor * > *);
|
36 |
|
|
DataFlavor();
|
37 |
|
|
DataFlavor(::java::lang::Class *, ::java::lang::String *);
|
38 |
|
|
DataFlavor(::java::lang::String *, ::java::lang::String *, ::java::lang::ClassLoader *);
|
39 |
|
|
DataFlavor(::java::lang::String *, ::java::lang::String *);
|
40 |
|
|
DataFlavor(::java::lang::String *);
|
41 |
|
|
private:
|
42 |
|
|
void init(::java::lang::String *, ::java::lang::String *, ::java::lang::ClassLoader *);
|
43 |
|
|
public:
|
44 |
|
|
virtual ::java::lang::String * getMimeType();
|
45 |
|
|
virtual ::java::lang::Class * getRepresentationClass();
|
46 |
|
|
virtual ::java::lang::String * getHumanPresentableName();
|
47 |
|
|
virtual ::java::lang::String * getPrimaryType();
|
48 |
|
|
virtual ::java::lang::String * getSubType();
|
49 |
|
|
virtual ::java::lang::String * getParameter(::java::lang::String *);
|
50 |
|
|
virtual void setHumanPresentableName(::java::lang::String *);
|
51 |
|
|
virtual jboolean isMimeTypeEqual(::java::lang::String *);
|
52 |
|
|
virtual jboolean isMimeTypeEqual(::java::awt::datatransfer::DataFlavor *);
|
53 |
|
|
virtual jboolean isMimeTypeSerializedObject();
|
54 |
|
|
virtual jboolean isRepresentationClassInputStream();
|
55 |
|
|
virtual jboolean isRepresentationClassSerializable();
|
56 |
|
|
virtual jboolean isRepresentationClassRemote();
|
57 |
|
|
virtual jboolean isFlavorSerializedObjectType();
|
58 |
|
|
virtual jboolean isFlavorRemoteObjectType();
|
59 |
|
|
virtual jboolean isFlavorJavaFileListType();
|
60 |
|
|
virtual ::java::lang::Object * clone();
|
61 |
|
|
virtual jboolean equals(::java::awt::datatransfer::DataFlavor *);
|
62 |
|
|
virtual jboolean equals(::java::lang::Object *);
|
63 |
|
|
virtual jboolean equals(::java::lang::String *);
|
64 |
|
|
virtual jint hashCode();
|
65 |
|
|
virtual jboolean match(::java::awt::datatransfer::DataFlavor *);
|
66 |
|
|
public: // actually protected
|
67 |
|
|
virtual ::java::lang::String * normalizeMimeTypeParameter(::java::lang::String *, ::java::lang::String *);
|
68 |
|
|
virtual ::java::lang::String * normalizeMimeType(::java::lang::String *);
|
69 |
|
|
public:
|
70 |
|
|
virtual void writeExternal(::java::io::ObjectOutput *);
|
71 |
|
|
virtual void readExternal(::java::io::ObjectInput *);
|
72 |
|
|
virtual ::java::lang::String * toString();
|
73 |
|
|
virtual ::java::lang::Class * getDefaultRepresentationClass();
|
74 |
|
|
virtual ::java::lang::String * getDefaultRepresentationClassAsString();
|
75 |
|
|
virtual ::java::io::Reader * getReaderForText(::java::awt::datatransfer::Transferable *);
|
76 |
|
|
virtual jboolean isRepresentationClassByteBuffer();
|
77 |
|
|
virtual jboolean isRepresentationClassCharBuffer();
|
78 |
|
|
virtual jboolean isRepresentationClassReader();
|
79 |
|
|
virtual jboolean isFlavorTextType();
|
80 |
|
|
public: // actually package-private
|
81 |
|
|
static const jlong serialVersionUID = 8367026044764648243LL;
|
82 |
|
|
public:
|
83 |
|
|
static ::java::awt::datatransfer::DataFlavor * plainTextFlavor;
|
84 |
|
|
static ::java::awt::datatransfer::DataFlavor * stringFlavor;
|
85 |
|
|
static ::java::awt::datatransfer::DataFlavor * javaFileListFlavor;
|
86 |
|
|
static ::java::awt::datatransfer::DataFlavor * imageFlavor;
|
87 |
|
|
static ::java::lang::String * javaSerializedObjectMimeType;
|
88 |
|
|
static ::java::lang::String * javaJVMLocalObjectMimeType;
|
89 |
|
|
static ::java::lang::String * javaRemoteObjectMimeType;
|
90 |
|
|
private:
|
91 |
|
|
::java::awt::datatransfer::MimeType * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mimeType;
|
92 |
|
|
::java::lang::Class * representationClass;
|
93 |
|
|
::java::lang::String * humanPresentableName;
|
94 |
|
|
public: // actually package-private
|
95 |
|
|
static jboolean $assertionsDisabled;
|
96 |
|
|
public:
|
97 |
|
|
static ::java::lang::Class class$;
|
98 |
|
|
};
|
99 |
|
|
|
100 |
|
|
#endif // __java_awt_datatransfer_DataFlavor__
|