09 2018 档案

springboot 单元测试的写法
摘要:@RunWith(SpringRunner.class)@SpringBootTest(classes = CapAndFlinkServiceControllerTest.class)@WebAppConfiguration@ComponentScan(basePackages="com.suni 阅读全文

posted @ 2018-09-04 23:50 MaXianZhe 阅读(350) 评论(0) 推荐(0) 编辑

如何向jar包里写文件
摘要:String newFile = StringConstant.LINUX_JOB_DIRSUFFIX + emptyFileStr; Path newpath = Paths.get(newFile);//新的空的文件 就是打算写入到jar文件里的 File emptyFile = newpath 阅读全文

posted @ 2018-09-04 23:33 MaXianZhe 阅读(1096) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示