public class VfsFileSystemFactory extends Object implements org.apache.ftpserver.ftplet.FileSystemFactory
| Constructor and Description |
|---|
VfsFileSystemFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.ftpserver.ftplet.FileSystemView |
createFileSystemView(org.apache.ftpserver.ftplet.User user)
Creates a FileSystemView for the given user.
|
VfsAuthenticator |
getAuthenticator() |
VfsFtpFileFactory |
getFileFactory()
Gets the factory that is used to create cfs file wrappers,
defaults to VfsFtpFileFactory
|
void |
setAuthenticator(VfsAuthenticator authenticator) |
void |
setFileFactory(VfsFtpFileFactory fileFactory)
Sets the factory to use to create the vfs file wrappers
|
public VfsAuthenticator getAuthenticator()
public void setAuthenticator(VfsAuthenticator authenticator)
public void setFileFactory(VfsFtpFileFactory fileFactory)
fileFactory - the factory to setpublic VfsFtpFileFactory getFileFactory()
public org.apache.ftpserver.ftplet.FileSystemView createFileSystemView(org.apache.ftpserver.ftplet.User user)
throws org.apache.ftpserver.ftplet.FtpException
createFileSystemView in interface org.apache.ftpserver.ftplet.FileSystemFactoryuser - the user to create the view fororg.apache.ftpserver.ftplet.FtpExceptionCopyright © 2008–2020. All rights reserved.