Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

CodingErrorAction

extends Object
java.lang.Object
   ↳ java.nio.charset.CodingErrorAction

Class Overview

Used to indicate what kind of actions to take in case of encoding/decoding errors. Currently three actions are defined: IGNORE , REPLACE and REPORT .

Summary

Fields
public static final CodingErrorAction IGNORE Denotes the action to ignore any errors.
public static final CodingErrorAction REPLACE Denotes the action to fill in the output with a replacement character when malformed input or an unmappable character is encountered.
public static final CodingErrorAction REPORT Denotes the action to report the encountered error in an appropriate manner, for example to throw an exception or return an informative result.
Public Methods
String toString ()
Returns a text description of this action indication.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final CodingErrorAction IGNORE

Added in API level 1

Denotes the action to ignore any errors.

public static final CodingErrorAction REPLACE

Added in API level 1

Denotes the action to fill in the output with a replacement character when malformed input or an unmappable character is encountered.

public static final CodingErrorAction REPORT

Added in API level 1

Denotes the action to report the encountered error in an appropriate manner, for example to throw an exception or return an informative result.

Public Methods

public String toString ()

Added in API level 1

Returns a text description of this action indication.

Returns
  • a text description of this action indication.