Uses of Interface
org.hotswap.agent.util.spring.io.resource.Resource
-
Packages that use Resource 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 -
-
Uses of Resource in org.hotswap.agent.util.spring.io.loader
Classes in org.hotswap.agent.util.spring.io.loader that implement Resource Modifier and Type Class Description protected static classDefaultResourceLoader.ClassPathContextResourceClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.Methods in org.hotswap.agent.util.spring.io.loader that return Resource Modifier and Type Method Description ResourceDefaultResourceLoader.ClassPathContextResource. createRelative(String relativePath)ResourceDefaultResourceLoader. getResource(String location)ResourceResourceLoader. getResource(String location)Return a Resource handle for the specified resource.protected ResourceClassRelativeResourceLoader. getResourceByPath(String path)protected ResourceDefaultResourceLoader. getResourceByPath(String path)Return a Resource handle for the resource at the given path.protected ResourceFileSystemResourceLoader. getResourceByPath(String path)Resolve resource paths as file system paths. -
Uses of Resource in org.hotswap.agent.util.spring.io.resource
Subinterfaces of Resource in org.hotswap.agent.util.spring.io.resource Modifier and Type Interface Description interfaceContextResourceExtended interface for a resource that is loaded from an enclosing 'context', e.g. from ajavax.servlet.ServletContextor ajavax.portlet.PortletContextbut also from plain classpath paths or relative file system paths (specified without an explicit prefix, hence applying relative to the localResourceLoader's context).interfaceWritableResourceExtended interface for a resource that supports writing to it.Classes in org.hotswap.agent.util.spring.io.resource that implement Resource Modifier and Type Class Description classAbstractFileResolvingResourceAbstract base class for resources which resolve URLs into File references, such asUrlResourceorClassPathResource.classAbstractResourceConvenience base class forResourceimplementations, pre-implementing typical behavior.classClassPathResourceResourceimplementation for class path resources.classFileSystemResourceResourceimplementation forjava.io.Filehandles.classInputStreamResourceResourceimplementation for a givenInputStream.classPathResourceResourceimplementation forjava.nio.file.Pathhandles.classUrlResourceResourceimplementation forjava.net.URLlocators.classVfsResourceJBoss VFS basedResourceimplementation.Methods in org.hotswap.agent.util.spring.io.resource that return Resource Modifier and Type Method Description ResourceAbstractResource. createRelative(String relativePath)This implementation throws a FileNotFoundException, assuming that relative resources cannot be created for this resource.ResourceClassPathResource. createRelative(String relativePath)This implementation creates a ClassPathResource, applying the given path relative to the path of the underlying resource of this descriptor.ResourceFileSystemResource. createRelative(String relativePath)This implementation creates a FileSystemResource, applying the given path relative to the path of the underlying file of this resource descriptor.ResourcePathResource. createRelative(String relativePath)This implementation creates a FileResource, applying the given path relative to the path of the underlying file of this resource descriptor.ResourceResource. createRelative(String relativePath)Create a resource relative to this resource.ResourceUrlResource. createRelative(String relativePath)This implementation creates aUrlResource, applying the given path relative to the path of the underlying URL of this resource descriptor.ResourceVfsResource. createRelative(String relativePath) -
Uses of Resource in org.hotswap.agent.util.spring.path
Methods in org.hotswap.agent.util.spring.path that return Resource Modifier and Type Method Description protected ResourcePathMatchingResourcePatternResolver. convertClassLoaderURL(URL url)Convert the given URL as returned from the ClassLoader into aResource.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.ResourcePathMatchingResourcePatternResolver. getResource(String location)Resource[]PathMatchingResourcePatternResolver. getResources(String locationPattern)Resource[]ResourcePatternResolver. getResources(String locationPattern)Resolve the given location pattern into Resource objects.protected ResourcePathMatchingResourcePatternResolver. resolveRootDirResource(Resource original)Resolve the specified resource for path matching.Methods in org.hotswap.agent.util.spring.path that return types with arguments of type Resource Modifier and Type Method 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.Methods in org.hotswap.agent.util.spring.path with parameters of type Resource Modifier and Type Method 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 booleanPathMatchingResourcePatternResolver. isJarResource(Resource resource)Return whether the given resource handle indicates a jar resource that thedoFindPathMatchingJarResourcesmethod can handle.protected ResourcePathMatchingResourcePatternResolver. resolveRootDirResource(Resource original)Resolve the specified resource for path matching.Method parameters in org.hotswap.agent.util.spring.path with type arguments of type Resource Modifier and Type Method Description protected voidPathMatchingResourcePatternResolver. addAllClassLoaderJarRoots(ClassLoader classLoader, Set<Resource> result)Search allURLClassLoaderURLs 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. -
Uses of Resource in org.hotswap.agent.versions
Methods in org.hotswap.agent.versions with parameters of type Resource Modifier and Type Method Description static ManifestInfoDeploymentInfo. getManifest(Resource resource)Gets the manifest for a specific resource.
-