DataSourceDataContentHandler.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_activation_DataSourceDataContentHandler__
  3. #define __javax_activation_DataSourceDataContentHandler__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. namespace datatransfer
  14. {
  15. class DataFlavor;
  16. }
  17. }
  18. }
  19. namespace javax
  20. {
  21. namespace activation
  22. {
  23. class DataContentHandler;
  24. class DataSource;
  25. class DataSourceDataContentHandler;
  26. }
  27. }
  28. }
  29. class javax::activation::DataSourceDataContentHandler : public ::java::lang::Object
  30. {
  31. public:
  32. DataSourceDataContentHandler(::javax::activation::DataContentHandler *, ::javax::activation::DataSource *);
  33. virtual ::java::lang::Object * getContent(::javax::activation::DataSource *);
  34. virtual ::java::lang::Object * getTransferData(::java::awt::datatransfer::DataFlavor *, ::javax::activation::DataSource *);
  35. virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getTransferDataFlavors();
  36. virtual void writeTo(::java::lang::Object *, ::java::lang::String *, ::java::io::OutputStream *);
  37. private:
  38. ::javax::activation::DataSource * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ds;
  39. JArray< ::java::awt::datatransfer::DataFlavor * > * flavors;
  40. ::javax::activation::DataContentHandler * dch;
  41. public:
  42. static ::java::lang::Class class$;
  43. };
  44. #endif // __javax_activation_DataSourceDataContentHandler__