Uses of Class
java.nio.charset.CharsetDecoder
-
Packages that use CharsetDecoder 软件包 描述 java.io 通过数据流,序列化和文件系统提供系统输入和输出。java.nio.channels 定义通道,表示与能够执行I / O操作的实体的连接,例如文件和套接字; 定义选择器,用于多路复用,非阻塞I / O操作。java.nio.charset 定义字符集,解码器和编码器,用于在字节和Unicode字符之间进行转换。 -
-
Uses of CharsetDecoder in java.io
Constructors in java.io with parameters of type CharsetDecoder 构造器 描述 InputStreamReader(InputStream in, CharsetDecoder dec)创建一个使用给定charset解码器的InputStreamReader。 -
Uses of CharsetDecoder in java.nio.channels
Methods in java.nio.channels with parameters of type CharsetDecoder 变量和类型 方法 描述 static ReaderChannels. newReader(ReadableByteChannel ch, CharsetDecoder dec, int minBufferCap)构造一个读取器,使用给定的解码器解码来自给定通道的字节。 -
Uses of CharsetDecoder in java.nio.charset
Methods in java.nio.charset that return CharsetDecoder 变量和类型 方法 描述 abstract CharsetDecoderCharset. newDecoder()为这个charset构造一个新的解码器。CharsetDecoderCharsetDecoder. onMalformedInput(CodingErrorAction newAction)更改此解码器针对格式错误输入错误的操作。CharsetDecoderCharsetDecoder. onUnmappableCharacter(CodingErrorAction newAction)更改此解码器对不可映射字符错误的操作。CharsetDecoderCharsetDecoder. replaceWith(String newReplacement)更改此解码器的替换值。CharsetDecoderCharsetDecoder. reset()重置此解码器,清除任何内部状态。
-