Uses of Class
java.nio.charset.CodingErrorAction
-
Packages that use CodingErrorAction Package Description java.nio.charset Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. -
-
Uses of CodingErrorAction in java.nio.charset
Fields in java.nio.charset declared as CodingErrorAction Modifier and Type Field Description static CodingErrorActionCodingErrorAction. IGNOREAction indicating that a coding error is to be handled by dropping the erroneous input and resuming the coding operation.static CodingErrorActionCodingErrorAction. REPLACEAction indicating that a coding error is to be handled by dropping the erroneous input, appending the coder's replacement value to the output buffer, and resuming the coding operation.static CodingErrorActionCodingErrorAction. REPORTAction indicating that a coding error is to be reported, either by returning aCoderResultobject or by throwing aCharacterCodingException, whichever is appropriate for the method implementing the coding process.Methods in java.nio.charset that return CodingErrorAction Modifier and Type Method Description CodingErrorActionCharsetDecoder. malformedInputAction()Returns this decoder's current action for malformed-input errors.CodingErrorActionCharsetEncoder. malformedInputAction()Returns this encoder's current action for malformed-input errors.CodingErrorActionCharsetDecoder. unmappableCharacterAction()Returns this decoder's current action for unmappable-character errors.CodingErrorActionCharsetEncoder. unmappableCharacterAction()Returns this encoder's current action for unmappable-character errors.Methods in java.nio.charset with parameters of type CodingErrorAction Modifier and Type Method Description protected voidCharsetDecoder. implOnMalformedInput(CodingErrorAction newAction)Reports a change to this decoder's malformed-input action.protected voidCharsetEncoder. implOnMalformedInput(CodingErrorAction newAction)Reports a change to this encoder's malformed-input action.protected voidCharsetDecoder. implOnUnmappableCharacter(CodingErrorAction newAction)Reports a change to this decoder's unmappable-character action.protected voidCharsetEncoder. implOnUnmappableCharacter(CodingErrorAction newAction)Reports a change to this encoder's unmappable-character action.CharsetDecoderCharsetDecoder. onMalformedInput(CodingErrorAction newAction)Changes this decoder's action for malformed-input errors.CharsetEncoderCharsetEncoder. onMalformedInput(CodingErrorAction newAction)Changes this encoder's action for malformed-input errors.CharsetDecoderCharsetDecoder. onUnmappableCharacter(CodingErrorAction newAction)Changes this decoder's action for unmappable-character errors.CharsetEncoderCharsetEncoder. onUnmappableCharacter(CodingErrorAction newAction)Changes this encoder's action for unmappable-character errors.
-