FileDataSource.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_activation_FileDataSource__
  3. #define __javax_activation_FileDataSource__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace javax
  9. {
  10. namespace activation
  11. {
  12. class FileDataSource;
  13. class FileTypeMap;
  14. }
  15. }
  16. }
  17. class javax::activation::FileDataSource : public ::java::lang::Object
  18. {
  19. public:
  20. FileDataSource(::java::io::File *);
  21. FileDataSource(::java::lang::String *);
  22. virtual ::java::io::InputStream * getInputStream();
  23. virtual ::java::io::OutputStream * getOutputStream();
  24. virtual ::java::lang::String * getContentType();
  25. virtual ::java::lang::String * getName();
  26. virtual ::java::io::File * getFile();
  27. virtual void setFileTypeMap(::javax::activation::FileTypeMap *);
  28. private:
  29. ::java::io::File * __attribute__((aligned(__alignof__( ::java::lang::Object)))) file;
  30. ::javax::activation::FileTypeMap * typeMap;
  31. public:
  32. static ::java::lang::Class class$;
  33. };
  34. #endif // __javax_activation_FileDataSource__