文件流相关
小于 1 分钟
源文件读取
spring boot源文件读取
//读取成InputStreamReader
InputStreamReader isr = new InputStreamReader(this.class.getClassLoader()
.getResourceAsStream("./client_secrets.json"));
//读取成InputStream
InputStream in = GooglePayServiceImpl.class.getClassLoader()
.getResourceAsStream("./server_secrets.json");