blob: de2495c8b7937cf4d6ba9b7229387385a3d83eeb (
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
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_awt_datatransfer_SystemFlavorMap__
#define __java_awt_datatransfer_SystemFlavorMap__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace awt
{
namespace datatransfer
{
class DataFlavor;
class FlavorMap;
class SystemFlavorMap;
}
}
}
}
class java::awt::datatransfer::SystemFlavorMap : public ::java::lang::Object
{
SystemFlavorMap();
public: // actually package-private
void setupMapping(::java::util::Properties *);
public:
::java::util::Map * getNativesForFlavors(JArray< ::java::awt::datatransfer::DataFlavor * > *);
::java::util::Map * getFlavorsForNatives(JArray< ::java::lang::String * > *);
static ::java::awt::datatransfer::FlavorMap * getDefaultFlavorMap();
static ::java::lang::String * encodeJavaMIMEType(::java::lang::String *);
static ::java::lang::String * encodeDataFlavor(::java::awt::datatransfer::DataFlavor *);
static jboolean isJavaMIMEType(::java::lang::String *);
static ::java::lang::String * decodeJavaMIMEType(::java::lang::String *);
static ::java::awt::datatransfer::DataFlavor * decodeDataFlavor(::java::lang::String *);
::java::util::List * getFlavorsForNative(::java::lang::String *);
::java::util::List * getNativesForFlavor(::java::awt::datatransfer::DataFlavor *);
void addFlavorForUnencodedNative(::java::lang::String *, ::java::awt::datatransfer::DataFlavor *);
void addUnencodedNativeForFlavor(::java::awt::datatransfer::DataFlavor *, ::java::lang::String *);
void setNativesForFlavor(::java::awt::datatransfer::DataFlavor *, JArray< ::java::lang::String * > *);
void setFlavorsForNative(::java::lang::String *, JArray< ::java::awt::datatransfer::DataFlavor * > *);
private:
static ::java::util::Map * systemFlavorMaps;
static ::java::lang::String * GNU_JAVA_MIME_PREFIX;
::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) nativeToFlavorMap;
::java::util::HashMap * flavorToNativeMap;
public:
static ::java::lang::Class class$;
};
#endif // __java_awt_datatransfer_SystemFlavorMap__
|