2013-11-21 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libjava / javax / activation / ObjectDataContentHandler.h
blob74a73db60fcf01d03dcc57798a07b2c733906298
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_activation_ObjectDataContentHandler__
5 #define __javax_activation_ObjectDataContentHandler__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace awt
18 namespace datatransfer
20 class DataFlavor;
24 namespace javax
26 namespace activation
28 class DataContentHandler;
29 class DataSource;
30 class ObjectDataContentHandler;
35 class javax::activation::ObjectDataContentHandler : public ::java::lang::Object
38 public:
39 ObjectDataContentHandler(::javax::activation::DataContentHandler *, ::java::lang::Object *, ::java::lang::String *);
40 virtual ::java::lang::Object * getContent(::javax::activation::DataSource *);
41 virtual ::javax::activation::DataContentHandler * getDCH();
42 virtual ::java::lang::Object * getTransferData(::java::awt::datatransfer::DataFlavor *, ::javax::activation::DataSource *);
43 virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getTransferDataFlavors();
44 virtual void writeTo(::java::lang::Object *, ::java::lang::String *, ::java::io::OutputStream *);
45 private:
46 ::javax::activation::DataContentHandler * __attribute__((aligned(__alignof__( ::java::lang::Object)))) dch;
47 ::java::lang::Object * object;
48 ::java::lang::String * mimeType;
49 JArray< ::java::awt::datatransfer::DataFlavor * > * flavors;
50 public:
51 static ::java::lang::Class class$;
54 #endif // __javax_activation_ObjectDataContentHandler__