public class FileSystemContextResource extends FileSystemResource implements ContextResource
| 构造器和说明 |
|---|
FileSystemContextResource(String path) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getPathWithinContext()
Return the path within the enclosing 'context'.
|
contentLength, createRelative, equals, exists, getDescription, getFile, getFilename, getInputStream, getOutputStream, getPath, getURI, getURL, hashCode, isReadable, isWritablegetFileForLastModifiedCheck, isOpen, lastModified, toStringcontentLength, createRelative, exists, getDescription, getFile, getFilename, getURI, getURL, isOpen, isReadable, lastModifiedgetInputStreampublic FileSystemContextResource(String path)
public String getPathWithinContext()
ContextResourceThis is typically path relative to a context-specific root directory, e.g. a ServletContext root or a PortletContext root.
getPathWithinContext 在接口中 ContextResourceCopyright © 2018 jretty-org. All rights reserved.