摘要: public class erfenchazhao { public static void main(String[] args) { int [] num ={1, 2, 2, 3, 4, 5, 7, 9, 10, 11}; int search = search(num, 14); Syste 阅读全文
posted @ 2021-02-07 09:37 我没有出家 阅读(71) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/menmenz/p/11649613.html 阅读全文
posted @ 2021-02-01 14:32 我没有出家 阅读(34) 评论(0) 推荐(0)
摘要: @ResponseBody @RequestMapping("/szctest2") public void zip(HttpServletResponse response) throws Exception { String sourceFileName = "D:\\test"; //要压缩的 阅读全文
posted @ 2021-01-28 16:54 我没有出家 阅读(1664) 评论(1) 推荐(1)
摘要: @ResponseBody @RequestMapping("/szctest1") public void zip1(HttpServletResponse response,HttpServletRequest request) throws IOException { String path 阅读全文
posted @ 2021-01-28 16:34 我没有出家 阅读(240) 评论(0) 推荐(0)
摘要: package com.ruoyi.web.controller.test; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.Fi 阅读全文
posted @ 2021-01-28 16:32 我没有出家 阅读(316) 评论(0) 推荐(0)
摘要: package test; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import org.ap 阅读全文
posted @ 2021-01-28 10:36 我没有出家 阅读(310) 评论(0) 推荐(0)
摘要: File file1 = new File("e://异常.txt"); BufferedWriter out = new BufferedWriter(new FileWriter(file1,true)); out.write(file2.getAbsolutePath()); out.newL 阅读全文
posted @ 2021-01-26 17:50 我没有出家 阅读(55) 评论(0) 推荐(0)
摘要: public void traverseFolder2(String path) { File file = new File(path); if (file.exists()) { File[] files = file.listFiles(); if (null == files || file 阅读全文
posted @ 2021-01-26 17:41 我没有出家 阅读(106) 评论(0) 推荐(0)
摘要: /** * @param srcpic 复制前文件 * @param despic 复制后文件 */ public static void copyPic(String srcpic, String despic) { File file1 = new File(srcpic); if (file1 阅读全文
posted @ 2021-01-21 15:39 我没有出家 阅读(69) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-01-20 15:17 我没有出家 阅读(91) 评论(0) 推荐(0)