| 接口 | 说明 |
|---|---|
| Locatable |
可定位的, location 可以相对的,也可以是绝对的,且是有前缀的
|
| Resource<E> |
任何的可以 用 input stream 去读的都可以被称为资源。
|
| ResourceLoader | |
| ResourceLocationProvider<ID> | |
| Urlable | |
| WritableResource |
| 类 | 说明 |
|---|---|
| AbstractLocatableResource<T> | |
| AbstractResource<E> | |
| ByteArrayResource | |
| ClassPathResource |
classpath:/xx/yy/zz
classpath:xx/yy/zz
|
| DefaultResourceLoader | |
| DirectoryBasedFileResourceLoader | |
| FileResource |
file:/home/fjn/xx/yy
|
| InputStreamResource | |
| Location |
A starting location to scan from.
|
| Locations | |
| ResourceRegion | |
| Resources | |
| UrlResource |
ftp://ftp.baidu.com/resources/xx
file:///home/fjn/
file://c:\\a\\b
http://www.baidu.com/resources/xx
jar:file://
|
| 异常错误 | 说明 |
|---|---|
| InvalidResourceException | |
| ResourceNotFoundException |
Copyright © 2022. All rights reserved.