程序包 | 说明 |
---|---|
org.jretty.util | |
org.jretty.util.resource |
Based on spring-framework
其中,
1、将Spring的 ResourceUtils,换成了Zollty的 UrlUtils
2、StringUtils.getFilenameFromPath(this.path);
Release description
2015-01-21
Keep synchronization with spring-framework-3.2.13.RELEASE
|
org.jretty.util.resource.support |
限定符和类型 | 方法和说明 |
---|---|
static Resource |
ResourceUtils.getResource(ResourceLoader resourceLoader,
String location) |
static Resource[] |
ResourceUtils.getResourcesByPathMatchingResolver(String locationPattern,
ResourceLoader resourceLoader) |
限定符和类型 | 类和说明 |
---|---|
class |
ClassRelativeResourceLoader
ResourceLoader implementation that interprets plain resource paths
as relative to a given java.lang.Class . |
class |
DefaultResourceLoader
Default implementation of the
ResourceLoader interface. |
class |
FileSystemResourceLoader
ResourceLoader implementation that resolves plain paths as
file system resources rather than as class path resources
(the latter is DefaultResourceLoader 's default strategy). |
限定符和类型 | 接口和说明 |
---|---|
interface |
ResourcePatternResolver
Strategy interface for resolving a location pattern (for example,
an Ant-style path pattern) into Resource objects.
|
限定符和类型 | 类和说明 |
---|---|
class |
PathMatchingResourcePatternResolver
A
ResourcePatternResolver implementation that is able to resolve a
specified resource location path into one or more matching Resources. |
限定符和类型 | 方法和说明 |
---|---|
ResourceLoader |
PathMatchingResourcePatternResolver.getResourceLoader()
Return the ResourceLoader that this pattern resolver works with.
|
构造器和说明 |
---|
PathMatchingResourcePatternResolver(ResourceLoader resourceLoader)
Create a new PathMatchingResourcePatternResolver.
|
Copyright © 2018 jretty-org. All rights reserved.