class sun.lwawt.macosx.HTMLDecodingInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.lwawt.macosx.HTMLDecodingInputStream
super_class: java.io.InputStream
{
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
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int end;
descriptor: I
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"
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
iconst_0
putfield sun.lwawt.macosx.HTMLDecodingInputStream.descriptionParsed:Z
2: aload 0
iconst_0
putfield sun.lwawt.macosx.HTMLDecodingInputStream.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 sun.lwawt.macosx.HTMLDecodingInputStream.bufferedStream:Ljava/io/BufferedInputStream;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/HTMLDecodingInputStream;
0 5 1 bytestream Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytestream
private void parseDescription();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.bufferedStream:Ljava/io/BufferedInputStream;
sipush 8192
invokevirtual java.io.BufferedInputStream.mark:(I)V
1: new java.io.BufferedReader
dup
2: new java.io.InputStreamReader
dup
aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.bufferedStream:Ljava/io/BufferedInputStream;
ldc "UTF-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
3: sipush 2730
4: invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;I)V
astore 1
start local 1 5: aload 1
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
start local 2 6: aload 2
ifnull 7
aload 2
ldc "Version:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 11
7: StackMap locals: java.io.BufferedReader java.lang.String
StackMap stack:
aload 0
iconst_0
putfield sun.lwawt.macosx.HTMLDecodingInputStream.index:I
8: aload 0
iconst_m1
putfield sun.lwawt.macosx.HTMLDecodingInputStream.end:I
9: aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.bufferedStream:Ljava/io/BufferedInputStream;
invokevirtual java.io.BufferedInputStream.reset:()V
10: return
11: StackMap locals:
StackMap stack:
iconst_0
dup
istore 7
start local 7 12: dup
istore 6
start local 6 13: dup
istore 5
start local 5 14: istore 4
start local 4 15: StackMap locals: sun.lwawt.macosx.HTMLDecodingInputStream java.io.BufferedReader java.lang.String top int int int int
StackMap stack:
aload 1
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 3
start local 3 16: aload 3
ifnonnull 19
17: aload 0
invokevirtual sun.lwawt.macosx.HTMLDecodingInputStream.close:()V
18: new java.io.IOException
dup
ldc "Unable to parse HTML description: "
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals: sun.lwawt.macosx.HTMLDecodingInputStream java.io.BufferedReader java.lang.String java.lang.String int int int int
StackMap stack:
aload 3
ldc "StartHTML:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 32
20: aload 3
ldc "StartHTML:"
invokevirtual java.lang.String.length:()I
21: aload 3
invokevirtual java.lang.String.length:()I
22: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
23: invokevirtual java.lang.String.trim:()Ljava/lang/String;
24: invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 8
start local 8 25: iload 8
iflt 29
26: aload 0
iload 8
putfield sun.lwawt.macosx.HTMLDecodingInputStream.index:I
27: iconst_1
istore 4
28: goto 70
StackMap locals: int
StackMap stack:
29: iload 8
iconst_m1
if_icmpeq 70
30: aload 0
invokevirtual sun.lwawt.macosx.HTMLDecodingInputStream.close:()V
31: new java.io.IOException
dup
ldc "Unable to parse HTML description: StartHTML: invalid"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 8 32: StackMap locals:
StackMap stack:
aload 3
ldc "EndHTML:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 45
33: aload 3
ldc "EndHTML:"
invokevirtual java.lang.String.length:()I
34: aload 3
invokevirtual java.lang.String.length:()I
35: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
36: invokevirtual java.lang.String.trim:()Ljava/lang/String;
37: invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 8
start local 8 38: iload 8
iflt 42
39: aload 0
iload 8
putfield sun.lwawt.macosx.HTMLDecodingInputStream.end:I
40: iconst_1
istore 5
41: goto 70
StackMap locals: int
StackMap stack:
42: iload 8
iconst_m1
if_icmpeq 70
43: aload 0
invokevirtual sun.lwawt.macosx.HTMLDecodingInputStream.close:()V
44: new java.io.IOException
dup
ldc "Unable to parse HTML description: EndHTML: invalid"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 8 45: StackMap locals:
StackMap stack:
iload 4
ifne 58
iload 5
ifne 58
46: aload 3
ldc "StartFragment:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 58
47: aload 0
48: aload 3
ldc "StartFragment:"
invokevirtual java.lang.String.length:()I
49: aload 3
invokevirtual java.lang.String.length:()I
50: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
51: invokevirtual java.lang.String.trim:()Ljava/lang/String;
52: invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield sun.lwawt.macosx.HTMLDecodingInputStream.index:I
53: aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.index:I
ifge 56
54: aload 0
invokevirtual sun.lwawt.macosx.HTMLDecodingInputStream.close:()V
55: new java.io.IOException
dup
ldc "Unable to parse HTML description: StartFragment: invalid"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
56: StackMap locals:
StackMap stack:
iconst_1
istore 6
57: goto 70
StackMap locals:
StackMap stack:
58: iload 4
ifne 70
iload 5
ifne 70
59: aload 3
ldc "EndFragment:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 70
60: aload 0
61: aload 3
ldc "EndFragment:"
invokevirtual java.lang.String.length:()I
62: aload 3
invokevirtual java.lang.String.length:()I
63: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
64: invokevirtual java.lang.String.trim:()Ljava/lang/String;
65: invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield sun.lwawt.macosx.HTMLDecodingInputStream.end:I
66: aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.end:I
ifge 69
67: aload 0
invokevirtual sun.lwawt.macosx.HTMLDecodingInputStream.close:()V
68: new java.io.IOException
dup
ldc "Unable to parse HTML description: EndFragment: invalid"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
69: StackMap locals:
StackMap stack:
iconst_1
istore 7
70: StackMap locals:
StackMap stack:
iload 4
ifeq 71
iload 5
ifne 76
71: StackMap locals:
StackMap stack:
iload 6
ifeq 15
iload 7
ifeq 15
72: goto 76
end local 3 StackMap locals: sun.lwawt.macosx.HTMLDecodingInputStream java.io.BufferedReader java.lang.String top int int int int
StackMap stack: java.lang.NumberFormatException
73: astore 8
start local 8 74: aload 0
invokevirtual sun.lwawt.macosx.HTMLDecodingInputStream.close:()V
75: 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 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 8 start local 3 76: StackMap locals: sun.lwawt.macosx.HTMLDecodingInputStream java.io.BufferedReader java.lang.String java.lang.String int int int int
StackMap stack:
aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.bufferedStream:Ljava/io/BufferedInputStream;
invokevirtual java.io.BufferedInputStream.reset:()V
77: iconst_0
istore 8
start local 8 78: goto 83
79: StackMap locals: int
StackMap stack:
aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.bufferedStream:Ljava/io/BufferedInputStream;
invokevirtual java.io.BufferedInputStream.read:()I
iconst_m1
if_icmpne 82
80: aload 0
invokevirtual sun.lwawt.macosx.HTMLDecodingInputStream.close:()V
81: 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
82: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
83: iload 8
aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.index:I
if_icmplt 79
end local 8 84: return
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 85 0 this Lsun/lwawt/macosx/HTMLDecodingInputStream;
5 85 1 bufferedReader Ljava/io/BufferedReader;
6 85 2 version Ljava/lang/String;
16 73 3 input Ljava/lang/String;
76 85 3 input Ljava/lang/String;
15 85 4 startHTML Z
14 85 5 endHTML Z
13 85 6 startFragment Z
12 85 7 endFragment Z
25 32 8 val I
38 45 8 val I
74 76 8 e Ljava/lang/NumberFormatException;
78 84 8 i I
Exception table:
from to target type
15 72 73 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.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 sun.lwawt.macosx.HTMLDecodingInputStream.descriptionParsed:Z
ifne 5
3: aload 0
invokevirtual sun.lwawt.macosx.HTMLDecodingInputStream.parseDescription:()V
4: aload 0
iconst_1
putfield sun.lwawt.macosx.HTMLDecodingInputStream.descriptionParsed:Z
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.end:I
iconst_m1
if_icmpeq 7
aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.index:I
aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.end:I
if_icmplt 7
6: iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.bufferedStream:Ljava/io/BufferedInputStream;
invokevirtual java.io.BufferedInputStream.read:()I
istore 1
start local 1 8: iload 1
iconst_m1
if_icmpne 11
9: aload 0
aload 0
iconst_0
dup_x1
putfield sun.lwawt.macosx.HTMLDecodingInputStream.end:I
putfield sun.lwawt.macosx.HTMLDecodingInputStream.index:I
10: iconst_m1
ireturn
11: StackMap locals: int
StackMap stack:
aload 0
dup
getfield sun.lwawt.macosx.HTMLDecodingInputStream.index:I
iconst_1
iadd
putfield sun.lwawt.macosx.HTMLDecodingInputStream.index:I
12: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/lwawt/macosx/HTMLDecodingInputStream;
8 13 1 retval I
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.closed:Z
ifne 3
1: aload 0
iconst_1
putfield sun.lwawt.macosx.HTMLDecodingInputStream.closed:Z
2: aload 0
getfield sun.lwawt.macosx.HTMLDecodingInputStream.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 Lsun/lwawt/macosx/HTMLDecodingInputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "CDataTransferer.java"