会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
年少有为
三十载如朝夕,望君多珍惜。
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
···
7
8
9
10
11
12
13
14
15
···
26
下一页
2020年7月13日
pdf文档与签名合并
该文被密码保护。
Read More
posted @ 2020-07-13 17:19 活出自己范儿
Views(0)
Comments(0)
Diggs(0)
2020年7月12日
Mac core Shell 下载与上传
curl -fsSL https://raw.githubusercontent.com/codinn/core-shell-scripts/master/bashrc_Core_Shell -o ~/.bashrc_Core_Shell && . ~/.bashrc_Core_Shell && g
Read More
posted @ 2020-07-12 15:20 活出自己范儿
Views(547)
Comments(0)
Diggs(0)
2020年7月9日
接口调用外部系统返回数据,本系统做数据分页封装
接口调用外部系统返回数据,本系统做数据分页封装 场景: 本系统用的Mybatis分页插件PageHelper,调用了外部系统返回的数据为String类型的JSON串,数据量毕竟多,界面需要分页展示。 解决思路: 返回数据转List,然后把多个List放到一个List里,然后在从这个List里进行分页
Read More
posted @ 2020-07-09 22:44 活出自己范儿
Views(536)
Comments(0)
Diggs(0)
2020年7月2日
Base64编码出现换行符
概述 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(2893)
Comments(0)
Diggs(0)
2020年3月12日
html文本存入数据库,特殊字符转换
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(683)
Comments(0)
Diggs(0)
视频文件转换为base64字符串
1、视频文件转换为base64 /** * * @param videofilePath 视频文件路径带文件名 * @return base64 */ public static String videoToBase64(File videofilePath) { long size = video
Read More
posted @ 2020-03-12 19:48 活出自己范儿
Views(5874)
Comments(0)
Diggs(0)
base64转换成视频mp4文件
1、base64转化成mp4文件 /** * base64 视频base64字符串 * videoFilePath 输出视频文件路径带文件名 */ public static void base64ToVideo(String base64, String videoFilePath) { try
Read More
posted @ 2020-03-12 19:42 活出自己范儿
Views(11069)
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(302)
Comments(0)
Diggs(0)
json字符串取特定元素值
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(1686)
Comments(0)
Diggs(0)
2020年2月20日
无痕
该文被密码保护。
Read More
posted @ 2020-02-20 21:37 活出自己范儿
Views(0)
Comments(0)
Diggs(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
26
下一页
公告