class DefaultResourceFactory
Default implementation of ResourceFactory.
This is an internal class and its API is subject to change.| Type Params | Return Type | Name and description |
|---|---|---|
|
Resource |
getResource(String path)Return a Resource instance suitable for the specified path. |
Return a Resource instance suitable for the specified path.
path - - the path to the resource. Must not be null or empty. This may be
optionally prefixed by "classpath:" or any of the valid java.net.URL prefixes
(e.g., "file:", "http:")