测试一下提交

This commit is contained in:
liuchengqian 2022-02-25 09:15:20 +08:00
parent abfd819e5a
commit 3190cdac13

View File

@ -8,6 +8,7 @@ import java.io.InputStream;
* @Date: 2022/1/17 9:29
*/
public class TestFileUtil {
public static InputStream getResourcesFileInputStream(String fileName) {
return Thread.currentThread().getContextClassLoader().getResourceAsStream("" + fileName);
}