Skip to content

Tag Archives: Java-CharsetDecoder

The detectedCharset() method is a built-in method of the java.nio.charset.CharsetDecoder class which retrieves the charset that has been detected by this decoder. The default implementation… Read More
The reset() method is a built-in method of the java.nio.charset.CharsetDecoder class which resets this CharsetDecoder and clears its internal state. Syntax: public final CharsetDecoder reset()… Read More
The isAutoDetecting() method is a built-in method of the java.nio.charset.CharsetDecoder class which tells whether or not this decoder implements an auto-detecting charset. Syntax: public boolean… Read More
The isCharsetDetected() method is a built-in method of the java.nio.charset.CharsetDecoder class which tells whether or not this decoder has yet detected a charset. The default… Read More
The malformedInputAction() method is a built-in method of the java.nio.charset.CharsetDecoder class which returns this decoder’s current action for malformed-input errors. Syntax: public CodingErrorAction malformedInputAction() Parameters:… Read More
The averageCharsPerByte() method is a built-in method of the java.nio.charset.CharsetDecoder class which returns the average number of characters that will be produced for each byte… Read More
The replacement() method is a built-in method of the java.nio.charset.CharsetDecoder class returns this decoder’s replacement value. The replacement value needs to be set inorder to… Read More
The maxCharsPerByte() method is a built-in method of the java.nio.charset.CharsetDecoder class which returns the maximum number of characters that will be produced for each byte… Read More
The unmappableCharacterAction() method is a built-in method of the java.nio.charset.CharsetDecoder class which returns this decoder’s current action for unmappable-character errors. Syntax: public CodingErrorAction unmappableCharacterAction() Parameters:… Read More
CharsetDecoder.charset() is an in-built method in Java of CharsetDecoder class that returns the charset that created this decoder. Syntax: public final Charset charset() Parameter: The… Read More