Documentation for this section has not yet been entered.
Type Reason Java.Lang.UnsupportedOperationException if this decoder doesn't implement an auto-detecting charset.
Indicates whether this decoder has detected a charset; this method is optional.
If this decoder implements an auto-detecting charset, then this method may start to return true during decoding operation to indicate that a charset has been detected in the input bytes and that the charset can be retrieved by invoking the CharsetDecoder.DetectedCharset method.
Note that a decoder that implements an auto-detecting charset may still succeed in decoding a portion of the given input even when it is unable to detect the charset. For this reason users should be aware that a false return value does not indicate that no decoding took place.
The default implementation always throws an UnsupportedOperationException; it should be overridden by a subclass if needed.