This action will force synchronization from Rainy/DocSys, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
package com.DocSystem.test;import org.apache.commons.codec.binary.Base64;class Base64Test{public static void main(String[] args){System.out.println("This is test app");String str = "便签";try {String base64Str1 = Base64.encodeBase64String(str.getBytes());System.out.println("base64Str1:" + base64Str1);String base64Str1_d = new String(Base64.decodeBase64(base64Str1),"UTF-8");System.out.println("base64Str1_d:" + base64Str1_d);String base64Str2 = Base64.encodeBase64URLSafeString(str.getBytes());System.out.println("base64Str1:" + base64Str2);String base64Str2_d = new String(Base64.decodeBase64(base64Str2),"UTF-8");System.out.println("base64Str2_d:" + base64Str2_d);} catch (Exception e) {// TODO Auto-generated catch blocke.printStackTrace();}}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。