final class com.sun.xml.internal.org.jvnet.mimepull.LineInputStream extends java.io.FilterInputStream
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.org.jvnet.mimepull.LineInputStream
super_class: java.io.FilterInputStream
{
private char[] lineBuffer;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private static int MAX_INCR;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc 1048576
putstatic com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.MAX_INCR:I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
aconst_null
putfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.lineBuffer:[C
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/org/jvnet/mimepull/LineInputStream;
0 3 1 in Ljava/io/InputStream;
MethodParameters:
Name Flags
in
public java.lang.String readLine();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.lineBuffer:[C
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
sipush 128
newarray 5
dup_x1
putfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.lineBuffer:[C
astore 1
3: StackMap locals: char[]
StackMap stack:
aload 1
arraylength
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 36
start local 2 6: StackMap locals: int int int
StackMap stack:
iload 2
bipush 10
if_icmpne 8
7: goto 38
8: StackMap locals:
StackMap stack:
iload 2
bipush 13
if_icmpne 27
9: iconst_0
istore 5
start local 5 10: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.markSupported:()Z
ifeq 12
11: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.in:Ljava/io/InputStream;
iconst_2
invokevirtual java.io.InputStream.mark:(I)V
12: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 6
start local 6 13: iload 6
bipush 13
if_icmpne 16
14: iconst_1
istore 5
15: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 6
16: StackMap locals: int
StackMap stack:
iload 6
bipush 10
if_icmpeq 38
17: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.markSupported:()Z
ifeq 20
18: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
19: goto 38
20: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.in:Ljava/io/InputStream;
instanceof java.io.PushbackInputStream
ifne 22
21: aload 0
new java.io.PushbackInputStream
dup
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.in:Ljava/io/InputStream;
iconst_2
invokespecial java.io.PushbackInputStream.<init>:(Ljava/io/InputStream;I)V
putfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.in:Ljava/io/InputStream;
22: StackMap locals:
StackMap stack:
iload 6
iconst_m1
if_icmpeq 24
23: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.in:Ljava/io/InputStream;
checkcast java.io.PushbackInputStream
iload 6
invokevirtual java.io.PushbackInputStream.unread:(I)V
24: StackMap locals:
StackMap stack:
iload 5
ifeq 38
25: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.in:Ljava/io/InputStream;
checkcast java.io.PushbackInputStream
bipush 13
invokevirtual java.io.PushbackInputStream.unread:(I)V
26: goto 38
end local 6 end local 5 27: StackMap locals:
StackMap stack:
iinc 3 -1
iload 3
ifge 35
28: aload 1
arraylength
getstatic com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.MAX_INCR:I
if_icmpge 31
29: aload 1
arraylength
iconst_2
imul
newarray 5
astore 1
30: goto 32
31: StackMap locals:
StackMap stack:
aload 1
arraylength
getstatic com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.MAX_INCR:I
iadd
newarray 5
astore 1
32: StackMap locals:
StackMap stack:
aload 1
arraylength
iload 4
isub
iconst_1
isub
istore 3
33: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.lineBuffer:[C
iconst_0
aload 1
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
34: aload 0
aload 1
putfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.lineBuffer:[C
35: StackMap locals:
StackMap stack:
aload 1
iload 4
iinc 4 1
iload 2
i2c
castore
end local 2 36: StackMap locals: com.sun.xml.internal.org.jvnet.mimepull.LineInputStream char[] top int int
StackMap stack:
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.LineInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
dup
istore 2
start local 2 37: iconst_m1
if_icmpne 6
38: StackMap locals: com.sun.xml.internal.org.jvnet.mimepull.LineInputStream char[] int int int
StackMap stack:
iload 2
iconst_m1
if_icmpne 40
iload 4
ifne 40
39: aconst_null
areturn
40: StackMap locals:
StackMap stack:
aload 1
iconst_0
iload 4
invokestatic java.lang.String.copyValueOf:([CII)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lcom/sun/xml/internal/org/jvnet/mimepull/LineInputStream;
1 41 1 buf [C
6 36 2 c1 I
37 41 2 c1 I
4 41 3 room I
5 41 4 offset I
10 27 5 twoCRs Z
13 27 6 c2 I
Exceptions:
throws java.io.IOException
}
SourceFile: "LineInputStream.java"