12 2020 档案

IDEA环境配置
摘要:1.1 设置编码 File->Settings->Editor->File Encodings 设置文件编码格式为UTF-8 1.2 代码提示取消大小写 1.3 配置自动编译 这样配合 Server 时,可以实现基本的热部署功能(修改方法内代码,或者增加 private 方法时,都能立即生效) 1. 阅读全文

posted @ 2020-12-21 14:03 UnmatchedSelf 阅读(2099) 评论(0) 推荐(0)

HttpUtil 发送请求
摘要:/** * 发送http请求 get方式 * * @param url * @return */public static String sendGet(String url) { String result = ""; BufferedReader in = null; try { URL rea 阅读全文

posted @ 2020-12-13 14:28 UnmatchedSelf 阅读(977) 评论(0) 推荐(0)

将图片转换为Base64编码,解析base64格式从新生成图片
摘要:/** * 将图片转换成Base64编码 * @param imgFile 待处理图片 /Applications/开发常用文件/mmexport1555768366578.jpg * @return */ public static String getImgStr(String imgFile) 阅读全文

posted @ 2020-12-13 14:00 UnmatchedSelf 阅读(1064) 评论(2) 推荐(0)

导航