public abstract class sun.io.ByteToCharConverter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.io.ByteToCharConverter
super_class: java.lang.Object
{
protected boolean subMode;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected char[] subChars;
descriptor: [C
flags: (0x0004) ACC_PROTECTED
protected int charOff;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int byteOff;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int badInputLength;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield sun.io.ByteToCharConverter.subMode:Z
2: aload 0
iconst_1
newarray 5
dup
iconst_0
ldc 65533
castore
putfield sun.io.ByteToCharConverter.subChars:[C
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/io/ByteToCharConverter;
public static sun.io.ByteToCharConverter getDefault();
descriptor: ()Lsun/io/ByteToCharConverter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: iconst_0
invokestatic sun.io.Converters.newDefaultConverter:(I)Ljava/lang/Object;
astore 0
start local 0 1: aload 0
checkcast sun.io.ByteToCharConverter
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 cvt Ljava/lang/Object;
public static sun.io.ByteToCharConverter getConverter(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/io/ByteToCharConverter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
aload 0
invokestatic sun.io.Converters.newConverter:(ILjava/lang/String;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
checkcast sun.io.ByteToCharConverter
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 encoding Ljava/lang/String;
1 2 1 cvt Ljava/lang/Object;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
encoding
public abstract java.lang.String getCharacterEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int convert(byte[], int, int, char[], int, int);
descriptor: ([BII[CII)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.io.MalformedInputException, sun.io.UnknownCharacterException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
input
inStart
inEnd
output
outStart
outEnd
public char[] convertAll(byte[]);
descriptor: ([B)[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.io.ByteToCharConverter.reset:()V
1: aload 0
getfield sun.io.ByteToCharConverter.subMode:Z
istore 2
start local 2 2: aload 0
iconst_1
putfield sun.io.ByteToCharConverter.subMode:Z
3: aload 0
invokevirtual sun.io.ByteToCharConverter.getMaxCharsPerByte:()I
aload 1
arraylength
imul
newarray 5
astore 3
start local 3 4: aload 0
aload 1
iconst_0
aload 1
arraylength
5: aload 3
iconst_0
aload 3
arraylength
6: invokevirtual sun.io.ByteToCharConverter.convert:([BII[CII)I
istore 4
start local 4 7: iload 4
aload 0
aload 3
iload 4
aload 3
arraylength
invokevirtual sun.io.ByteToCharConverter.flush:([CII)I
iadd
istore 4
8: iload 4
newarray 5
astore 5
start local 5 9: aload 3
iconst_0
aload 5
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 5
astore 7
11: aload 0
iload 2
putfield sun.io.ByteToCharConverter.subMode:Z
12: aload 7
areturn
end local 5 end local 4 13: StackMap locals: sun.io.ByteToCharConverter byte[] int char[]
StackMap stack: sun.io.ConversionBufferFullException
pop
14: new java.lang.InternalError
dup
ldc "this.getMaxCharsBerByte returned bad value"
15: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack: sun.io.UnknownCharacterException
pop
17: new java.lang.InternalError
dup
invokespecial java.lang.InternalError.<init>:()V
athrow
18: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
19: aload 0
iload 2
putfield sun.io.ByteToCharConverter.subMode:Z
20: aload 6
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/io/ByteToCharConverter;
0 21 1 input [B
2 21 2 savedSubMode Z
4 21 3 output [C
7 13 4 outputLength I
9 13 5 returnedOutput [C
Exception table:
from to target type
4 11 13 Class sun.io.ConversionBufferFullException
4 11 16 Class sun.io.UnknownCharacterException
4 11 18 any
13 18 18 any
Exceptions:
throws sun.io.MalformedInputException
MethodParameters:
Name Flags
input
public abstract int flush(char[], int, int);
descriptor: ([CII)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.io.MalformedInputException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
output
outStart
outEnd
public abstract void reset();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public int getMaxCharsPerByte();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/ByteToCharConverter;
public int getBadInputLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.io.ByteToCharConverter.badInputLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/ByteToCharConverter;
public int nextCharIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.io.ByteToCharConverter.charOff:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/ByteToCharConverter;
public int nextByteIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.io.ByteToCharConverter.byteOff:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/ByteToCharConverter;
public void setSubstitutionMode(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.io.ByteToCharConverter.subMode:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/io/ByteToCharConverter;
0 2 1 doSub Z
MethodParameters:
Name Flags
doSub
public void setSubstitutionChars(char[]);
descriptor: ([C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
arraylength
aload 0
invokevirtual sun.io.ByteToCharConverter.getMaxCharsPerByte:()I
if_icmple 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
arraylength
newarray 5
putfield sun.io.ByteToCharConverter.subChars:[C
3: aload 1
iconst_0
aload 0
getfield sun.io.ByteToCharConverter.subChars:[C
iconst_0
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/io/ByteToCharConverter;
0 5 1 c [C
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
c
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ByteToCharConverter: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.io.ByteToCharConverter.getCharacterEncoding:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/ByteToCharConverter;
}
SourceFile: "ByteToCharConverter.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()