public interface ResourcePatternResolver extends ResourceLoader
Title: ResourcePatternResolver.java
Description:
bboss workgroup
Copyright (c) 2007
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSPATH_ALL_URL_PREFIX
Pseudo URL prefix for all matching resources from the class path: "classpath*:"
This differs from ResourceLoader's classpath URL prefix in that it
retrieves all matching resources for a given name (e.g.
|
CLASSPATH_URL_PREFIX| Modifier and Type | Method and Description |
|---|---|
Resource[] |
getResources(java.lang.String locationPattern)
Resolve the given location pattern into Resource objects.
|
getClassLoader, getResourcestatic final java.lang.String CLASSPATH_ALL_URL_PREFIX
Resource[] getResources(java.lang.String locationPattern) throws java.io.IOException
Overlapping resource entries that point to the same physical resource should be avoided, as far as possible. The result should have set semantics.
locationPattern - the location pattern to resolvejava.io.IOException - in case of I/O errors