lewis600 / top4java

Automatically exported from code.google.com/p/top4java
0 stars 0 forks source link

可以把sun.misc.BASE64ENCODE 换掉吗? #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. 在appengine中,这个类是限制使用的
2. 这个类未来可能消失
3. 建议使用apache的Base64,http://commons.apache.org/codec/apidocs/src-html
/org/apache/commons/codec/binary/Base64.html#line.53

Original issue reported on code.google.com by bab...@gmail.com on 14 Mar 2010 at 2:26

GoogleCodeExporter commented 9 years ago
Base64 encoder = new Base64();
        return new String(encoder.encode(bytes), "ASCII").equals(topSign);

Original comment by bab...@gmail.com on 14 Mar 2010 at 2:26

Attachments: