BASE64编码方法

来源:互联网 发布:飞升真元锻升级数据 编辑:程序博客网 时间:2024/05/19 19:30
 public static  String getBASE64(String s) {
  if (s == null) return null;
  return (new sun.misc.BASE64Encoder()).encode( s.getBytes() );
 }
原创粉丝点击