获取resource下文件

Resource resource = new ClassPathResource(certPath);
File file= resource.getFile();

猜你喜欢

转载自www.cnblogs.com/ZenoPan/p/10115963.html