上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 27 下一页
概述 Base64是一种字符串编码格式,Base64采用A-Z a-z 0-9 “+“ “/“这一共64个字符来编码原始字符(还有垫字符“=“)。一个字符本身是1个字节,也就是8位,而Base64编码后的一个字符只能表示能表示6位的信息。也就是原始字符串中3字节的信息编码会变成4字节的信息。Base Read More
posted @ 2020-07-02 19:30 人在京城 Views(2907) Comments(0) Diggs(0)
package Controller; public class TranslationStr { public String HtmltoStr(String newText) { // newText = newText.replace("\n", "<br>"); //textBox里的换行是 Read More
posted @ 2020-03-12 20:22 人在京城 Views(686) Comments(0) Diggs(0)
1、视频文件转换为base64 /** * * @param videofilePath 视频文件路径带文件名 * @return base64 */ public static String videoToBase64(File videofilePath) { long size = video Read More
posted @ 2020-03-12 19:48 人在京城 Views(5919) Comments(0) Diggs(0)
1、base64转化成mp4文件 /** * base64 视频base64字符串 * videoFilePath 输出视频文件路径带文件名 */ public static void base64ToVideo(String base64, String videoFilePath) { try Read More
posted @ 2020-03-12 19:42 人在京城 Views(11189) Comments(0) Diggs(0)
1、读取文本中的内容 import java.io.*; //根据路径读文本的内容 public static String ReadFileContent(String filePath) { //定义一个file对象,用来初始化FileReader File file = new File(fi Read More
posted @ 2020-03-12 19:28 人在京城 Views(310) Comments(0) Diggs(0)
1、json字符串为 { "key" : "value" } import com.alibaba.fastjson.JSONObject; //json字符号转换为json对象,然后获得key对应value public static String getJsonValue(String json Read More
posted @ 2020-03-12 19:13 人在京城 Views(1698) Comments(0) Diggs(0)
该文被密码保护。 Read More
posted @ 2020-02-20 21:37 人在京城 Views(0) Comments(0) Diggs(0)
1、forEach List list = new ArrayList<String>(); list.add("small"); list.add("sun"); list.add("shine"); list.add("small001"); list.add("small002"); list Read More
posted @ 2019-12-23 10:33 人在京城 Views(22451) Comments(2) Diggs(1)
该文被密码保护。 Read More
posted @ 2019-12-18 20:08 人在京城 Views(0) Comments(0) Diggs(0)
问题: 使用idea下载项目代码时报错,内容如下: Clone failed: Could not read from remote repository 解决方案: 把 SSH切换成 HTTP重新clone即可:由于公司设置问题,内网只能通过HTTP方式colne 本博客来源于:https://w Read More
posted @ 2019-11-21 11:43 人在京城 Views(758) Comments(0) Diggs(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 27 下一页