|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockftpserver.fake.filesystem.AbstractFileSystemEntry
org.mockftpserver.fake.filesystem.DirectoryEntry
public class DirectoryEntry
File system entry representing a directory
| Constructor Summary | |
|---|---|
DirectoryEntry()
Construct a new instance without setting its path |
|
DirectoryEntry(String path)
Construct a new instance with the specified value for its path |
|
| Method Summary | |
|---|---|
FileSystemEntry |
cloneWithNewPath(String path)
Return a new FileSystemEntry that is a clone of this object, except having the specified path |
long |
getSize()
Return the size of this directory. |
boolean |
isDirectory()
Return true to indicate that this entry represents a directory |
String |
toString()
|
| Methods inherited from class org.mockftpserver.fake.filesystem.AbstractFileSystemEntry |
|---|
getGroup, getLastModified, getName, getOwner, getPath, getPermissions, lockPath, setGroup, setLastModified, setOwner, setPath, setPermissions, setPermissionsFromString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryEntry()
public DirectoryEntry(String path)
path - - the value for path| Method Detail |
|---|
public boolean isDirectory()
isDirectory in interface FileSystemEntryisDirectory in class AbstractFileSystemEntrypublic long getSize()
public String toString()
toString in class ObjectObject.toString()public FileSystemEntry cloneWithNewPath(String path)
path - - the new path value for the cloned file system entry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||