private static class DefaultResourceLoader.ClassPathContextResource extends ClassPathResource
ClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.
Fields inherited from class | Fields |
---|---|
class ClassPathResource |
classLoader, clazz, path |
Constructor and description |
---|
ClassPathContextResource
(java.lang.String path, java.lang.ClassLoader classLoader) |
Type Params | Return Type | Name and description |
---|---|---|
|
public Resource |
createRelative(java.lang.String relativePath) |
|
public java.lang.String |
getPathWithinContext() |
Methods inherited from class | Name |
---|---|
class ClassPathResource |
createRelative, equals, exists, getClassLoader, getDescription, getFilename, getInputStream, getPath, getURI, getURL, hashCode, nullSafeEquals |
class AbstractFileResolvingResource |
contentLength, exists, getFile, getFile, getFileForLastModifiedCheck, isReadable, lastModified, useCachesIfNecessary |