PolicyFile.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_java_security_PolicyFile__
  3. #define __gnu_java_security_PolicyFile__
  4. #pragma interface
  5. #include <java/security/Policy.h>
  6. extern "Java"
  7. {
  8. namespace gnu
  9. {
  10. namespace java
  11. {
  12. namespace security
  13. {
  14. class PolicyFile;
  15. namespace action
  16. {
  17. class GetPropertyAction;
  18. }
  19. }
  20. }
  21. }
  22. namespace java
  23. {
  24. namespace net
  25. {
  26. class URL;
  27. }
  28. namespace security
  29. {
  30. class CodeSource;
  31. class PermissionCollection;
  32. }
  33. }
  34. }
  35. class gnu::java::security::PolicyFile : public ::java::security::Policy
  36. {
  37. public:
  38. PolicyFile();
  39. ::java::security::PermissionCollection * getPermissions(::java::security::CodeSource *);
  40. void refresh();
  41. ::java::lang::String * toString();
  42. private:
  43. void parse(::java::net::URL *);
  44. static ::java::lang::String * expand(::java::lang::String *);
  45. static void error(::java::net::URL *, ::java::io::StreamTokenizer *, ::java::lang::String *);
  46. public: // actually protected
  47. static ::java::util::logging::Logger * logger;
  48. private:
  49. static ::gnu::java::security::action::GetPropertyAction * prop;
  50. static ::java::lang::String * fs;
  51. static ::java::lang::String * DEFAULT_POLICY;
  52. static ::java::lang::String * DEFAULT_USER_POLICY;
  53. ::java::util::Map * __attribute__((aligned(__alignof__( ::java::security::Policy)))) cs2pc;
  54. static const jint STATE_BEGIN = 0;
  55. static const jint STATE_GRANT = 1;
  56. static const jint STATE_PERMS = 2;
  57. public:
  58. static ::java::lang::Class class$;
  59. };
  60. #endif // __gnu_java_security_PolicyFile__