OSDN Git Service

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