private static class FileSystemResourceLoader.FileSystemContextResource extends FileSystemResource implements ContextResource
Constructor and Description |
---|
FileSystemContextResource(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPathWithinContext()
Return the path within the enclosing 'context'.
|
contentLength, createRelative, equals, exists, getDescription, getFile, getFilename, getInputStream, getOutputStream, getPath, getURI, getURL, hashCode, isReadable, isWritable
getFileForLastModifiedCheck, isOpen, lastModified, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contentLength, createRelative, exists, getDescription, getFile, getFilename, getURI, getURL, isOpen, isReadable, lastModified
getInputStream
public FileSystemContextResource(java.lang.String path)
public java.lang.String getPathWithinContext()
ContextResource
This is typically path relative to a context-specific root directory, e.g. a ServletContext root or a PortletContext root.
getPathWithinContext
in interface ContextResource