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