class DefaultResourceFactory extends java.lang.Object
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(java.lang.String path)Return a Resource instance suitable for the specified path. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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:")