summaryrefslogtreecommitdiff
path: root/NET/worlds/console/Netscape.java
diff options
context:
space:
mode:
Diffstat (limited to 'NET/worlds/console/Netscape.java')
-rw-r--r--NET/worlds/console/Netscape.java208
1 files changed, 208 insertions, 0 deletions
diff --git a/NET/worlds/console/Netscape.java b/NET/worlds/console/Netscape.java
new file mode 100644
index 0000000..f43de44
--- /dev/null
+++ b/NET/worlds/console/Netscape.java
@@ -0,0 +1,208 @@
+/* */ package NET.worlds.console;
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */ public class Netscape
+/* */ implements MainCallback, MainTerminalCallback
+/* */ {
+/* 19 */ private INetscapeRegistry _registry = null;
+/* 20 */ private NSProtocolHandler _protocolHandler = null;
+/* */
+/* */
+/* */
+/* */ public Netscape()
+/* */ {
+/* 26 */ Main.register(this);
+/* */ }
+/* */
+/* */ /* Error */
+/* */ public void mainCallback()
+/* */ {
+/* */ // Byte code:
+/* */ // 0: aload_0
+/* */ // 1: invokestatic 33 NET/worlds/console/Main:unregister (LNET/worlds/console/MainCallback;)V
+/* */ // 4: aload_0
+/* */ // 5: new 36 NET/worlds/console/INetscapeRegistry
+/* */ // 8: dup
+/* */ // 9: invokespecial 38 NET/worlds/console/INetscapeRegistry:<init> ()V
+/* */ // 12: putfield 18 NET/worlds/console/Netscape:_registry LNET/worlds/console/INetscapeRegistry;
+/* */ // 15: invokestatic 39 NET/worlds/console/ActiveX:getDebugLevel ()I
+/* */ // 18: bipush 16
+/* */ // 20: iand
+/* */ // 21: ifle +11 -> 32
+/* */ // 24: getstatic 45 java/lang/System:out Ljava/io/PrintStream;
+/* */ // 27: ldc 51
+/* */ // 29: invokevirtual 53 java/io/PrintStream:println (Ljava/lang/String;)V
+/* */ // 32: aload_0
+/* */ // 33: new 59 NET/worlds/console/NSProtocolHandler
+/* */ // 36: dup
+/* */ // 37: invokespecial 61 NET/worlds/console/NSProtocolHandler:<init> ()V
+/* */ // 40: putfield 20 NET/worlds/console/Netscape:_protocolHandler LNET/worlds/console/NSProtocolHandler;
+/* */ // 43: aload_0
+/* */ // 44: getfield 20 NET/worlds/console/Netscape:_protocolHandler LNET/worlds/console/NSProtocolHandler;
+/* */ // 47: invokevirtual 62 NET/worlds/console/NSProtocolHandler:activate ()V
+/* */ // 50: invokestatic 39 NET/worlds/console/ActiveX:getDebugLevel ()I
+/* */ // 53: bipush 16
+/* */ // 55: iand
+/* */ // 56: ifle +11 -> 67
+/* */ // 59: getstatic 45 java/lang/System:out Ljava/io/PrintStream;
+/* */ // 62: ldc 65
+/* */ // 64: invokevirtual 53 java/io/PrintStream:println (Ljava/lang/String;)V
+/* */ // 67: aload_0
+/* */ // 68: getfield 20 NET/worlds/console/Netscape:_protocolHandler LNET/worlds/console/NSProtocolHandler;
+/* */ // 71: invokevirtual 67 NET/worlds/console/NSProtocolHandler:register ()V
+/* */ // 74: aload_0
+/* */ // 75: getfield 18 NET/worlds/console/Netscape:_registry LNET/worlds/console/INetscapeRegistry;
+/* */ // 78: ldc 69
+/* */ // 80: ldc 71
+/* */ // 82: invokevirtual 73 NET/worlds/console/INetscapeRegistry:RegisterProtocol (Ljava/lang/String;Ljava/lang/String;)Z
+/* */ // 85: istore_1
+/* */ // 86: invokestatic 39 NET/worlds/console/ActiveX:getDebugLevel ()I
+/* */ // 89: bipush 16
+/* */ // 91: iand
+/* */ // 92: ifle +115 -> 207
+/* */ // 95: getstatic 45 java/lang/System:out Ljava/io/PrintStream;
+/* */ // 98: ldc 77
+/* */ // 100: invokevirtual 53 java/io/PrintStream:println (Ljava/lang/String;)V
+/* */ // 103: goto +104 -> 207
+/* */ // 106: astore_1
+/* */ // 107: invokestatic 39 NET/worlds/console/ActiveX:getDebugLevel ()I
+/* */ // 110: bipush 16
+/* */ // 112: iand
+/* */ // 113: ifle +28 -> 141
+/* */ // 116: getstatic 45 java/lang/System:out Ljava/io/PrintStream;
+/* */ // 119: new 79 java/lang/StringBuilder
+/* */ // 122: dup
+/* */ // 123: ldc 81
+/* */ // 125: invokespecial 83 java/lang/StringBuilder:<init> (Ljava/lang/String;)V
+/* */ // 128: aload_1
+/* */ // 129: invokevirtual 85 java/io/IOException:getMessage ()Ljava/lang/String;
+/* */ // 132: invokevirtual 91 java/lang/StringBuilder:append (Ljava/lang/String;)Ljava/lang/StringBuilder;
+/* */ // 135: invokevirtual 95 java/lang/StringBuilder:toString ()Ljava/lang/String;
+/* */ // 138: invokevirtual 53 java/io/PrintStream:println (Ljava/lang/String;)V
+/* */ // 141: aload_0
+/* */ // 142: getfield 18 NET/worlds/console/Netscape:_registry LNET/worlds/console/INetscapeRegistry;
+/* */ // 145: ifnull +92 -> 237
+/* */ // 148: aload_0
+/* */ // 149: getfield 18 NET/worlds/console/Netscape:_registry LNET/worlds/console/INetscapeRegistry;
+/* */ // 152: invokevirtual 98 NET/worlds/console/INetscapeRegistry:Release ()V
+/* */ // 155: goto +11 -> 166
+/* */ // 158: astore_3
+/* */ // 159: aload_3
+/* */ // 160: getstatic 45 java/lang/System:out Ljava/io/PrintStream;
+/* */ // 163: invokevirtual 101 NET/worlds/console/OLEInvalidObjectException:printStackTrace (Ljava/io/PrintStream;)V
+/* */ // 166: aload_0
+/* */ // 167: aconst_null
+/* */ // 168: putfield 18 NET/worlds/console/Netscape:_registry LNET/worlds/console/INetscapeRegistry;
+/* */ // 171: goto +66 -> 237
+/* */ // 174: astore_2
+/* */ // 175: aload_0
+/* */ // 176: getfield 18 NET/worlds/console/Netscape:_registry LNET/worlds/console/INetscapeRegistry;
+/* */ // 179: ifnull +26 -> 205
+/* */ // 182: aload_0
+/* */ // 183: getfield 18 NET/worlds/console/Netscape:_registry LNET/worlds/console/INetscapeRegistry;
+/* */ // 186: invokevirtual 98 NET/worlds/console/INetscapeRegistry:Release ()V
+/* */ // 189: goto +11 -> 200
+/* */ // 192: astore_3
+/* */ // 193: aload_3
+/* */ // 194: getstatic 45 java/lang/System:out Ljava/io/PrintStream;
+/* */ // 197: invokevirtual 101 NET/worlds/console/OLEInvalidObjectException:printStackTrace (Ljava/io/PrintStream;)V
+/* */ // 200: aload_0
+/* */ // 201: aconst_null
+/* */ // 202: putfield 18 NET/worlds/console/Netscape:_registry LNET/worlds/console/INetscapeRegistry;
+/* */ // 205: aload_2
+/* */ // 206: athrow
+/* */ // 207: aload_0
+/* */ // 208: getfield 18 NET/worlds/console/Netscape:_registry LNET/worlds/console/INetscapeRegistry;
+/* */ // 211: ifnull +26 -> 237
+/* */ // 214: aload_0
+/* */ // 215: getfield 18 NET/worlds/console/Netscape:_registry LNET/worlds/console/INetscapeRegistry;
+/* */ // 218: invokevirtual 98 NET/worlds/console/INetscapeRegistry:Release ()V
+/* */ // 221: goto +11 -> 232
+/* */ // 224: astore_3
+/* */ // 225: aload_3
+/* */ // 226: getstatic 45 java/lang/System:out Ljava/io/PrintStream;
+/* */ // 229: invokevirtual 101 NET/worlds/console/OLEInvalidObjectException:printStackTrace (Ljava/io/PrintStream;)V
+/* */ // 232: aload_0
+/* */ // 233: aconst_null
+/* */ // 234: putfield 18 NET/worlds/console/Netscape:_registry LNET/worlds/console/INetscapeRegistry;
+/* */ // 237: return
+/* */ // Line number table:
+/* */ // Java source line #30 -> byte code offset #0
+/* */ // Java source line #50 -> byte code offset #4
+/* */ // Java source line #54 -> byte code offset #15
+/* */ // Java source line #55 -> byte code offset #24
+/* */ // Java source line #59 -> byte code offset #32
+/* */ // Java source line #60 -> byte code offset #43
+/* */ // Java source line #62 -> byte code offset #50
+/* */ // Java source line #63 -> byte code offset #59
+/* */ // Java source line #67 -> byte code offset #67
+/* */ // Java source line #72 -> byte code offset #74
+/* */ // Java source line #73 -> byte code offset #80
+/* */ // Java source line #72 -> byte code offset #82
+/* */ // Java source line #78 -> byte code offset #86
+/* */ // Java source line #79 -> byte code offset #95
+/* */ // Java source line #80 -> byte code offset #98
+/* */ // Java source line #82 -> byte code offset #103
+/* */ // Java source line #84 -> byte code offset #107
+/* */ // Java source line #85 -> byte code offset #116
+/* */ // Java source line #86 -> byte code offset #128
+/* */ // Java source line #85 -> byte code offset #138
+/* */ // Java source line #89 -> byte code offset #141
+/* */ // Java source line #94 -> byte code offset #148
+/* */ // Java source line #95 -> byte code offset #155
+/* */ // Java source line #97 -> byte code offset #159
+/* */ // Java source line #99 -> byte code offset #166
+/* */ // Java source line #88 -> byte code offset #174
+/* */ // Java source line #89 -> byte code offset #175
+/* */ // Java source line #94 -> byte code offset #182
+/* */ // Java source line #95 -> byte code offset #189
+/* */ // Java source line #97 -> byte code offset #193
+/* */ // Java source line #99 -> byte code offset #200
+/* */ // Java source line #101 -> byte code offset #205
+/* */ // Java source line #89 -> byte code offset #207
+/* */ // Java source line #94 -> byte code offset #214
+/* */ // Java source line #95 -> byte code offset #221
+/* */ // Java source line #97 -> byte code offset #225
+/* */ // Java source line #99 -> byte code offset #232
+/* */ // Java source line #102 -> byte code offset #237
+/* */ // Local variable table:
+/* */ // start length slot name signature
+/* */ // 0 238 0 this Netscape
+/* */ // 85 2 1 reg boolean
+/* */ // 106 23 1 e java.io.IOException
+/* */ // 174 32 2 localObject Object
+/* */ // 158 2 3 e OLEInvalidObjectException
+/* */ // 192 2 3 e OLEInvalidObjectException
+/* */ // 224 2 3 e OLEInvalidObjectException
+/* */ // Exception table:
+/* */ // from to target type
+/* */ // 4 103 106 java/io/IOException
+/* */ // 148 155 158 NET/worlds/console/OLEInvalidObjectException
+/* */ // 4 141 174 finally
+/* */ // 182 189 192 NET/worlds/console/OLEInvalidObjectException
+/* */ // 214 221 224 NET/worlds/console/OLEInvalidObjectException
+/* */ }
+/* */
+/* */ public void terminalCallback()
+/* */ {
+/* 105 */ Main.unregister(this);
+/* */ }
+/* */ }
+
+
+/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\console\Netscape.class
+ * Java compiler version: 6 (50.0)
+ * JD-Core Version: 0.7.1
+ */ \ No newline at end of file