测试一下提交
This commit is contained in:
parent
abfd819e5a
commit
3190cdac13
@ -8,6 +8,7 @@ import java.io.InputStream;
|
|||||||
* @Date: 2022/1/17 9:29
|
* @Date: 2022/1/17 9:29
|
||||||
*/
|
*/
|
||||||
public class TestFileUtil {
|
public class TestFileUtil {
|
||||||
|
|
||||||
public static InputStream getResourcesFileInputStream(String fileName) {
|
public static InputStream getResourcesFileInputStream(String fileName) {
|
||||||
return Thread.currentThread().getContextClassLoader().getResourceAsStream("" + fileName);
|
return Thread.currentThread().getContextClassLoader().getResourceAsStream("" + fileName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user