code: public void setCharset(String charset) {
  	if (StringUtil.isEmpty(charset)) return;
  	this.charset = CharsetUtil.toCharSet(charset.trim());
      }
docs: set the value charset Character set name for the file contents.
  
  @param charset value to set