Package | Description |
---|---|
org.mockftpserver.fake | |
org.mockftpserver.fake.filesystem |
Modifier and Type | Method and Description |
---|---|
boolean |
UserAccount.canExecute(FileSystemEntry entry)
Return true if this user has execute access to the file/directory represented by the specified FileSystemEntry object.
|
boolean |
UserAccount.canRead(FileSystemEntry entry)
Return true if this user has read access to the file/directory represented by the specified FileSystemEntry object.
|
boolean |
UserAccount.canWrite(FileSystemEntry entry)
Return true if this user has write access to the file/directory represented by the specified FileSystemEntry object.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFileSystemEntry
The abstract superclass for concrete file system entry classes representing files and directories.
|
class |
DirectoryEntry
File system entry representing a directory
|
class |
FileEntry
File system entry representing a file
|
Modifier and Type | Method and Description |
---|---|
FileSystemEntry |
FileEntry.cloneWithNewPath(String path)
Return a new FileSystemEntry that is a clone of this object, except having the specified path
|
FileSystemEntry |
DirectoryEntry.cloneWithNewPath(String path)
Return a new FileSystemEntry that is a clone of this object, except having the specified path
|
FileSystemEntry |
FileSystemEntry.cloneWithNewPath(String path)
Return a new FileSystemEntry that is a clone of this object, except having the specified path
|
FileSystemEntry |
FileSystem.getEntry(String path)
Returns the FileSystemEntry object representing the file system entry at the specified path, or null
if the path does not specify an existing file or directory within this file system.
|
FileSystemEntry |
AbstractFakeFileSystem.getEntry(String path)
Returns the FileSystemEntry object representing the file system entry at the specified path, or null
if the path does not specify an existing file or directory within this file system.
|
protected FileSystemEntry |
AbstractFakeFileSystem.getRequiredEntry(String path)
Return the FileSystemEntry for the specified path.
|
Modifier and Type | Method and Description |
---|---|
void |
FileSystem.add(FileSystemEntry entry)
Add the specified file system entry (file or directory) to this file system
|
void |
AbstractFakeFileSystem.add(FileSystemEntry entry)
Add the specified file system entry (file or directory) to this file system
|
String |
DirectoryListingFormatter.format(FileSystemEntry fileSystemEntry)
Format the directory listing for a single file/directory entry.
|
String |
WindowsDirectoryListingFormatter.format(FileSystemEntry fileSystemEntry)
Format the directory listing for a single file/directory entry.
|
String |
UnixDirectoryListingFormatter.format(FileSystemEntry fileSystemEntry)
Format the directory listing for a single file/directory entry.
|
String |
FileSystem.formatDirectoryListing(FileSystemEntry fileSystemEntry)
Return the formatted directory listing entry for the file represented by the specified FileSystemEntry
|
String |
AbstractFakeFileSystem.formatDirectoryListing(FileSystemEntry fileSystemEntry)
Return the formatted directory listing entry for the file represented by the specified FileSystemEntry
|
protected void |
AbstractFakeFileSystem.renamePath(FileSystemEntry entry,
String toPath)
Rename the file system entry to the specified path name
|
Copyright © 2016. All rights reserved.