Lines Matching full:filesystem
14 The filesystem abstraction is accessed through the <<<FileSystem>>> interface in the
15 <<<org.mockftpserver.fake.filesystem>>> package. Two implementations of this interface are provided:
17 simulating a real file system. You are also free to implement your own <<<FileSystem>>> implementation.
30 <<WindowsFakeFileSystem>> is an implementation of the <<<FileSystem>>> interface that simulates a Microsoft
44 <<UnixFakeFileSystem>> is an implementation of the <<<FileSystem>>> interface that simulates a Unix
65 filesystem-specific manner. This property is initialized by concrete subclasses.
71 Each <file> or <directory> entry within a <<<FileSystem>>> has associated <owner>, <group> and <permissions>
75 If, however, these values are specified for a filesystem entry, then they affect whether a file can be created,
85 The permissions for a file or directory entry in the filesystem are represented by a 9-character string of
108 ** FileSystem Access Rules
114 If the <permissions> are configured for a file or directory within the <<<FileSystem>>>, then
143 Each file and directory in the filesystem (subclass of <<<AbstractFileSystemEntry>>>) contains <owner>
160 <<<FakeFtpServer>>> filesystem. In this case, the filesystem is an instance of <<<WindowsFakeFileSystem>>>,
169 FileSystem fileSystem = new WindowsFakeFileSystem();
190 fileSystem.add(directoryEntry1);
191 fileSystem.add(directoryEntry2);
192 fileSystem.add(fileEntry1);
193 fileSystem.add(fileEntry2);
196 fakeFtpServer.setFileSystem(fileSystem);
212 When you want to retrieve and/or verify the contents of the <<<FakeFtpServer>>> filesystem, you can use
213 the <<<FileSystem#getEntry(String path)>>> method, as shown in the following code.
216 DirectoryEntry dirEntry = (DirectoryEntry)fileSystem.getEntry("c:/data");
218 FileEntry fileEntry = (FileEntry)fileSystem.getEntry("c:/data/file1.txt");
220 FileEntry newFileEntry = (FileEntry)fileSystem.getEntry("c:/data/new.txt");
225 See the javadoc for <<<FileSystem>>>, <<<FileEntry>>> and <<<DirectoryEntry>>> for more information
233 for an example of how to configure a <<<FakeFtpServer>>> instance and associated filesystem in the