public void setCharsetName ( final String charsetName ) { if ( Charset . isSupported ( charsetName ) ) { this . charsetName = charsetName ; } else { throw new UnsupportedCharsetException ( "No support for, " + charsetName + ", is available in this instance of the JVM" ) ; } }
Setter for property charsetName .