Android Reference
CodingErrorAction
java.nio.charset
Class CodingErrorAction
-
public class CodingErrorAction
extends Object
Used to indicate what kind of actions to take in case of encoding/decoding
errors. Currently three actions are defined: IGNORE
, REPLACE
and REPORT
.
-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
static CodingErrorAction |
IGNORE
Denotes the action to ignore any errors.
|
static CodingErrorAction |
REPLACE
Denotes the action to fill in the output with a replacement character
when malformed input or an unmappable character is encountered.
|
static 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.
|
-
Method Summary
Methods
Modifier and Type |
Method and Description |
String |
toString()
Returns a text description of this action indication.
|
-
-
Field Detail
-
REPORT
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.
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 13647 / 159220505. Delta: 0.04080 с