spring -- ResourceLoader
作用:
获取Resource
获取ClassLoader
public interface ResourceLoader {
String CLASSPATH_URL_PREFIX = "classpath:";
Resource getResource(String var1);
ClassLoader getClassLoader();
}
获取Resource
获取ClassLoader
推荐链接:
https://blog.csdn.net/chenpeng19910926/article/details/77720215