blob: f5ad8b65bf577de4f59f6034cd200984209150e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
/* */ package NET.worlds.core;
/* */
/* */
/* */
/* */ public class RegKey
/* */ {
/* */ public static final int CLASSES_ROOT = 0;
/* */
/* */
/* */ public static final int CURRENT_USER = 1;
/* */
/* */
/* */ public static final int LOCAL_MACHINE = 2;
/* */
/* */
/* */ public static final int USERS = 3;
/* */
/* */
/* */ public static final int KEYOPEN_READ = 0;
/* */
/* */
/* */ public static final int KEYOPEN_WRITE = 1;
/* */
/* */ public static final int KEYOPEN_CREATE = 2;
/* */
/* */ private int hKey;
/* */
/* */
/* */ static {}
/* */
/* */
/* */ public static RegKey getRootKey(int type)
/* */ throws RegKeyNotFoundException
/* */ {
/* 35 */ return new RegKey(getReservedKey(type));
/* */ }
/* */
/* */
/* */
/* */
/* */ public RegKey(RegKey base, String subKey, int mode)
/* */ throws RegKeyNotFoundException
/* */ {
/* 44 */ if (mode == 2) {
/* 45 */ this.hKey = createKey(base.hKey, subKey);
/* */ } else {
/* 47 */ this.hKey = openKey(base.hKey, subKey, mode);
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */ public native String getStringValue(String paramString);
/* */
/* */
/* */
/* */
/* */
/* */ public native boolean setStringValue(String paramString1, String paramString2, boolean paramBoolean);
/* */
/* */
/* */
/* */
/* */
/* */ public native int getIntValue(String paramString);
/* */
/* */
/* */
/* */
/* */
/* */ public native boolean setIntValue(String paramString, int paramInt);
/* */
/* */
/* */
/* */
/* */
/* */ public native void close();
/* */
/* */
/* */
/* */
/* */
/* */ private static native int getReservedKey(int paramInt)
/* */ throws RegKeyNotFoundException;
/* */
/* */
/* */
/* */
/* */ private static native int openKey(int paramInt1, String paramString, int paramInt2)
/* */ throws RegKeyNotFoundException;
/* */
/* */
/* */
/* */
/* */ private static native int createKey(int paramInt, String paramString);
/* */
/* */
/* */
/* */
/* */ public static native void nativeInit();
/* */
/* */
/* */
/* */
/* */ private RegKey(int hKey)
/* */ {
/* 109 */ this.hKey = hKey;
/* */ }
/* */ }
/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\core\RegKey.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/
|