ClassPathResource classPathResource = new ClassPathResource("template/demo/200000168-check-response.xml"); InputStream inputStream = classPathResource.getInputStream(); responseXml = new String(FilesUtil.read(inputStream), Cons.GBK);
springboot 读取 resource 下的文件
猜你喜欢
转载自www.cnblogs.com/xiluhua/p/12080047.html
今日推荐
周排行