2013-11-21 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libjava / javax / activation / DataSourceDataContentHandler.h
blobe364878e8cd08e3055ee83bedef83eaeebdfb199
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_activation_DataSourceDataContentHandler__
5 #define __javax_activation_DataSourceDataContentHandler__
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 DataSourceDataContentHandler;
35 class javax::activation::DataSourceDataContentHandler : public ::java::lang::Object
38 public:
39 DataSourceDataContentHandler(::javax::activation::DataContentHandler *, ::javax::activation::DataSource *);
40 virtual ::java::lang::Object * getContent(::javax::activation::DataSource *);
41 virtual ::java::lang::Object * getTransferData(::java::awt::datatransfer::DataFlavor *, ::javax::activation::DataSource *);
42 virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getTransferDataFlavors();
43 virtual void writeTo(::java::lang::Object *, ::java::lang::String *, ::java::io::OutputStream *);
44 private:
45 ::javax::activation::DataSource * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ds;
46 JArray< ::java::awt::datatransfer::DataFlavor * > * flavors;
47 ::javax::activation::DataContentHandler * dch;
48 public:
49 static ::java::lang::Class class$;
52 #endif // __javax_activation_DataSourceDataContentHandler__