2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_activation_DataSourceDataContentHandler__
5 #define __javax_activation_DataSourceDataContentHandler__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
18 namespace datatransfer
28 class DataContentHandler
;
30 class DataSourceDataContentHandler
;
35 class javax::activation::DataSourceDataContentHandler
: public ::java::lang::Object
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
*);
45 ::javax::activation::DataSource
* __attribute__((aligned(__alignof__( ::java::lang::Object
)))) ds
;
46 JArray
< ::java::awt::datatransfer::DataFlavor
* > * flavors
;
47 ::javax::activation::DataContentHandler
* dch
;
49 static ::java::lang::Class
class$
;
52 #endif // __javax_activation_DataSourceDataContentHandler__