Resource Components of Spring
1.资源组件UML类图
资源组件接口中核心方法:exists(), isopen(), isReadable(), getInputStream()
引用核心的Java API:File类,URL类
2.重点介绍UrlResource和ClasspathResource
UrlResource
利用统一资源标识符或者定位符加载资源,其中UrlResource封装了Url
原创
2016-06-16 16:02:15 ·
316 阅读 ·
0 评论