当前位置:网站首页>Briefly introduce the use of base64encoder
Briefly introduce the use of base64encoder
2022-07-02 17:19:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
BASE64Encoder In fact jkd Medium , But it is not open by default , stay API Can't be found in
So let's see how to import it :
Right-click on the project –build path–>>configure build path–>>
double-click Access rules–>>edit–>>edit–>>
It is amended as follows accessible,Rule Pattern by **
OK 了
The following test code :
package cn.bl;
import org.junit.Test;
import sun.misc.BASE64Encoder;
public class Demo1 {
@Test
public void test1(){
BASE64Encoder encoder = new BASE64Encoder();
System.out.println(encoder.encode("java".getBytes()));//amF2YQ==
}
}Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/147975.html Link to the original text :https://javaforall.cn
边栏推荐
- C语言自定义函数的方法
- 871. 最低加油次数
- 2022 interview questions
- 一文看懂:数据指标体系的4大类型
- 几行代码搞定RPC服务注册和发现
- 人生的开始
- Method of C language self defining function
- Soul, a social meta universe platform, rushed to Hong Kong stocks: Tencent is a shareholder with an annual revenue of 1.28 billion
- 二、mock平台的扩展
- < IV & gt; H264 decode output YUV file
猜你喜欢

剑指 Offer 25. 合并两个排序的链表

Sword finger offer 21 Adjust the array order so that odd numbers precede even numbers

福元医药上交所上市:市值105亿 胡柏藩身价超40亿

2020 "Lenovo Cup" National College programming online Invitational Competition and the third Shanghai University of technology programming competition (a sign in, B sign in, C sign in, D thinking +mst

Xiaopeng P7 had an accident on rainy days, and the airbag did not pop up. Official response: the impact strength did not meet the ejection requirements

电脑自带软件使图片底色变为透明(抠图白底)

【Leetcode】13. Roman numeral to integer

LeetCode:1380. Lucky number in matrix -- simple

linux下配置Mysql授权某个用户远程访问,不受ip限制

配置基于接口的ARP表项限制和端口安全(限制用户私自接入傻瓜交换机或非法主机接入)
随机推荐
ssb门限_SSB调制「建议收藏」
Weili holdings listed on the Hong Kong Stock Exchange: with a market value of HK $500million, it contributed an IPO to Hubei
[error record] error -32000 received from application: there are no running service protocol
伟立控股港交所上市:市值5亿港元 为湖北贡献一个IPO
Linux Installation PostgreSQL + Patroni cluster problem
Experience home office, feel the completion of the project | community essay solicitation
剑指 Offer 25. 合并两个排序的链表
Does digicert SSL certificate support Chinese domain name application?
System Verilog implements priority arbiter
Tech Talk 活动预告 | 基于Amazon KVS打造智能视觉产品
What is generics- Introduction to generics
剑指 Offer 22. 链表中倒数第k个节点
[leetcode] 14. Préfixe public le plus long
What will you do after digital IC Verification?
Nexus简介及小白使用IDEA打包上传到Nexus3私服详细教程
綠竹生物沖刺港股:年期內虧損超5億 泰格醫藥與北京亦莊是股東
剑指 Offer 27. 二叉树的镜像
Interpretation of key parameters in MOSFET device manual
Sword finger offer 26 Substructure of tree
绿竹生物冲刺港股:年期内亏损超5亿 泰格医药与北京亦庄是股东