class org.apache.commons.lang3.StringEscapeUtils$CsvEscaper extends org.apache.commons.lang3.text.translate.CharSequenceTranslator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.lang3.StringEscapeUtils$CsvEscaper
super_class: org.apache.commons.lang3.text.translate.CharSequenceTranslator
{
private static final char CSV_DELIMITER;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 44
private static final char CSV_QUOTE;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 34
private static final java.lang.String CSV_QUOTE_STR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final char[] CSV_SEARCH_CHARS;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 34
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
putstatic org.apache.commons.lang3.StringEscapeUtils$CsvEscaper.CSV_QUOTE_STR:Ljava/lang/String;
1: iconst_4
newarray 5
dup
iconst_0
bipush 44
castore
dup
iconst_1
bipush 34
castore
dup
iconst_2
bipush 13
castore
dup
iconst_3
bipush 10
castore
putstatic org.apache.commons.lang3.StringEscapeUtils$CsvEscaper.CSV_SEARCH_CHARS:[C
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.commons.lang3.text.translate.CharSequenceTranslator.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/lang3/StringEscapeUtils$CsvEscaper;
public int translate(java.lang.CharSequence, int, java.io.Writer);
descriptor: (Ljava/lang/CharSequence;ILjava/io/Writer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "CsvEscaper should never reach the [1] index"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
getstatic org.apache.commons.lang3.StringEscapeUtils$CsvEscaper.CSV_SEARCH_CHARS:[C
invokestatic org.apache.commons.lang3.StringUtils.containsNone:(Ljava/lang/CharSequence;[C)Z
ifeq 5
3: aload 3
aload 1
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
4: goto 8
5: StackMap locals:
StackMap stack:
aload 3
bipush 34
invokevirtual java.io.Writer.write:(I)V
6: aload 3
aload 1
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
getstatic org.apache.commons.lang3.StringEscapeUtils$CsvEscaper.CSV_QUOTE_STR:Ljava/lang/String;
new java.lang.StringBuilder
dup
getstatic org.apache.commons.lang3.StringEscapeUtils$CsvEscaper.CSV_QUOTE_STR:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.apache.commons.lang3.StringEscapeUtils$CsvEscaper.CSV_QUOTE_STR:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.apache.commons.lang3.StringUtils.replace:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
7: aload 3
bipush 34
invokevirtual java.io.Writer.write:(I)V
8: StackMap locals:
StackMap stack:
aload 1
iconst_0
aload 1
invokeinterface java.lang.CharSequence.length:()I
invokestatic java.lang.Character.codePointCount:(Ljava/lang/CharSequence;II)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/lang3/StringEscapeUtils$CsvEscaper;
0 9 1 input Ljava/lang/CharSequence;
0 9 2 index I
0 9 3 out Ljava/io/Writer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input final
index final
out final
}
SourceFile: "StringEscapeUtils.java"
NestHost: org.apache.commons.lang3.StringEscapeUtils
InnerClasses:
CsvEscaper = org.apache.commons.lang3.StringEscapeUtils$CsvEscaper of org.apache.commons.lang3.StringEscapeUtils