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.