2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_activation_FileDataSource__
5 #define __javax_activation_FileDataSource__
9 #include <java/lang/Object.h>
22 class javax::activation::FileDataSource
: public ::java::lang::Object
26 FileDataSource(::java::io::File
*);
27 FileDataSource(::java::lang::String
*);
28 virtual ::java::io::InputStream
* getInputStream();
29 virtual ::java::io::OutputStream
* getOutputStream();
30 virtual ::java::lang::String
* getContentType();
31 virtual ::java::lang::String
* getName();
32 virtual ::java::io::File
* getFile();
33 virtual void setFileTypeMap(::javax::activation::FileTypeMap
*);
35 ::java::io::File
* __attribute__((aligned(__alignof__( ::java::lang::Object
)))) file
;
36 ::javax::activation::FileTypeMap
* typeMap
;
38 static ::java::lang::Class
class$
;
41 #endif // __javax_activation_FileDataSource__