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, isWritable
getFileForLastModifiedCheck, isOpen, lastModified, toString
contentLength, createRelative, exists, getDescription, getFile, getFilename, getURI, getURL, isOpen, isReadable, lastModified
getInputStream
public FileSystemContextResource(String path)
public String getPathWithinContext()
ContextResource
This is typically path relative to a context-specific root directory, e.g. a ServletContext root or a PortletContext root.
getPathWithinContext
在接口中 ContextResource
Copyright © 2018 jretty-org. All rights reserved.