| Package | Description |
|---|---|
| org.hotswap.agent.util.spring.io.loader | |
| org.hotswap.agent.util.spring.io.resource | |
| org.hotswap.agent.util.spring.path | |
| org.hotswap.agent.versions |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DefaultResourceLoader.ClassPathContextResource
ClassPathResource that explicitly expresses a context-relative path
through implementing the ContextResource interface.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
DefaultResourceLoader.ClassPathContextResource.createRelative(String relativePath) |
Resource |
ResourceLoader.getResource(String location)
Return a Resource handle for the specified resource.
|
Resource |
DefaultResourceLoader.getResource(String location) |
protected Resource |
FileSystemResourceLoader.getResourceByPath(String path)
Resolve resource paths as file system paths.
|
protected Resource |
DefaultResourceLoader.getResourceByPath(String path)
Return a Resource handle for the resource at the given path.
|
protected Resource |
ClassRelativeResourceLoader.getResourceByPath(String path) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ContextResource
Extended interface for a resource that is loaded from an enclosing 'context',
e.g. from a
javax.servlet.ServletContext or a
javax.portlet.PortletContext but also from plain classpath paths or
relative file system paths (specified without an explicit prefix, hence
applying relative to the local ResourceLoader's context). |
interface |
WritableResource
Extended interface for a resource that supports writing to it.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFileResolvingResource
Abstract base class for resources which resolve URLs into File references,
such as
UrlResource or ClassPathResource. |
class |
AbstractResource
Convenience base class for
Resource implementations, pre-implementing
typical behavior. |
class |
ClassPathResource
Resource implementation for class path resources. |
class |
FileSystemResource
Resource implementation for java.io.File handles. |
class |
InputStreamResource
Resource implementation for a given InputStream. |
class |
PathResource
Resource implementation for java.nio.file.Path handles. |
class |
UrlResource
Resource implementation for java.net.URL locators. |
class |
VfsResource
JBoss VFS based
Resource implementation. |
| Modifier and Type | Method and Description |
|---|---|
Resource |
VfsResource.createRelative(String relativePath) |
Resource |
UrlResource.createRelative(String relativePath)
This implementation creates a
UrlResource, applying the given
path relative to the path of the underlying URL of this resource
descriptor. |
Resource |
Resource.createRelative(String relativePath)
Create a resource relative to this resource.
|
Resource |
PathResource.createRelative(String relativePath)
This implementation creates a FileResource, applying the given path
relative to the path of the underlying file of this resource descriptor.
|
Resource |
FileSystemResource.createRelative(String relativePath)
This implementation creates a FileSystemResource, applying the given path
relative to the path of the underlying file of this resource descriptor.
|
Resource |
ClassPathResource.createRelative(String relativePath)
This implementation creates a ClassPathResource, applying the given path
relative to the path of the underlying resource of this descriptor.
|
Resource |
AbstractResource.createRelative(String relativePath)
This implementation throws a FileNotFoundException, assuming that
relative resources cannot be created for this resource.
|
| Modifier and Type | Method and Description |
|---|---|
protected Resource |
PathMatchingResourcePatternResolver.convertClassLoaderURL(URL url)
Convert the given URL as returned from the ClassLoader into a
Resource. |
protected Resource[] |
PathMatchingResourcePatternResolver.findAllClassPathResources(String location)
Find all class location resources with the given location via the
ClassLoader.
|
protected Resource[] |
PathMatchingResourcePatternResolver.findPathMatchingResources(String locationPattern)
Find all resources that match the given location pattern via the
Ant-style PathMatcher.
|
Resource |
PathMatchingResourcePatternResolver.getResource(String location) |
Resource[] |
ResourcePatternResolver.getResources(String locationPattern)
Resolve the given location pattern into Resource objects.
|
Resource[] |
PathMatchingResourcePatternResolver.getResources(String locationPattern) |
protected Resource |
PathMatchingResourcePatternResolver.resolveRootDirResource(Resource original)
Resolve the specified resource for path matching.
|
| Modifier and Type | Method and Description |
|---|---|
protected Set<Resource> |
PathMatchingResourcePatternResolver.doFindAllClassPathResources(String path)
Find all class location resources with the given path via the
ClassLoader.
|
protected Set<Resource> |
PathMatchingResourcePatternResolver.doFindMatchingFileSystemResources(File rootDir,
String subPattern)
Find all resources in the file system that match the given location
pattern via the Ant-style PathMatcher.
|
protected Set<Resource> |
PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(Resource rootDirResource,
String subPattern)
Find all resources in the file system that match the given location
pattern via the Ant-style PathMatcher.
|
protected Set<Resource> |
PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(Resource rootDirResource,
String subPattern)
Find all resources in jar files that match the given location pattern via
the Ant-style PathMatcher.
|
| Modifier and Type | Method and Description |
|---|---|
protected Set<Resource> |
PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(Resource rootDirResource,
String subPattern)
Find all resources in the file system that match the given location
pattern via the Ant-style PathMatcher.
|
protected Set<Resource> |
PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(Resource rootDirResource,
String subPattern)
Find all resources in jar files that match the given location pattern via
the Ant-style PathMatcher.
|
protected boolean |
PathMatchingResourcePatternResolver.isJarResource(Resource resource)
Return whether the given resource handle indicates a jar resource that
the
doFindPathMatchingJarResources method can handle. |
protected Resource |
PathMatchingResourcePatternResolver.resolveRootDirResource(Resource original)
Resolve the specified resource for path matching.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PathMatchingResourcePatternResolver.addAllClassLoaderJarRoots(ClassLoader classLoader,
Set<Resource> result)
Search all
URLClassLoader URLs for jar file references and add
them to the given set of resources in the form of pointers to the root of
the jar file content. |
| Modifier and Type | Method and Description |
|---|---|
static ManifestInfo |
DeploymentInfo.getManifest(Resource resource)
Gets the manifest for a specific resource.
|
Copyright © 2018. All rights reserved.