com.groupbyinc.flux.common.netty.util.internal.StringUtil.class Maven / Gradle / Ivy
???? 2u 9com/groupbyinc/flux/common/netty/util/internal/StringUtil java/lang/Object StringUtil.java EMPTY_STRING Ljava/lang/String; NEWLINE DOUBLE_QUOTE C " COMMA , LINE_FEED
CARRIAGE_RETURN
TAB SPACE BYTE2HEX_PAD [Ljava/lang/String; BYTE2HEX_NOPAD CSV_NUMBER_ESCAPE_CHARACTERS I PACKAGE_SEPARATOR_CHAR . $assertionsDisabled Z ()V " #
$ this ;Lcom/groupbyinc/flux/common/netty/util/internal/StringUtil; substringAfter '(Ljava/lang/String;C)Ljava/lang/String; java/lang/String * indexOf (I)I , -
+ . substring (I)Ljava/lang/String; 0 1
+ 2 value delim pos commonSuffixOfLength ((Ljava/lang/String;Ljava/lang/String;I)Z length ()I 9 :
+ ;
regionMatches (ILjava/lang/String;II)Z = >
+ ? s p len byteToHexStringPadded E /(Ljava/lang/Appendable;I)Ljava/lang/Appendable; java/io/IOException H D 1
J java/lang/Appendable L append 0(Ljava/lang/CharSequence;)Ljava/lang/Appendable; N O M P @com/groupbyinc/flux/common/netty/util/internal/PlatformDependent R throwException (Ljava/lang/Throwable;)V T U
S V e Ljava/io/IOException; buf TT; Ljava/lang/Appendable; toHexStringPadded ([B)Ljava/lang/String; ([BII)Ljava/lang/String; ] _
` src [B java/lang/StringBuilder d (I)V " f
e g 2(Ljava/lang/Appendable;[BII)Ljava/lang/Appendable; ] i
j toString ()Ljava/lang/String; l m
e n offset 0(Ljava/lang/Appendable;[B)Ljava/lang/Appendable; dst D G
s i end byteToHexString x w 1
z toHexString | _
} | i
! ? java/lang/AssertionError ?
? $ w G
? endMinusOne remaining decodeHexNibble (C)I c
decodeHexByte (Ljava/lang/CharSequence;I)B java/lang/CharSequence ? charAt (I)C ? ? ? ? ? ?
? "java/lang/IllegalArgumentException ? )invalid hex byte '%s' at index %d of '%s' ? subSequence (II)Ljava/lang/CharSequence; ? ? ? ? java/lang/Integer ? valueOf (I)Ljava/lang/Integer; ? ?
? ? format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ? ?
+ ? (Ljava/lang/String;)V " ?
? ? Ljava/lang/CharSequence; hi lo
decodeHexDump (Ljava/lang/CharSequence;II)[B
e $ length: ? -(Ljava/lang/String;)Ljava/lang/StringBuilder; N ?
e ? (I)Ljava/lang/StringBuilder; N ?
e ? :com/groupbyinc/flux/common/netty/util/internal/EmptyArrays ? EMPTY_BYTES ? c ? ? c ? ?
? hexDump fromIndex bytes (Ljava/lang/CharSequence;)[B ? ; ? ?
? simpleClassName &(Ljava/lang/Object;)Ljava/lang/String; null_object ? getClass ()Ljava/lang/Class; ? ?
? %(Ljava/lang/Class;)Ljava/lang/String; ? ?
? o Ljava/lang/Object; clazz ? 9com/groupbyinc/flux/common/netty/util/internal/ObjectUtil ? checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ? ?
? ? java/lang/Class ? getName ? m
? ? lastIndexOf ? -
+ ? Ljava/lang/Class<*>; Ljava/lang/Class; className
lastDotIdx escapeCsv 2(Ljava/lang/CharSequence;)Ljava/lang/CharSequence; 3(Ljava/lang/CharSequence;Z)Ljava/lang/CharSequence; ? ?
? 4 indexOfFirstNonOwsChar (Ljava/lang/CharSequence;I)I ? ?
? indexOfLastNonOwsChar (Ljava/lang/CharSequence;II)I ? ?
?
isDoubleQuote (C)Z ? ?
? (C)Ljava/lang/StringBuilder; N ?
e ? 5(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder; N ?
e start last trimWhiteSpace firstUnescapedSpecial quoted result Ljava/lang/StringBuilder; unescapeCsv validateCsvFormat (Ljava/lang/CharSequence;)V
Ecom/groupbyinc/flux/common/netty/util/internal/InternalThreadLocalMap get I()Lcom/groupbyinc/flux/common/netty/util/internal/InternalThreadLocalMap;
stringBuilder ()Ljava/lang/StringBuilder;
"newInvalidEscapedCsvFieldException ?(Ljava/lang/CharSequence;I)Ljava/lang/IllegalArgumentException;
current unescaped unescapeCsvFields *(Ljava/lang/CharSequence;)Ljava/util/List; java/util/ArrayList
! g java/util/List# add (Ljava/lang/Object;)Z%&$' setLength) f
e*
e ; next *Ljava/util/List; Ljava/util/List; invalid escaped CSV field: 0 -(Ljava/lang/Object;)Ljava/lang/StringBuilder; N2
e3 index: 5 index (Ljava/lang/String;)I
isNullOrEmpty (Ljava/lang/String;)Z isEmpty ()Z;<
+= indexOfNonWhiteSpace java/lang/Character@ isWhitespaceB ?
AC seq isSurrogate ? ?? endsWith (Ljava/lang/CharSequence;C)Z trimOws isOwsL ?
M desiredAssertionStatusP<
?Q line.separatorS
U Acom/groupbyinc/flux/common/netty/util/internal/SystemPropertyUtilW 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;Y
XZ
\ 0^ ? 1
+` (C)Ljava/lang/String; ?b
+c | 1
?e str
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable Signature $(TT;I)TT; %(TT;[B)TT; '(TT;[BII)TT; ((Ljava/lang/Class<*>;)Ljava/lang/String; D(Ljava/lang/CharSequence;)Ljava/util/List;
SourceFile 1
h
h
h h h h h h h ! &