Uses of Class java.nio.charset.Charset

Uses in package java.nio.charset.spi

Methods with return type java.nio.charset.Charset

Charset
Returns the named charset, by canonical name or alias.

Uses in package java.nio.charset

Constructors with parameter type java.nio.charset.Charset

CharsetDecoder.CharsetDecoder(Charset cs, float averageCharsPerByte, float maxCharsPerByte)
CharsetEncoder.CharsetEncoder(Charset cs, float averageBytesPerChar, float maxBytesPerChar)
CharsetEncoder.CharsetEncoder(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] replacement)

Methods with parameter type java.nio.charset.Charset

int
boolean

Methods with return type java.nio.charset.Charset

Charset
Charset
Charset
Returns the system default charset.
Charset
Charset
Charset.forName(String charsetName)
Returns the Charset instance for the charset of the given name.

Uses in package java.io

Constructors with parameter type java.nio.charset.Charset

Creates an InputStreamReader that uses a decoder of the given charset to decode the bytes in the InputStream into characters.
This method initializes a new instance of OutputStreamWriter to write to the specified stream using a given Charset.