クラス
java.nio.charset.CodingErrorActionの使用
CodingErrorActionを使用するパッケージ
-
java.nio.charsetでのCodingErrorActionの使用
CodingErrorActionとして宣言されたjava.nio.charsetのフィールド修飾子と型フィールド説明static CodingErrorAction
CodingErrorAction.IGNORE
コーディング・エラーの処理として、エラー入力を破棄してコーディング処理を再開することを示すアクションです。static CodingErrorAction
CodingErrorAction.REPLACE
コーディング・エラーの処理として、エラー入力を破棄し、出力バッファにコーダーの置換値を追加し、コーディング処理を再開することを示すアクションです。static CodingErrorAction
CodingErrorAction.REPORT
CoderResult
オブジェクトを返す方法とCharacterCodingException
をスローする方法のうち、コーディング・プロセスを実装するメソッドにとって適切な方法でコーディング・エラーを報告することを示すアクションです。修飾子と型メソッド説明CharsetDecoder.malformedInputAction()
不正入力エラーに対する、このデコーダの現在のアクションを返します。CharsetEncoder.malformedInputAction()
不正入力エラーに対する、このエンコーダの現在のアクションを返します。CharsetDecoder.unmappableCharacterAction()
マップ不可文字エラーに対する、このデコーダの現在のアクションを返します。CharsetEncoder.unmappableCharacterAction()
マップ不可文字エラーに対する、このエンコーダの現在のアクションを返します。型CodingErrorActionのパラメータを持つjava.nio.charsetのメソッド修飾子と型メソッド説明protected void
CharsetDecoder.implOnMalformedInput(CodingErrorAction newAction)
不正入力エラーに対する、このデコーダのアクションが変更されたことを報告します。protected void
CharsetEncoder.implOnMalformedInput(CodingErrorAction newAction)
不正入力エラーに対する、このエンコーダのアクションが変更されたことを報告します。protected void
CharsetDecoder.implOnUnmappableCharacter(CodingErrorAction newAction)
マップできない文字エラーに対する、このデコーダのアクションが変更されたことを報告します。protected void
CharsetEncoder.implOnUnmappableCharacter(CodingErrorAction newAction)
マップ不可文字エラーに対する、このエンコーダのアクションが変更されたことを報告します。CharsetDecoder.onMalformedInput(CodingErrorAction newAction)
不正入力エラーに対するこのデコーダのアクションを変更します。CharsetEncoder.onMalformedInput(CodingErrorAction newAction)
不正入力エラーに対する、このエンコーダのアクションを変更します。CharsetDecoder.onUnmappableCharacter(CodingErrorAction newAction)
マップできない文字エラーに対する、このデコーダのアクションを変更します。CharsetEncoder.onUnmappableCharacter(CodingErrorAction newAction)
マップ不可文字エラーに対する、このエンコーダのアクションを変更します。