1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __javax_activation_FileDataSource__ 5 #define __javax_activation_FileDataSource__ 6 7 #pragma interface 8 9 #include <java/lang/Object.h> 10 extern "Java" 11 { 12 namespace javax 13 { 14 namespace activation 15 { 16 class FileDataSource; 17 class FileTypeMap; 18 } 19 } 20 } 21 22 class javax::activation::FileDataSource : public ::java::lang::Object 23 { 24 25 public: 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 *); 34 private: 35 ::java::io::File * __attribute__((aligned(__alignof__( ::java::lang::Object)))) file; 36 ::javax::activation::FileTypeMap * typeMap; 37 public: 38 static ::java::lang::Class class$; 39 }; 40 41 #endif // __javax_activation_FileDataSource__ 42