摘要: 参考链接:https://blog.csdn.net/BlueSky_USC/article/details/54414860 阅读全文
posted @ 2019-01-19 11:10 唐宋丶元明清 阅读(158) 评论(0) 推荐(0)
摘要: 参考资料链接:https://blog.csdn.net/BlueSky_USC/article/details/54414860 阅读全文
posted @ 2019-01-19 11:08 唐宋丶元明清 阅读(236) 评论(0) 推荐(0)
摘要: 参考链接:https://blog.csdn.net/BlueSky_USC/article/details/54414860 阅读全文
posted @ 2019-01-19 11:06 唐宋丶元明清 阅读(379) 评论(0) 推荐(0)
摘要: /** * 字节流--读取并复制图片 * @param targetPath */public static void readImageAndCopy(String targetPath){ File file=new File("F:\\CreateDemo\\demo.jpg"); FileI 阅读全文
posted @ 2019-01-18 11:17 唐宋丶元明清 阅读(657) 评论(0) 推荐(0)
摘要: public static void readFile(){ File file=new File("F:\\CreateDemo\\demo.txt"); if(!file.exists()){ //如果文件不存在,创建并写入信息 createFileAndWriter("Hello I/O!") 阅读全文
posted @ 2019-01-18 11:16 唐宋丶元明清 阅读(175) 评论(0) 推荐(0)
摘要: public static void createFileAndWriter(String message) { File file = new File("F:\\CreateDemo\\"); if (!file.exists()) { file.mkdir();//创建一个新目录 } File 阅读全文
posted @ 2019-01-18 11:15 唐宋丶元明清 阅读(480) 评论(0) 推荐(0)
摘要: /** * 生成水印背景图片 * @param request * @param response * @return * @throws IOException */ @SuppressWarnings("unchecked") public ModelAndView getSyhtml(Http 阅读全文
posted @ 2018-01-27 16:36 唐宋丶元明清 阅读(130) 评论(0) 推荐(0)
摘要: 解决杂色的方法其实很简单:就是生成出png格式的图片,设置生透明的,那样就只能看到字体的样色,不再有杂色。 阅读全文
posted @ 2018-01-26 15:50 唐宋丶元明清 阅读(255) 评论(0) 推荐(0)
摘要: 记录方便下次查看 import java.text.DateFormat;import java.text.SimpleDateFormat;import java.util.Date; public class test { public static void main(String args[ 阅读全文
posted @ 2017-12-08 16:59 唐宋丶元明清 阅读(12876) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script> window.onload=function () { var sel= document.getElementB 阅读全文
posted @ 2017-12-05 10:29 唐宋丶元明清 阅读(1899) 评论(0) 推荐(0)