public class org.apache.batik.util.io.StreamNormalizingReader extends org.apache.batik.util.io.NormalizingReader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.batik.util.io.StreamNormalizingReader
super_class: org.apache.batik.util.io.NormalizingReader
{
protected org.apache.batik.util.io.CharDecoder charDecoder;
descriptor: Lorg/apache/batik/util/io/CharDecoder;
flags: (0x0004) ACC_PROTECTED
protected int nextChar;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int line;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int column;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected static final java.util.Map charDecoderFactories;
descriptor: Ljava/util/Map;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: new java.util.HashMap
dup
bipush 11
invokespecial java.util.HashMap.<init>:(I)V
putstatic org.apache.batik.util.io.StreamNormalizingReader.charDecoderFactories:Ljava/util/Map;
1: new org.apache.batik.util.io.StreamNormalizingReader$ASCIIDecoderFactory
dup
invokespecial org.apache.batik.util.io.StreamNormalizingReader$ASCIIDecoderFactory.<init>:()V
astore 0
start local 0 2: getstatic org.apache.batik.util.io.StreamNormalizingReader.charDecoderFactories:Ljava/util/Map;
ldc "ASCII"
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: getstatic org.apache.batik.util.io.StreamNormalizingReader.charDecoderFactories:Ljava/util/Map;
ldc "US-ASCII"
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: getstatic org.apache.batik.util.io.StreamNormalizingReader.charDecoderFactories:Ljava/util/Map;
ldc "ISO-8859-1"
new org.apache.batik.util.io.StreamNormalizingReader$ISO_8859_1DecoderFactory
dup
invokespecial org.apache.batik.util.io.StreamNormalizingReader$ISO_8859_1DecoderFactory.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: getstatic org.apache.batik.util.io.StreamNormalizingReader.charDecoderFactories:Ljava/util/Map;
ldc "UTF-8"
new org.apache.batik.util.io.StreamNormalizingReader$UTF8DecoderFactory
dup
invokespecial org.apache.batik.util.io.StreamNormalizingReader$UTF8DecoderFactory.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: getstatic org.apache.batik.util.io.StreamNormalizingReader.charDecoderFactories:Ljava/util/Map;
ldc "UTF-16"
new org.apache.batik.util.io.StreamNormalizingReader$UTF16DecoderFactory
dup
invokespecial org.apache.batik.util.io.StreamNormalizingReader$UTF16DecoderFactory.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 0 7: return
LocalVariableTable:
Start End Slot Name Signature
2 7 0 cdf Lorg/apache/batik/util/io/StreamNormalizingReader$CharDecoderFactory;
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.apache.batik.util.io.StreamNormalizingReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/batik/util/io/StreamNormalizingReader;
0 2 1 is Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
public void <init>(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.apache.batik.util.io.NormalizingReader.<init>:()V
1: aload 0
iconst_m1
putfield org.apache.batik.util.io.StreamNormalizingReader.nextChar:I
2: aload 0
iconst_1
putfield org.apache.batik.util.io.StreamNormalizingReader.line:I
3: aload 2
ifnonnull 5
4: ldc "ISO-8859-1"
astore 2
5: StackMap locals: org.apache.batik.util.io.StreamNormalizingReader java.io.InputStream java.lang.String
StackMap stack:
aload 0
aload 0
aload 1
aload 2
invokevirtual org.apache.batik.util.io.StreamNormalizingReader.createCharDecoder:(Ljava/io/InputStream;Ljava/lang/String;)Lorg/apache/batik/util/io/CharDecoder;
putfield org.apache.batik.util.io.StreamNormalizingReader.charDecoder:Lorg/apache/batik/util/io/CharDecoder;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/batik/util/io/StreamNormalizingReader;
0 7 1 is Ljava/io/InputStream;
0 7 2 enc Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
enc
public void <init>(java.io.Reader);
descriptor: (Ljava/io/Reader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.batik.util.io.NormalizingReader.<init>:()V
1: aload 0
iconst_m1
putfield org.apache.batik.util.io.StreamNormalizingReader.nextChar:I
2: aload 0
iconst_1
putfield org.apache.batik.util.io.StreamNormalizingReader.line:I
3: aload 0
new org.apache.batik.util.io.GenericDecoder
dup
aload 1
invokespecial org.apache.batik.util.io.GenericDecoder.<init>:(Ljava/io/Reader;)V
putfield org.apache.batik.util.io.StreamNormalizingReader.charDecoder:Lorg/apache/batik/util/io/CharDecoder;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/batik/util/io/StreamNormalizingReader;
0 5 1 r Ljava/io/Reader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
r
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.batik.util.io.NormalizingReader.<init>:()V
1: aload 0
iconst_m1
putfield org.apache.batik.util.io.StreamNormalizingReader.nextChar:I
2: aload 0
iconst_1
putfield org.apache.batik.util.io.StreamNormalizingReader.line:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/batik/util/io/StreamNormalizingReader;
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.util.io.StreamNormalizingReader.nextChar:I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpeq 9
2: aload 0
iconst_m1
putfield org.apache.batik.util.io.StreamNormalizingReader.nextChar:I
3: iload 1
bipush 13
if_icmpne 7
4: aload 0
iconst_0
putfield org.apache.batik.util.io.StreamNormalizingReader.column:I
5: aload 0
dup
getfield org.apache.batik.util.io.StreamNormalizingReader.line:I
iconst_1
iadd
putfield org.apache.batik.util.io.StreamNormalizingReader.line:I
6: goto 8
7: StackMap locals: int
StackMap stack:
aload 0
dup
getfield org.apache.batik.util.io.StreamNormalizingReader.column:I
iconst_1
iadd
putfield org.apache.batik.util.io.StreamNormalizingReader.column:I
8: StackMap locals:
StackMap stack:
iload 1
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.util.io.StreamNormalizingReader.charDecoder:Lorg/apache/batik/util/io/CharDecoder;
invokeinterface org.apache.batik.util.io.CharDecoder.readChar:()I
istore 1
10: iload 1
tableswitch { // 10 - 13
10: 18
11: 20
12: 20
13: 11
default: 20
}
11: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.apache.batik.util.io.StreamNormalizingReader.column:I
12: aload 0
dup
getfield org.apache.batik.util.io.StreamNormalizingReader.line:I
iconst_1
iadd
putfield org.apache.batik.util.io.StreamNormalizingReader.line:I
13: aload 0
getfield org.apache.batik.util.io.StreamNormalizingReader.charDecoder:Lorg/apache/batik/util/io/CharDecoder;
invokeinterface org.apache.batik.util.io.CharDecoder.readChar:()I
istore 2
start local 2 14: iload 2
bipush 10
if_icmpne 16
15: bipush 10
ireturn
16: StackMap locals: int
StackMap stack:
aload 0
iload 2
putfield org.apache.batik.util.io.StreamNormalizingReader.nextChar:I
17: bipush 10
ireturn
end local 2 18: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.apache.batik.util.io.StreamNormalizingReader.column:I
19: aload 0
dup
getfield org.apache.batik.util.io.StreamNormalizingReader.line:I
iconst_1
iadd
putfield org.apache.batik.util.io.StreamNormalizingReader.line:I
20: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/batik/util/io/StreamNormalizingReader;
1 21 1 result I
14 18 2 c I
Exceptions:
throws java.io.IOException
public int getLine();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.util.io.StreamNormalizingReader.line:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/util/io/StreamNormalizingReader;
public int getColumn();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.util.io.StreamNormalizingReader.column:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/util/io/StreamNormalizingReader;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.util.io.StreamNormalizingReader.charDecoder:Lorg/apache/batik/util/io/CharDecoder;
invokeinterface org.apache.batik.util.io.CharDecoder.dispose:()V
1: aload 0
aconst_null
putfield org.apache.batik.util.io.StreamNormalizingReader.charDecoder:Lorg/apache/batik/util/io/CharDecoder;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/util/io/StreamNormalizingReader;
Exceptions:
throws java.io.IOException
protected org.apache.batik.util.io.CharDecoder createCharDecoder(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)Lorg/apache/batik/util/io/CharDecoder;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.batik.util.io.StreamNormalizingReader.charDecoderFactories:Ljava/util/Map;
aload 2
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.batik.util.io.StreamNormalizingReader$CharDecoderFactory
1: astore 3
start local 3 2: aload 3
ifnull 4
3: aload 3
aload 1
invokeinterface org.apache.batik.util.io.StreamNormalizingReader$CharDecoderFactory.createCharDecoder:(Ljava/io/InputStream;)Lorg/apache/batik/util/io/CharDecoder;
areturn
4: StackMap locals: org.apache.batik.util.io.StreamNormalizingReader$CharDecoderFactory
StackMap stack:
aload 2
invokestatic org.apache.batik.util.EncodingUtilities.javaEncoding:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 5: aload 4
ifnonnull 7
6: aload 2
astore 4
7: StackMap locals: java.lang.String
StackMap stack:
new org.apache.batik.util.io.GenericDecoder
dup
aload 1
aload 4
invokespecial org.apache.batik.util.io.GenericDecoder.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/batik/util/io/StreamNormalizingReader;
0 8 1 is Ljava/io/InputStream;
0 8 2 enc Ljava/lang/String;
2 8 3 cdf Lorg/apache/batik/util/io/StreamNormalizingReader$CharDecoderFactory;
5 8 4 e Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
enc
}
SourceFile: "StreamNormalizingReader.java"
NestMembers:
org.apache.batik.util.io.StreamNormalizingReader$ASCIIDecoderFactory org.apache.batik.util.io.StreamNormalizingReader$CharDecoderFactory org.apache.batik.util.io.StreamNormalizingReader$ISO_8859_1DecoderFactory org.apache.batik.util.io.StreamNormalizingReader$UTF16DecoderFactory org.apache.batik.util.io.StreamNormalizingReader$UTF8DecoderFactory
InnerClasses:
protected ASCIIDecoderFactory = org.apache.batik.util.io.StreamNormalizingReader$ASCIIDecoderFactory of org.apache.batik.util.io.StreamNormalizingReader
protected abstract CharDecoderFactory = org.apache.batik.util.io.StreamNormalizingReader$CharDecoderFactory of org.apache.batik.util.io.StreamNormalizingReader
protected ISO_8859_1DecoderFactory = org.apache.batik.util.io.StreamNormalizingReader$ISO_8859_1DecoderFactory of org.apache.batik.util.io.StreamNormalizingReader
protected UTF16DecoderFactory = org.apache.batik.util.io.StreamNormalizingReader$UTF16DecoderFactory of org.apache.batik.util.io.StreamNormalizingReader
protected UTF8DecoderFactory = org.apache.batik.util.io.StreamNormalizingReader$UTF8DecoderFactory of org.apache.batik.util.io.StreamNormalizingReader