パッケージ org.postgresql.core
クラス EncodingPredictor
java.lang.Object
org.postgresql.core.EncodingPredictor
Predicts encoding for error messages based on some heuristics.
- For certain languages, it is known how "FATAL" is translated
- For Japanese, several common words are hardcoded
- Then try various LATIN encodings
-
ネストされたクラスの概要
ネストされたクラス修飾子とタイプクラス説明static class
In certain cases the encoding is not known for sure (e.g. before authentication). -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明static @Nullable EncodingPredictor.DecodeResult
decode
(byte[] bytes, int offset, int length)
-
コンストラクタの詳細
-
EncodingPredictor
public EncodingPredictor()
-
-
メソッドの詳細
-
decode
-