| java.lang.Object java.nio.charset.CodingErrorAction
CodingErrorAction | public class CodingErrorAction (Code) | | Used to indicate what kind of actions to take in case of encoding/decoding
errors. Currently three actions are defined, namely, IGNORE, REPLACE and
REPORT.
|
Field Summary | |
final public static CodingErrorAction | IGNORE Indicating the action to ignore any errors. | final public static CodingErrorAction | REPLACE Indicating the action to fill in the output with a replacement character
when malformed input or an unmappable character is encountered. | final public static CodingErrorAction | REPORT Indicating the action to report the encountered error in an appropriate
manner, for example, throw an exception or return an informative result. |
Method Summary | |
public String | toString() Returns a text description of this action indication.. |
REPLACE | final public static CodingErrorAction REPLACE(Code) | | Indicating the action to fill in the output with a replacement character
when malformed input or an unmappable character is encountered.
|
REPORT | final public static CodingErrorAction REPORT(Code) | | Indicating the action to report the encountered error in an appropriate
manner, for example, throw an exception or return an informative result.
|
toString | public String toString()(Code) | | Returns a text description of this action indication..
a text description of this action indication. |
|
|