Class CodingErrorAction
java.lang.Object
java.nio.charset.CodingErrorAction
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CodingErrorAction
Action indicating that a coding error is to be handled by dropping the erroneous input and resuming the coding operation.static final CodingErrorAction
Action 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 final CodingErrorAction
Action indicating that a coding error is to be reported, either by returning aCoderResult
object or by throwing aCharacterCodingException
, whichever is appropriate for the method implementing the coding process. -
Method Summary
-
Field Details
-
IGNORE
Action indicating that a coding error is to be handled by dropping the erroneous input and resuming the coding operation. -
REPLACE
Action 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. -
REPORT
Action indicating that a coding error is to be reported, either by returning aCoderResult
object or by throwing aCharacterCodingException
, whichever is appropriate for the method implementing the coding process.
-
-
Method Details
-
toString
-