2013-11-21 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libjava / javax / activation / FileDataSource.h
bloba3636b8a0ce2af933930be768083dc28af89682a
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_activation_FileDataSource__
5 #define __javax_activation_FileDataSource__
7 #pragma interface
9 #include <java/lang/Object.h>
10 extern "Java"
12 namespace javax
14 namespace activation
16 class FileDataSource;
17 class FileTypeMap;
22 class javax::activation::FileDataSource : public ::java::lang::Object
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$;
41 #endif // __javax_activation_FileDataSource__