public final CharsetDecoder replaceWith(String replacement) {if (replacement == null) {throw new IllegalArgumentException("replacement == null");}if (replacement.isEmpty()) {throw new IllegalArgumentException("replacement.isEmpty()");}if (replacement.length() > maxCharsPerByte()) {throw new IllegalArgumentException("replacement length > maxCharsPerByte: " +replacement.length() + " > " + maxCharsPerByte());}replacementChars = replacement;implReplaceWith(replacement);return this;}

public final CharsetDecoder replaceWith ( String replacement ) { if ( replacement == null ) { throw new IllegalArgumentException ( "replacement == null" ) ; } if ( replacement . isEmpty ( ) ) { throw new IllegalArgumentException ( "replacement.isEmpty()" ) ; } if ( replacement . length ( ) > maxCharsPerByte ( ) ) { throw new IllegalArgumentException ( "replacement length > maxCharsPerByte: " + replacement . length ( ) + " > " + maxCharsPerByte ( ) ) ; } replacementChars = replacement ; implReplaceWith ( replacement ) ; return this ; }
public java.nio.charset.CharsetDecoder replaceWith(string replacement_1){if (replacement_1 == null){throw new System.ArgumentException("replacement == null");}if (string.IsNullOrEmpty(replacement_1)){throw new System.ArgumentException("replacement.isEmpty()");}if (replacement_1.Length > maxCharsPerByte()){throw new System.ArgumentException("replacement length > maxCharsPerByte: " + replacement_1.Length + " > " + maxCharsPerByte());}replacementChars = replacement_1;implReplaceWith(replacement_1);return this;}
