当前位置:网站首页>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
- One year is worth ten years
- 【Leetcode】13. Roman numeral to integer
- 宝宝巴士创业板IPO被终止:曾拟募资18亿 唐光宇控制47%股权
- 人生的开始
- 13、Darknet YOLO3
- Sword finger offer 21 Adjust the array order so that odd numbers precede even numbers
- PhD Debate-11 预告 | 回顾与展望神经网络的后门攻击与防御
- 博客主题 “Text“ 夏日清新特别版
猜你喜欢

默认浏览器设置不了怎么办?

Understand one article: four types of data index system

TCP拥塞控制详解 | 2. 背景

GeoServer:发布PostGIS数据源

Smart trash can (V) - light up OLED

The poor family once again gave birth to a noble son: Jiangxi poor county got the provincial number one, what did you do right?

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

Linux Installation PostgreSQL + Patroni cluster problem

MOSFET器件手册关键参数解读

Qstype implementation of self drawing interface project practice (II)
随机推荐
綠竹生物沖刺港股:年期內虧損超5億 泰格醫藥與北京亦莊是股東
绿竹生物冲刺港股:年期内亏损超5亿 泰格医药与北京亦庄是股东
PhD Debate-11 预告 | 回顾与展望神经网络的后门攻击与防御
Understand one article: four types of data index system
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
【征文活动】亲爱的开发者,RT-Thread社区喊你投稿啦
ETH数据集下载及相关问题
深度之眼(三)——矩阵的行列式
lsf基础命令
Atcoder beginer contest 169 (B, C, D unique decomposition, e mathematical analysis f (DP))
宝宝巴士创业板IPO被终止:曾拟募资18亿 唐光宇控制47%股权
Experience home office, feel the completion of the project | community essay solicitation
Soul, a social meta universe platform, rushed to Hong Kong stocks: Tencent is a shareholder with an annual revenue of 1.28 billion
R及RStudio下载安装教程(超详细)
ThreadLocal
Nexus简介及小白使用IDEA打包上传到Nexus3私服详细教程
Win10系统使用pip安装juypter notebook过程记录(安装在系统盘以外的盘)
LSF basic command
[error record] error -32000 received from application: there are no running service protocol
Easy language ABCD sort