code: public static String encode(String content) {
  		if (content == null || content.length() == 0) {
  			return content;
  		}
  		return org.apache.commons.codec.binary.Base64.encodeBase64String(content.getBytes()).trim();
  
  	}
docs: 对字符串进行Base64编码</br>
  
  @param content
  字符串
  @return 编码后的字符串