- replacement
- the replacement string cannot be null, empty, or longer than CharsetDecoder.MaxCharsPerByte.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException if the given replacement cannot satisfy the requirement mentioned above.
Sets the new replacement string. This method first checks the given replacement's validity, then changes the replacement value, and at last calls the CharsetDecoder.ImplReplaceWith(string) method with the given new replacement as argument.