public interface FileSystemEntry
| Modifier and Type | Method and Description |
|---|---|
FileSystemEntry |
cloneWithNewPath(java.lang.String path)
Return a new FileSystemEntry that is a clone of this object, except having the specified path
|
java.lang.String |
getGroup() |
java.util.Date |
getLastModified()
Return the timestamp Date for the last modification of this file system entry
|
java.lang.String |
getName()
Return the file name or directory name (no path) for this entry
|
java.lang.String |
getOwner() |
java.lang.String |
getPath()
Return the path for this file system entry
|
Permissions |
getPermissions() |
long |
getSize()
Return the size of this file system entry
|
boolean |
isDirectory()
Return true if this entry represents a directory, false otherwise
|
void |
lockPath()
Lock down the path so it cannot be changed
|
void |
setLastModified(java.util.Date lastModified)
Set the timestamp Date for the last modification of this file system entry
|
boolean isDirectory()
java.lang.String getPath()
java.lang.String getName()
long getSize()
java.util.Date getLastModified()
void setLastModified(java.util.Date lastModified)
lastModified - - the lastModified value, as a Datejava.lang.String getOwner()
java.lang.String getGroup()
Permissions getPermissions()
FileSystemEntry cloneWithNewPath(java.lang.String path)
path - - the new path value for the cloned file system entryvoid lockPath()