Instances of this class are used to specify how malformed-input and unmappable-character errors are to be handled by charset decoders and encoders.
Modifier and Type | Field and Description |
---|---|
public static final CodingErrorAction | IGNORE
Action indicating that a coding error is to be handled by dropping the erroneous input and resuming the coding operation. |
private String | |
public static final 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. |
public static final CodingErrorAction | REPORT
Action indicating that a coding error is to be reported, either by
returning a |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public String | Returns: A descriptive stringOverrides java. Returns a string describing this action. |
IGNORE | back to summary |
---|---|
public static final CodingErrorAction IGNORE Action indicating that a coding error is to be handled by dropping the erroneous input and resuming the coding operation. |
name | back to summary |
---|---|
private String name |
REPLACE | back to summary |
---|---|
public static final 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. |
REPORT | back to summary |
---|---|
public static final CodingErrorAction REPORT Action indicating that a coding error is to be reported, either by
returning a |
CodingErrorAction | back to summary |
---|---|
private CodingErrorAction(String name) |
toString | back to summary |
---|---|
public String toString() Overrides java. Returns a string describing this action.
|