当前位置:网站首页>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
边栏推荐
- Ocio V2 reverse LUT
- Eye of depth (II) -- matrix and its basic operations
- Notice on holding a salon for young editors of scientific and Technological Journals -- the abilities and promotion strategies that young editors should have in the new era
- 博客主题 “Text“ 夏日清新特别版
- Interpretation of key parameters in MOSFET device manual
- What if the default browser cannot be set?
- In MySQL and Oracle, the boundary and range of between and precautions when querying the date
- Geoserver: publishing PostGIS data sources
- Sword finger offer 24 Reverse linked list
- Soul, a social meta universe platform, rushed to Hong Kong stocks: Tencent is a shareholder with an annual revenue of 1.28 billion
猜你喜欢

Seven charts, learn to do valuable business analysis

Sword finger offer 24 Reverse linked list
![[error record] error -32000 received from application: there are no running service protocol](/img/6c/66099650de46cac88b805e6cfb90b9.jpg)
[error record] error -32000 received from application: there are no running service protocol

酒仙网IPO被终止:曾拟募资10亿 红杉与东方富海是股东

In MySQL and Oracle, the boundary and range of between and precautions when querying the date

ThreadLocal

Executive engine module of high performance data warehouse practice based on Impala

Linux Installation PostgreSQL + Patroni cluster problem

Qstype implementation of self drawing interface project practice (II)

871. Minimum refueling times
随机推荐
深度之眼(二)——矩阵及其基本运算
2022 interview questions
电脑自带软件使图片底色变为透明(抠图白底)
IPtables中SNAT、DNAT和MASQUERADE的含义
Sword finger offer 25 Merge two sorted linked lists
剑指 Offer 25. 合并两个排序的链表
The poor family once again gave birth to a noble son: Jiangxi poor county got the provincial number one, what did you do right?
Detailed explanation of @accessories annotation of Lombok plug-in
js删除字符串中的子串
LeetCode:1380. Lucky number in matrix -- simple
traceroute命令讲解
Executive engine module of high performance data warehouse practice based on Impala
【Leetcode】14. 最长公共前缀
Does digicert SSL certificate support Chinese domain name application?
PhD Debate-11 预告 | 回顾与展望神经网络的后门攻击与防御
Role and function of uboot
智能垃圾桶(五)——点亮OLED
Qwebengineview crash and alternatives
QStyle实现自绘界面项目实战(二)
Usage of sprintf() function in C language