Java.Nio.Charset.CharsetDecoder: Method Members

The methods of Java.Nio.Charset.CharsetDecoder are listed below. For a list of all members, see the CharsetDecoder Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

AverageCharsPerByte() : float
Returns the average number of characters created by this decoder for a single input byte.
Charset() : Charset
Returns the Java.Nio.Charset.Charset which this decoder uses.
Decode(Java.Nio.ByteBuffer) : Java.Nio.CharBuffer
This is a facade method for the decoding operation.
Decode(Java.Nio.ByteBuffer, Java.Nio.CharBuffer, bool) : CoderResult
Decodes bytes starting at the current position of the given input buffer, and writes the equivalent character sequence into the given output buffer from its current position.
DetectedCharset() : Charset
Gets the charset detected by this decoder; this method is optional.
Flush(Java.Nio.CharBuffer) : CoderResult
Flushes this decoder.
MalformedInputAction() : CodingErrorAction
Returns this decoder's CodingErrorAction when malformed input occurred during the decoding process.
MaxCharsPerByte() : float
Returns the maximum number of characters which can be created by this decoder for one input byte, must be positive.
OnMalformedInput(CodingErrorAction) : CharsetDecoder
Sets this decoder's action on malformed input errors.
OnUnmappableCharacter(CodingErrorAction) : CharsetDecoder
Sets this decoder's action on unmappable character errors.
Replacement() : string
Returns the replacement string, which is never null or empty.
ReplaceWith(string) : CharsetDecoder
Sets the new replacement string.
Reset() : CharsetDecoder
Resets this decoder.
UnmappableCharacterAction() : CodingErrorAction
Returns this decoder's CodingErrorAction when an unmappable character error occurred during the decoding process.

Protected Methods

abstract
DecodeLoop(Java.Nio.ByteBuffer, Java.Nio.CharBuffer) : CoderResult
Decodes bytes into characters.
ImplFlush(Java.Nio.CharBuffer) : CoderResult
Flushes this decoder.
ImplOnMalformedInput(CodingErrorAction)
Notifies that this decoder's CodingErrorAction specified for malformed input error has been changed.
ImplOnUnmappableCharacter(CodingErrorAction)
Notifies that this decoder's CodingErrorAction specified for unmappable character error has been changed.
ImplReplaceWith(string)
Notifies that this decoder's replacement has been changed.
ImplReset()
Reset this decoder's charset related state.