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


posted @ 2020-05-27 16:07  Draymond  阅读(147)  评论(0编辑  收藏  举报