-
- All Known Implementing Classes:
EmptyResource,JarFileResource,JarResource,PathResource,Resource,ResourceCollection,URLResource
public interface ResourceFactoryResourceFactory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourcegetResource(java.lang.String path)Get a Resource from a provided String.
-
-
-
Method Detail
-
getResource
Resource getResource(java.lang.String path) throws java.io.IOException
Get a Resource from a provided String.The behavior here is dependent on the implementation of ResourceFactory. The provided path can be resolved against a known Resource, or can be a from-scratch Resource.
- Parameters:
path- The path to the resource- Returns:
- The resource, that might not actually exist (yet).
- Throws:
java.io.IOException- if unable to create Resource
-
-