CommandMap.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_activation_CommandMap__
  3. #define __javax_activation_CommandMap__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace javax
  10. {
  11. namespace activation
  12. {
  13. class CommandInfo;
  14. class CommandMap;
  15. class DataContentHandler;
  16. class DataSource;
  17. }
  18. }
  19. }
  20. class javax::activation::CommandMap : public ::java::lang::Object
  21. {
  22. public:
  23. CommandMap();
  24. static ::javax::activation::CommandMap * getDefaultCommandMap();
  25. static void setDefaultCommandMap(::javax::activation::CommandMap *);
  26. virtual JArray< ::javax::activation::CommandInfo * > * getPreferredCommands(::java::lang::String *) = 0;
  27. virtual JArray< ::javax::activation::CommandInfo * > * getAllCommands(::java::lang::String *) = 0;
  28. virtual ::javax::activation::CommandInfo * getCommand(::java::lang::String *, ::java::lang::String *) = 0;
  29. virtual ::javax::activation::DataContentHandler * createDataContentHandler(::java::lang::String *) = 0;
  30. virtual JArray< ::java::lang::String * > * getMimeTypes();
  31. virtual JArray< ::javax::activation::CommandInfo * > * getPreferredCommands(::java::lang::String *, ::javax::activation::DataSource *);
  32. virtual JArray< ::javax::activation::CommandInfo * > * getAllCommands(::java::lang::String *, ::javax::activation::DataSource *);
  33. virtual ::javax::activation::CommandInfo * getCommand(::java::lang::String *, ::java::lang::String *, ::javax::activation::DataSource *);
  34. virtual ::javax::activation::DataContentHandler * createDataContentHandler(::java::lang::String *, ::javax::activation::DataSource *);
  35. private:
  36. static ::javax::activation::CommandMap * defaultCommandMap;
  37. public:
  38. static ::java::lang::Class class$;
  39. };
  40. #endif // __javax_activation_CommandMap__