public class CodingErrorAction extends Object
Modifier and Type | Field and Description |
---|---|
static CodingErrorAction |
IGNORE
指示通过丢弃错误输入并恢复编码操作来处理编码错误的动作。
|
static CodingErrorAction |
REPLACE
指示通过丢弃错误输入来处理编码错误的动作,将编码器的替换值附加到输出缓冲器,并恢复编码操作。
|
static CodingErrorAction |
REPORT
通过返回 CoderResult 对象或抛出CharacterCodingException (取决于实现编码过程的方法)来指示编码错误的报告。
|
public static final CodingErrorAction IGNORE
public static final CodingErrorAction REPLACE
public static final CodingErrorAction REPORT
CoderResult
对象或抛出一个CharacterCodingException
(取决于实现编码过程的方法)来指示编码错误的报告。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.