
com.huawei.shade.com.alibaba.fastjson.util.IOUtils.class Maven / Gradle / Ivy
???? 1X 2com/huawei/shade/com/alibaba/fastjson/util/IOUtils java/lang/Object IOUtils.java 4com/huawei/shade/com/alibaba/fastjson/util/IOUtils$1 FASTJSON_PROPERTIES Ljava/lang/String; fastjson.properties
FASTJSON_COMPATIBLEWITHJAVABEAN fastjson.compatibleWithJavaBean
FASTJSON_COMPATIBLEWITHFIELDNAME fastjson.compatibleWithFieldName DEFAULT_PROPERTIES Ljava/util/Properties; UTF8 Ljava/nio/charset/Charset; DIGITS [C firstIdentifierFlags [Z identifierFlags specicalFlags_doubleQuotes [B specicalFlags_singleQuotes specicalFlags_doubleQuotesFlags specicalFlags_singleQuotesFlags replaceChars ASCII_CHARS digits DigitTens DigitOnes sizeTable [I CA IA ()V ) *
+ this 4Lcom/huawei/shade/com/alibaba/fastjson/util/IOUtils; getStringProperty &(Ljava/lang/String;)Ljava/lang/String; java/lang/SecurityException 1 java/lang/System 3 getProperty 5 0
4 6 8 java/util/Properties :
; 6 name prop loadPropertiesFromFile java/io/IOException @
+ java/security/AccessController C doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object; E F
D G java/io/InputStream I load (Ljava/io/InputStream;)V K L
; M close O *
J P imputStream Ljava/io/InputStream; (Ljava/io/Closeable;)V java/lang/Exception U java/io/Closeable W X P x Ljava/io/Closeable;
stringSize (J)I
i I J p getChars (JI[C)V ??? d $ j # l ?? " p q r q2 index buf charPos sign C i2 (II[C)V (BI[C)V b B (I)I % & ? decode N(Ljava/nio/charset/CharsetDecoder;Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)V )java/nio/charset/CharacterCodingException ? java/nio/charset/CharsetDecoder ? K(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult; ? ?
? ? java/nio/charset/CoderResult ? isUnderflow ()Z ? ?
? ? throwException ? *
? ? flush 5(Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult; ? ?
? ? 3com/huawei/shade/com/alibaba/fastjson/JSONException ? java/lang/StringBuilder ?
? + utf8 decode error, ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ?
getMessage ()Ljava/lang/String; ? ?
? ? toString ? ?
? ? *(Ljava/lang/String;Ljava/lang/Throwable;)V ) ?
? ? cr Ljava/nio/charset/CoderResult; +Ljava/nio/charset/CharacterCodingException; charsetDecoder !Ljava/nio/charset/CharsetDecoder; byteBuf Ljava/nio/ByteBuffer; charByte Ljava/nio/CharBuffer; firstIdentifier (C)Z ? ch isIdent ? decodeBase64 ([CII)[B ( & ? cc eLen j chars offset charsLen sIx eIx pad cCnt sepCnt len bytes d (Ljava/lang/String;II)[B java/lang/String ? charAt (I)C ? ?
? ? (Ljava/lang/String;)[B length ()I ? ?
? ? s sLen dArr
encodeUTF8 ([CII[B)I java/lang/Math ? min (II)I ? ?
? ? ? ? ? ??$ encodeUTF8 error ? (java/nio/charset/MalformedInputException ? (I)V ) ?
? ? uc ip c sl dp dlASCII
decodeUTF8 ([BII[C)I??? 8? ?? b2 isSurrogate Z b3 b4 b1 sa sp da readAll $(Ljava/io/Reader;)Ljava/lang/String; java/io/Reader read ([CII)I
([CII)Ljava/lang/StringBuilder; ?
? read string from reader error ex Ljava/lang/Exception; reader Ljava/io/Reader; Ljava/lang/StringBuilder; isValidJsonpQueryParam (Ljava/lang/String;)Z ? ?
value java/lang/Throwable
; + UTF-8" java/nio/charset/Charset$ forName .(Ljava/lang/String;)Ljava/nio/charset/Charset;&'
%( * , ? *
. 0 2 4 6 8 ! : ?? B? ?????;?????? @ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/B toCharArray ()[CDE
?F ' H java/util/ArraysJ fill ([II)VLM
KN iS
ConstantValue Code LocalVariableTable LineNumberTable
Deprecated
SourceFile InnerClasses ! Q Q Q ! " # $ % &