Uses of Class
java.nio.charset.CodingErrorAction
| Package | Description |
|---|---|
| java.nio.charset |
-
Uses of CodingErrorAction in java.nio.charset
Fields in java.nio.charset declared as CodingErrorAction Modifier and Type Field Description static CodingErrorActionCodingErrorAction. IGNOREDenotes the action to ignore any errors.static CodingErrorActionCodingErrorAction. REPLACEDenotes the action to fill in the output with a replacement character when malformed input or an unmappable character is encountered.static CodingErrorActionCodingErrorAction. REPORTDenotes the action to report the encountered error in an appropriate manner, for example to throw an exception or return an informative result.Methods in java.nio.charset that return CodingErrorAction Modifier and Type Method Description CodingErrorActionCharsetDecoder. malformedInputAction()Returns this decoder'sCodingErrorActionwhen malformed input occurred during the decoding process.CodingErrorActionCharsetEncoder. malformedInputAction()Returns this encoder'sCodingErrorActionwhen a malformed input error occurred during the encoding process.CodingErrorActionCharsetDecoder. unmappableCharacterAction()Returns this decoder'sCodingErrorActionwhen an unmappable character error occurred during the decoding process.CodingErrorActionCharsetEncoder. unmappableCharacterAction()Returns this encoder'sCodingErrorActionwhen unmappable character occurred during encoding process.Methods in java.nio.charset with parameters of type CodingErrorAction Modifier and Type Method Description protected voidCharsetDecoder. implOnMalformedInput(CodingErrorAction newAction)Notifies that this decoder'sCodingErrorActionspecified for malformed input error has been changed.protected voidCharsetEncoder. implOnMalformedInput(CodingErrorAction newAction)Notifies that this encoder'sCodingErrorActionspecified for malformed input error has been changed.protected voidCharsetDecoder. implOnUnmappableCharacter(CodingErrorAction newAction)Notifies that this decoder'sCodingErrorActionspecified for unmappable character error has been changed.protected voidCharsetEncoder. implOnUnmappableCharacter(CodingErrorAction newAction)Notifies that this encoder'sCodingErrorActionspecified for unmappable character error has been changed.CharsetDecoderCharsetDecoder. onMalformedInput(CodingErrorAction newAction)Sets this decoder's action on malformed input errors.CharsetEncoderCharsetEncoder. onMalformedInput(CodingErrorAction newAction)Sets this encoder's action on malformed input error.CharsetDecoderCharsetDecoder. onUnmappableCharacter(CodingErrorAction newAction)Sets this decoder's action on unmappable character errors.CharsetEncoderCharsetEncoder. onUnmappableCharacter(CodingErrorAction newAction)Sets this encoder's action on unmappable character error.