class com.sun.glass.ui.win.HTMLCodec extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.win.HTMLCodec
super_class: java.io.InputStream
{
public static final java.lang.String ENCODING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "UTF-8"
public static final java.lang.String VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Version:"
public static final java.lang.String START_HTML;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "StartHTML:"
public static final java.lang.String END_HTML;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "EndHTML:"
public static final java.lang.String START_FRAGMENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "StartFragment:"
public static final java.lang.String END_FRAGMENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "EndFragment:"
public static final java.lang.String START_SELECTION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "StartSelection:"
public static final java.lang.String END_SELECTION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "EndSelection:"
public static final java.lang.String START_FRAGMENT_CMT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "<!--StartFragment-->"
public static final java.lang.String END_FRAGMENT_CMT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "<!--EndFragment-->"
public static final java.lang.String SOURCE_URL;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "SourceURL:"
public static final java.lang.String DEF_SOURCE_URL;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "about:blank"
public static final java.lang.String EOLN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "\r\n"
private static final java.lang.String VERSION_NUM;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "1.0"
private static final int PADDED_WIDTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private final java.io.BufferedInputStream bufferedStream;
descriptor: Ljava/io/BufferedInputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean descriptionParsed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public static final int BYTE_BUFFER_LEN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
public static final int CHAR_BUFFER_LEN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2730
private static final java.lang.String FAILURE_MSG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Unable to parse HTML description: "
private static final java.lang.String INVALID_MSG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: " invalid"
private long iHTMLStart;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long iHTMLEnd;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long iFragStart;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long iFragEnd;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long iSelStart;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long iSelEnd;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.lang.String stBaseURL;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String stVersion;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private long iStartOffset;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long iEndOffset;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long iReadCount;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private com.sun.glass.ui.win.EHTMLReadMode readMode;
descriptor: Lcom/sun/glass/ui/win/EHTMLReadMode;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$com$sun$glass$ui$win$EHTMLReadMode;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static java.lang.String toPaddedString(int, int);
descriptor: (II)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.String.length:()I
istore 3
start local 3 2: iload 0
iflt 9
iload 3
iload 1
if_icmpge 9
3: iload 1
iload 3
isub
newarray 5
astore 4
start local 4 4: aload 4
bipush 48
invokestatic java.util.Arrays.fill:([CC)V
5: new java.lang.StringBuffer
dup
iload 1
invokespecial java.lang.StringBuffer.<init>:(I)V
astore 5
start local 5 6: aload 5
aload 4
invokevirtual java.lang.StringBuffer.append:([C)Ljava/lang/StringBuffer;
pop
7: aload 5
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: aload 5
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
astore 2
end local 5 end local 4 9: StackMap locals: java.lang.String int
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 n I
0 10 1 width I
1 10 2 string Ljava/lang/String;
2 10 3 len I
4 9 4 array [C
6 9 5 buffer Ljava/lang/StringBuffer;
MethodParameters:
Name Flags
n
width
public static byte[] convertToHTMLFormat(byte[]);
descriptor: ([B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=12, args_size=1
start local 0 0: ldc ""
astore 1
start local 1 1: ldc ""
astore 2
start local 2 2: new java.lang.String
dup
aload 0
invokespecial java.lang.String.<init>:([B)V
astore 3
start local 3 3: aload 3
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
astore 4
start local 4 4: iconst_m1
aload 4
ldc "<HTML"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
if_icmpne 10
5: ldc "<HTML>"
astore 1
6: ldc "</HTML>"
astore 2
7: iconst_m1
aload 4
ldc "<BODY"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
if_icmpne 10
8: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "<BODY>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
9: new java.lang.StringBuilder
dup
ldc "</BODY>"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
10: StackMap locals: byte[] java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "<!--StartFragment-->"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
11: new java.lang.StringBuilder
dup
ldc "<!--EndFragment-->"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
end local 4 end local 3 12: ldc "about:blank"
astore 3
start local 3 13: ldc "Version:"
invokevirtual java.lang.String.length:()I
ldc "1.0"
invokevirtual java.lang.String.length:()I
iadd
ldc "\r\n"
invokevirtual java.lang.String.length:()I
iadd
14: ldc "StartHTML:"
invokevirtual java.lang.String.length:()I
15: iadd
16: bipush 10
17: iadd
18: ldc "\r\n"
invokevirtual java.lang.String.length:()I
19: iadd
20: ldc "EndHTML:"
invokevirtual java.lang.String.length:()I
21: iadd
22: bipush 10
23: iadd
24: ldc "\r\n"
invokevirtual java.lang.String.length:()I
25: iadd
26: ldc "StartFragment:"
invokevirtual java.lang.String.length:()I
27: iadd
28: bipush 10
29: iadd
30: ldc "\r\n"
invokevirtual java.lang.String.length:()I
31: iadd
32: ldc "EndFragment:"
invokevirtual java.lang.String.length:()I
33: iadd
34: bipush 10
35: iadd
36: ldc "\r\n"
invokevirtual java.lang.String.length:()I
37: iadd
38: ldc "SourceURL:"
invokevirtual java.lang.String.length:()I
39: iadd
40: aload 3
invokevirtual java.lang.String.length:()I
41: iadd
42: ldc "\r\n"
invokevirtual java.lang.String.length:()I
43: iadd
44: istore 4
start local 4 45: iload 4
aload 1
invokevirtual java.lang.String.length:()I
iadd
istore 5
start local 5 46: iload 5
aload 0
arraylength
iadd
iconst_1
isub
istore 6
start local 6 47: iload 6
aload 2
invokevirtual java.lang.String.length:()I
iadd
istore 7
start local 7 48: new java.lang.StringBuilder
dup
49: iload 5
50: ldc "<!--StartFragment-->"
invokevirtual java.lang.String.length:()I
51: iadd
52: invokespecial java.lang.StringBuilder.<init>:(I)V
astore 8
start local 8 53: aload 8
ldc "Version:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
54: aload 8
ldc "1.0"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
55: aload 8
ldc "\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
56: aload 8
ldc "StartHTML:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
57: aload 8
iload 4
bipush 10
invokestatic com.sun.glass.ui.win.HTMLCodec.toPaddedString:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
58: aload 8
ldc "\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
59: aload 8
ldc "EndHTML:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
60: aload 8
iload 7
bipush 10
invokestatic com.sun.glass.ui.win.HTMLCodec.toPaddedString:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
61: aload 8
ldc "\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
62: aload 8
ldc "StartFragment:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
63: aload 8
iload 5
bipush 10
invokestatic com.sun.glass.ui.win.HTMLCodec.toPaddedString:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
64: aload 8
ldc "\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
65: aload 8
ldc "EndFragment:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
66: aload 8
iload 6
bipush 10
invokestatic com.sun.glass.ui.win.HTMLCodec.toPaddedString:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
67: aload 8
ldc "\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
68: aload 8
ldc "SourceURL:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
69: aload 8
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
70: aload 8
ldc "\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
71: aload 8
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
72: aconst_null
astore 9
start local 9 73: aconst_null
astore 10
start local 10 74: aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
astore 9
75: aload 2
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
astore 10
76: goto 79
StackMap locals: byte[] java.lang.String java.lang.String java.lang.String int int int int java.lang.StringBuilder byte[] byte[]
StackMap stack: java.io.UnsupportedEncodingException
77: pop
78: aconst_null
areturn
79: StackMap locals:
StackMap stack:
aload 9
arraylength
aload 0
arraylength
iadd
80: aload 10
arraylength
81: iadd
newarray 8
astore 11
start local 11 82: aload 9
iconst_0
aload 11
iconst_0
aload 9
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
83: aload 0
iconst_0
aload 11
aload 9
arraylength
84: aload 0
arraylength
iconst_1
isub
85: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
86: aload 10
iconst_0
aload 11
87: aload 9
arraylength
aload 0
arraylength
iadd
iconst_1
isub
88: aload 10
arraylength
89: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
90: aload 11
aload 11
arraylength
iconst_1
isub
iconst_0
bastore
91: aload 11
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 92 0 bytes [B
1 92 1 htmlPrefix Ljava/lang/String;
2 92 2 htmlSuffix Ljava/lang/String;
3 12 3 stContext Ljava/lang/String;
4 12 4 stUpContext Ljava/lang/String;
13 92 3 stBaseUrl Ljava/lang/String;
45 92 4 nStartHTML I
46 92 5 nStartFragment I
47 92 6 nEndFragment I
48 92 7 nEndHTML I
53 92 8 header Ljava/lang/StringBuilder;
73 92 9 headerBytes [B
74 92 10 trailerBytes [B
82 92 11 retval [B
Exception table:
from to target type
74 76 77 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
bytes
public void <init>(java.io.InputStream, com.sun.glass.ui.win.EHTMLReadMode);
descriptor: (Ljava/io/InputStream;Lcom/sun/glass/ui/win/EHTMLReadMode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
iconst_0
putfield com.sun.glass.ui.win.HTMLCodec.descriptionParsed:Z
2: aload 0
iconst_0
putfield com.sun.glass.ui.win.HTMLCodec.closed:Z
3: aload 0
new java.io.BufferedInputStream
dup
aload 1
sipush 8192
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
putfield com.sun.glass.ui.win.HTMLCodec.bufferedStream:Ljava/io/BufferedInputStream;
4: aload 0
aload 2
putfield com.sun.glass.ui.win.HTMLCodec.readMode:Lcom/sun/glass/ui/win/EHTMLReadMode;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/glass/ui/win/HTMLCodec;
0 6 1 _bytestream Ljava/io/InputStream;
0 6 2 _readMode Lcom/sun/glass/ui/win/EHTMLReadMode;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
_bytestream
_readMode
public synchronized java.lang.String getBaseURL();
descriptor: ()Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.win.HTMLCodec.descriptionParsed:Z
ifne 2
1: aload 0
invokevirtual com.sun.glass.ui.win.HTMLCodec.parseDescription:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.stBaseURL:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/win/HTMLCodec;
Exceptions:
throws java.io.IOException
public synchronized java.lang.String getVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.win.HTMLCodec.descriptionParsed:Z
ifne 2
1: aload 0
invokevirtual com.sun.glass.ui.win.HTMLCodec.parseDescription:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.stVersion:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/win/HTMLCodec;
Exceptions:
throws java.io.IOException
private void parseDescription();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=12, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.sun.glass.ui.win.HTMLCodec.stBaseURL:Ljava/lang/String;
1: aload 0
aconst_null
putfield com.sun.glass.ui.win.HTMLCodec.stVersion:Ljava/lang/String;
2: aload 0
3: aload 0
4: aload 0
5: aload 0
6: aload 0
7: aload 0
ldc -1
dup2_x1
putfield com.sun.glass.ui.win.HTMLCodec.iSelStart:J
8: dup2_x1
putfield com.sun.glass.ui.win.HTMLCodec.iSelEnd:J
9: dup2_x1
putfield com.sun.glass.ui.win.HTMLCodec.iFragStart:J
10: dup2_x1
putfield com.sun.glass.ui.win.HTMLCodec.iFragEnd:J
11: dup2_x1
putfield com.sun.glass.ui.win.HTMLCodec.iHTMLStart:J
12: putfield com.sun.glass.ui.win.HTMLCodec.iHTMLEnd:J
13: aload 0
getfield com.sun.glass.ui.win.HTMLCodec.bufferedStream:Ljava/io/BufferedInputStream;
sipush 8192
invokevirtual java.io.BufferedInputStream.mark:(I)V
14: bipush 8
anewarray java.lang.String
dup
iconst_0
15: ldc "Version:"
aastore
dup
iconst_1
16: ldc "StartHTML:"
aastore
dup
iconst_2
17: ldc "EndHTML:"
aastore
dup
iconst_3
18: ldc "StartFragment:"
aastore
dup
iconst_4
19: ldc "EndFragment:"
aastore
dup
iconst_5
20: ldc "StartSelection:"
aastore
dup
bipush 6
21: ldc "EndSelection:"
aastore
dup
bipush 7
22: ldc "SourceURL:"
aastore
23: astore 1
start local 1 24: new java.io.BufferedReader
dup
25: new java.io.InputStreamReader
dup
26: aload 0
getfield com.sun.glass.ui.win.HTMLCodec.bufferedStream:Ljava/io/BufferedInputStream;
27: ldc "UTF-8"
28: invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
29: sipush 2730
30: invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;I)V
astore 2
start local 2 31: lconst_0
lstore 3
start local 3 32: ldc "\r\n"
invokevirtual java.lang.String.length:()I
i2l
lstore 5
start local 5 33: aload 1
arraylength
istore 7
start local 7 34: iconst_0
istore 8
start local 8 35: goto 66
36: StackMap locals: com.sun.glass.ui.win.HTMLCodec java.lang.String[] java.io.BufferedReader long long int int
StackMap stack:
aload 2
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 9
start local 9 37: aload 9
ifnonnull 64
38: goto 67
39: StackMap locals: java.lang.String
StackMap stack:
aload 9
aload 1
iload 8
aaload
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 41
40: goto 63
41: StackMap locals:
StackMap stack:
lload 3
aload 9
invokevirtual java.lang.String.length:()I
i2l
lload 5
ladd
ladd
lstore 3
42: aload 9
aload 1
iload 8
aaload
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 10
start local 10 43: aload 10
ifnull 65
44: iload 8
tableswitch { // 0 - 7
0: 45
1: 47
2: 49
3: 51
4: 53
5: 55
6: 57
7: 59
default: 60
}
45: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 10
putfield com.sun.glass.ui.win.HTMLCodec.stVersion:Ljava/lang/String;
46: goto 65
47: StackMap locals:
StackMap stack:
aload 0
aload 10
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
i2l
putfield com.sun.glass.ui.win.HTMLCodec.iHTMLStart:J
48: goto 65
49: StackMap locals:
StackMap stack:
aload 0
aload 10
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
i2l
putfield com.sun.glass.ui.win.HTMLCodec.iHTMLEnd:J
50: goto 65
51: StackMap locals:
StackMap stack:
aload 0
aload 10
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
i2l
putfield com.sun.glass.ui.win.HTMLCodec.iFragStart:J
52: goto 65
53: StackMap locals:
StackMap stack:
aload 0
aload 10
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
i2l
putfield com.sun.glass.ui.win.HTMLCodec.iFragEnd:J
54: goto 65
55: StackMap locals:
StackMap stack:
aload 0
aload 10
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
i2l
putfield com.sun.glass.ui.win.HTMLCodec.iSelStart:J
56: goto 65
57: StackMap locals:
StackMap stack:
aload 0
aload 10
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
i2l
putfield com.sun.glass.ui.win.HTMLCodec.iSelEnd:J
58: goto 65
59: StackMap locals:
StackMap stack:
aload 0
aload 10
putfield com.sun.glass.ui.win.HTMLCodec.stBaseURL:Ljava/lang/String;
60: StackMap locals:
StackMap stack:
goto 65
StackMap locals:
StackMap stack: java.lang.NumberFormatException
61: astore 11
start local 11 62: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unable to parse HTML description: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iload 8
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " value "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " invalid"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 11 end local 10 63: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
64: iload 8
iload 7
if_icmplt 39
end local 9 65: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
66: iload 8
iload 7
if_icmplt 36
end local 8 67: StackMap locals:
StackMap stack:
ldc -1
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iHTMLStart:J
lcmp
ifne 69
68: aload 0
lload 3
putfield com.sun.glass.ui.win.HTMLCodec.iHTMLStart:J
69: StackMap locals:
StackMap stack:
ldc -1
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iFragStart:J
lcmp
ifne 71
70: aload 0
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iHTMLStart:J
putfield com.sun.glass.ui.win.HTMLCodec.iFragStart:J
71: StackMap locals:
StackMap stack:
ldc -1
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iFragEnd:J
lcmp
ifne 73
72: aload 0
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iHTMLEnd:J
putfield com.sun.glass.ui.win.HTMLCodec.iFragEnd:J
73: StackMap locals:
StackMap stack:
ldc -1
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iSelStart:J
lcmp
ifne 75
74: aload 0
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iFragStart:J
putfield com.sun.glass.ui.win.HTMLCodec.iSelStart:J
75: StackMap locals:
StackMap stack:
ldc -1
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iSelEnd:J
lcmp
ifne 77
76: aload 0
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iFragEnd:J
putfield com.sun.glass.ui.win.HTMLCodec.iSelEnd:J
77: StackMap locals:
StackMap stack:
invokestatic com.sun.glass.ui.win.HTMLCodec.$SWITCH_TABLE$com$sun$glass$ui$win$EHTMLReadMode:()[I
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.readMode:Lcom/sun/glass/ui/win/EHTMLReadMode;
invokevirtual com.sun.glass.ui.win.EHTMLReadMode.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 78
2: 81
3: 84
default: 84
}
78: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iHTMLStart:J
putfield com.sun.glass.ui.win.HTMLCodec.iStartOffset:J
79: aload 0
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iHTMLEnd:J
putfield com.sun.glass.ui.win.HTMLCodec.iEndOffset:J
80: goto 86
81: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iFragStart:J
putfield com.sun.glass.ui.win.HTMLCodec.iStartOffset:J
82: aload 0
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iFragEnd:J
putfield com.sun.glass.ui.win.HTMLCodec.iEndOffset:J
83: goto 86
84: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iSelStart:J
putfield com.sun.glass.ui.win.HTMLCodec.iStartOffset:J
85: aload 0
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iSelEnd:J
putfield com.sun.glass.ui.win.HTMLCodec.iEndOffset:J
86: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.bufferedStream:Ljava/io/BufferedInputStream;
invokevirtual java.io.BufferedInputStream.reset:()V
87: ldc -1
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iStartOffset:J
lcmp
ifne 89
88: new java.io.IOException
dup
ldc "Unable to parse HTML description: invalid HTML format."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
89: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 90: goto 92
91: StackMap locals: int
StackMap stack:
iload 8
i2l
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.bufferedStream:Ljava/io/BufferedInputStream;
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iStartOffset:J
iload 8
i2l
lsub
invokevirtual java.io.BufferedInputStream.skip:(J)J
ladd
l2i
istore 8
92: StackMap locals:
StackMap stack:
iload 8
i2l
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iStartOffset:J
lcmp
iflt 91
93: aload 0
iload 8
i2l
putfield com.sun.glass.ui.win.HTMLCodec.iReadCount:J
94: aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iStartOffset:J
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iReadCount:J
lcmp
ifeq 96
95: new java.io.IOException
dup
ldc "Unable to parse HTML description: Byte stream ends in description."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
96: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.glass.ui.win.HTMLCodec.descriptionParsed:Z
97: return
end local 8 end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 98 0 this Lcom/sun/glass/ui/win/HTMLCodec;
24 98 1 astEntries [Ljava/lang/String;
31 98 2 bufferedReader Ljava/io/BufferedReader;
32 98 3 iHeadSize J
33 98 5 iCRSize J
34 98 7 iEntCount I
35 67 8 iEntry I
37 65 9 stLine Ljava/lang/String;
43 63 10 stValue Ljava/lang/String;
62 63 11 e Ljava/lang/NumberFormatException;
90 98 8 curOffset I
Exception table:
from to target type
44 60 61 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
public synchronized int read();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.win.HTMLCodec.closed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "Stream closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.descriptionParsed:Z
ifne 4
3: aload 0
invokevirtual com.sun.glass.ui.win.HTMLCodec.parseDescription:()V
4: StackMap locals:
StackMap stack:
ldc -1
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iEndOffset:J
lcmp
ifeq 6
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iReadCount:J
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.iEndOffset:J
lcmp
iflt 6
5: iconst_m1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.win.HTMLCodec.bufferedStream:Ljava/io/BufferedInputStream;
invokevirtual java.io.BufferedInputStream.read:()I
istore 1
start local 1 7: iload 1
iconst_m1
if_icmpne 9
8: iconst_m1
ireturn
9: StackMap locals: int
StackMap stack:
aload 0
dup
getfield com.sun.glass.ui.win.HTMLCodec.iReadCount:J
lconst_1
ladd
putfield com.sun.glass.ui.win.HTMLCodec.iReadCount:J
10: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/glass/ui/win/HTMLCodec;
7 11 1 retval I
Exceptions:
throws java.io.IOException
public synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.win.HTMLCodec.closed:Z
ifne 3
1: aload 0
iconst_1
putfield com.sun.glass.ui.win.HTMLCodec.closed:Z
2: aload 0
getfield com.sun.glass.ui.win.HTMLCodec.bufferedStream:Ljava/io/BufferedInputStream;
invokevirtual java.io.BufferedInputStream.close:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/win/HTMLCodec;
Exceptions:
throws java.io.IOException
static int[] $SWITCH_TABLE$com$sun$glass$ui$win$EHTMLReadMode();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.glass.ui.win.HTMLCodec.$SWITCH_TABLE$com$sun$glass$ui$win$EHTMLReadMode:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.glass.ui.win.EHTMLReadMode.values:()[Lcom/sun/glass/ui/win/EHTMLReadMode;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.glass.ui.win.EHTMLReadMode.HTML_READ_ALL:Lcom/sun/glass/ui/win/EHTMLReadMode;
invokevirtual com.sun.glass.ui.win.EHTMLReadMode.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.sun.glass.ui.win.EHTMLReadMode.HTML_READ_FRAGMENT:Lcom/sun/glass/ui/win/EHTMLReadMode;
invokevirtual com.sun.glass.ui.win.EHTMLReadMode.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.glass.ui.win.EHTMLReadMode.HTML_READ_SELECTION:Lcom/sun/glass/ui/win/EHTMLReadMode;
invokevirtual com.sun.glass.ui.win.EHTMLReadMode.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic com.sun.glass.ui.win.HTMLCodec.$SWITCH_TABLE$com$sun$glass$ui$win$EHTMLReadMode:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "WinHTMLCodec.java"