![JAR search and dependency download from the Maven repository](/logo.png)
com.huawei.opengauss.jdbc.util.WriterHandler.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opengaussjdbc Show documentation
Show all versions of opengaussjdbc Show documentation
HuaweiCloud JDBC for GaussDB
The newest version!
???? 4 k ,com/huawei/opengauss/jdbc/util/WriterHandler java/util/logging/Handler WriterHandler.java
doneHeader Z writer Ljava/io/Writer; (Ljava/io/Writer;)V ()V
java/util/logging/Level INFO Ljava/util/logging/Level; setLevel (Ljava/util/logging/Level;)V
setFilter (Ljava/util/logging/Filter;)V
!java/util/logging/SimpleFormatter
setFormatter (Ljava/util/logging/Formatter;)V !
" $ this .Lcom/huawei/opengauss/jdbc/util/WriterHandler; inWriter 0(Ljava/io/Writer;Ljava/util/logging/Formatter;)V formatter Ljava/util/logging/Formatter; publish (Ljava/util/logging/LogRecord;)V java/lang/Exception .
isLoggable (Ljava/util/logging/LogRecord;)Z 0 1
2 getFormatter ()Ljava/util/logging/Formatter; 4 5
6 java/util/logging/Formatter 8 format 1(Ljava/util/logging/LogRecord;)Ljava/lang/String; : ;
9 < reportError +(Ljava/lang/String;Ljava/lang/Exception;I)V > ?
@ java/lang/String B D getHead /(Ljava/util/logging/Handler;)Ljava/lang/String; F G
9 H java/io/Writer J write (Ljava/lang/String;)V L M
K N msg Ljava/lang/String; ex Ljava/lang/Exception; record Ljava/util/logging/LogRecord;
2 flush W
K X
flushAndClose java/lang/SecurityException [ getTail ] G
9 ^ close `
K a Z
c Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile !
e i !*? *? ? *? *? Y? ? #*+? %? f ! &