public class FilePath extends ApplicationPath
log
Modifier and Type | Method and Description |
---|---|
protected Path |
getPath(java.lang.String path,
HttpServletRequest request,
ServletContext app)
Returns the underlying path.
|
Path |
getRoot()
Returns the root path.
|
void |
setRoot(Path path)
path the root path.
|
java.lang.String |
toString() |
canRead, exists, getAttribute, getAttributeNames, getLastModified, getLength, isDirectory, isFile, list, mkdir, openRead, openWrite, remove, removeAttribute, rmdir, setAttribute
destroy, removeAttribute, rename
public FilePath()
public FilePath(Path root)
public void setRoot(Path path)
public Path getRoot()
protected Path getPath(java.lang.String path, HttpServletRequest request, ServletContext app) throws java.io.IOException
getPath
in class ApplicationPath
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object