09 2018 档案

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

posted @ 2018-09-04 23:50 MaXianZhe 阅读(357) 评论(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 阅读(1127) 评论(0) 推荐(0)

导航