// 创建临时文件夹
String tmpPath = Files.createTempDirectory("pdf-").toString();
System.out.println(tmpPath);
File file = new File(tmpPath + File.separator + "new_work_order.pdf");
tmpPath = URLEncoder.encode(tmpPath, "utf-8");
tmpPath = tmpPath.replace("%2F", "%3F");
创建临时文件夹
最新推荐文章于 2024-01-04 09:32:36 发布