Uses of Class
java.nio.charset.CharsetEncoder
| Package | Description |
|---|---|
| java.io | |
| java.nio.channels | |
| java.nio.charset | |
| libcore.icu |
-
Uses of CharsetEncoder in java.io
Constructors in java.io with parameters of type CharsetEncoder Constructor Description OutputStreamWriter(OutputStream out, CharsetEncoder charsetEncoder)Constructs a new OutputStreamWriter usingoutas the target stream to write converted characters to andcharsetEncoderas the character encoder. -
Uses of CharsetEncoder in java.nio.channels
Methods in java.nio.channels with parameters of type CharsetEncoder Modifier and Type Method Description static WriterChannels. newWriter(WritableByteChannel channel, CharsetEncoder encoder, int minBufferCapacity)Returns a writer that encodes characters with the specifiedencoderand sends the bytes to the specified channel. -
Uses of CharsetEncoder in java.nio.charset
Methods in java.nio.charset that return CharsetEncoder Modifier and Type Method Description abstract CharsetEncoderCharset. newEncoder()Returns a new instance of an encoder for this charset.CharsetEncoderCharsetEncoder. onMalformedInput(CodingErrorAction newAction)Sets this encoder's action on malformed input error.CharsetEncoderCharsetEncoder. onUnmappableCharacter(CodingErrorAction newAction)Sets this encoder's action on unmappable character error.CharsetEncoderCharsetEncoder. replaceWith(byte[] replacement)Sets the new replacement value.CharsetEncoderCharsetEncoder. reset()Resets this encoder. -
Uses of CharsetEncoder in libcore.icu
Methods in libcore.icu with parameters of type CharsetEncoder Modifier and Type Method Description static voidNativeConverter. setCallbackEncode(long converterHandle, CharsetEncoder encoder)