| Package | Description |
|---|---|
| java.nio.charset |
| Modifier and Type | Field and Description |
|---|---|
static CodingErrorAction |
CodingErrorAction.IGNORE
Action indicating that a coding error is to be handled by dropping the
erroneous input and resuming the coding operation.
|
static CodingErrorAction |
CodingErrorAction.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.
|
static CodingErrorAction |
CodingErrorAction.REPORT
Action indicating that a coding error is to be reported, either by
returning a
CoderResult object or by throwing a CharacterCodingException, whichever is appropriate for the method
implementing the coding process. |
| Modifier and Type | Method and Description |
|---|---|
CodingErrorAction |
CharsetEncoder.malformedInputAction()
Returns this encoder's current action for malformed-input errors.
|
CodingErrorAction |
CharsetDecoder.malformedInputAction()
Returns this decoder's current action for malformed-input errors.
|
CodingErrorAction |
CharsetEncoder.unmappableCharacterAction()
Returns this encoder's current action for unmappable-character errors.
|
CodingErrorAction |
CharsetDecoder.unmappableCharacterAction()
Returns this decoder's current action for unmappable-character errors.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CharsetEncoder.implOnMalformedInput(CodingErrorAction newAction)
Reports a change to this encoder's malformed-input action.
|
protected void |
CharsetDecoder.implOnMalformedInput(CodingErrorAction newAction)
Reports a change to this decoder's malformed-input action.
|
protected void |
CharsetEncoder.implOnUnmappableCharacter(CodingErrorAction newAction)
Reports a change to this encoder's unmappable-character action.
|
protected void |
CharsetDecoder.implOnUnmappableCharacter(CodingErrorAction newAction)
Reports a change to this decoder's unmappable-character action.
|
CharsetEncoder |
CharsetEncoder.onMalformedInput(CodingErrorAction newAction)
Changes this encoder's action for malformed-input errors.
|
CharsetDecoder |
CharsetDecoder.onMalformedInput(CodingErrorAction newAction)
Changes this decoder's action for malformed-input errors.
|
CharsetEncoder |
CharsetEncoder.onUnmappableCharacter(CodingErrorAction newAction)
Changes this encoder's action for unmappable-character errors.
|
CharsetDecoder |
CharsetDecoder.onUnmappableCharacter(CodingErrorAction newAction)
Changes this decoder's action for unmappable-character errors.
|
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.