org.postgresql.core.Utils.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
???? 2 ?
[ \
]
^ _
`
a b
c d e f
g h
g i
g j k
g l
m
g n o p q
r s t u
v w x y z t {
|
} ~
? ? ? utf8Charset Ljava/nio/charset/Charset; ()V Code LineNumberTable LocalVariableTable this Lorg/postgresql/core/Utils; toHexString ([B)Ljava/lang/String; element B data [B sb Ljava/lang/StringBuilder;
StackMapTable / \
encodeUTF8 (Ljava/lang/String;)[B str Ljava/lang/String;
gbkCharset ?
escapeLiteral G(Ljava/lang/StringBuilder;Ljava/lang/String;Z)Ljava/lang/StringBuilder; sbuf value standardConformingStrings Z
Exceptions ? doAppendEscapedLiteral ,(Ljava/lang/Appendable;Ljava/lang/String;Z)V ch C i I e Ljava/io/IOException; Ljava/lang/Appendable; y escapeIdentifier F(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder; doAppendEscapedIdentifier +(Ljava/lang/Appendable;Ljava/lang/String;)V parseServerVersionStr (Ljava/lang/String;)I
serverVersion ?
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated;
SourceFile
Utils.java # $ java/lang/StringBuilder # ? ? * ? ? ? ? ? GBK ? ? ? ? ? 8 ? ? ? ? ? ? ? ! " ? ? C D ? ? !org/postgresql/util/PSQLException .Zero bytes may not occur in string parameters. java/lang/Object ? ? ? ? ? ? # ? ? ? ? java/io/IOException :No IOException expected from StringBuffer or StringBuilder ? ? # ? O P (Zero bytes may not occur in identifiers. ? Q R UTF-8 org/postgresql/core/Utils java/nio/charset/Charset java/sql/SQLException java/lang/NumberFormatException (I)V java/lang/Integer (I)Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; forName .(Ljava/lang/String;)Ljava/nio/charset/Charset; ,org/postgresql/core/v3/ConnectionFactoryImpl CLIENT_ENCODING java/lang/String toUpperCase equals (Ljava/lang/Object;)Z getBytes (Ljava/nio/charset/Charset;)[B length ()I charAt (I)C org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; org/postgresql/util/PSQLState INVALID_PARAMETER_VALUE Lorg/postgresql/util/PSQLState; 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V java/lang/Appendable (C)Ljava/lang/Appendable; UNEXPECTED_ERROR I(Ljava/lang/String;Lorg/postgresql/util/PSQLState;Ljava/lang/Throwable;)V !org/postgresql/core/ServerVersion ! ! " # $ % / *? ? &