Class VirtualFileSystemView
java.lang.Object
org.apache.nifi.processors.standard.ftp.filesystem.VirtualFileSystemView
- All Implemented Interfaces:
org.apache.ftpserver.ftplet.FileSystemView
public class VirtualFileSystemView
extends Object
implements org.apache.ftpserver.ftplet.FileSystemView
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate VirtualPathprivate final VirtualFileSystemprivate static final org.slf4j.Logger -
Constructor Summary
ConstructorsConstructorDescriptionVirtualFileSystemView(org.apache.ftpserver.ftplet.User user, VirtualFileSystem fileSystem) -
Method Summary
Modifier and TypeMethodDescriptionbooleanchangeWorkingDirectory(String targetPath) voiddispose()org.apache.ftpserver.ftplet.FtpFileorg.apache.ftpserver.ftplet.FtpFileorg.apache.ftpserver.ftplet.FtpFileboolean
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
fileSystem
-
currentDirectory
-
-
Constructor Details
-
VirtualFileSystemView
public VirtualFileSystemView(org.apache.ftpserver.ftplet.User user, VirtualFileSystem fileSystem) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
-
Method Details
-
getHomeDirectory
public org.apache.ftpserver.ftplet.FtpFile getHomeDirectory()- Specified by:
getHomeDirectoryin interfaceorg.apache.ftpserver.ftplet.FileSystemView
-
getWorkingDirectory
public org.apache.ftpserver.ftplet.FtpFile getWorkingDirectory()- Specified by:
getWorkingDirectoryin interfaceorg.apache.ftpserver.ftplet.FileSystemView
-
changeWorkingDirectory
- Specified by:
changeWorkingDirectoryin interfaceorg.apache.ftpserver.ftplet.FileSystemView
-
getFile
public org.apache.ftpserver.ftplet.FtpFile getFile(String fileName) throws org.apache.ftpserver.ftplet.FtpException - Specified by:
getFilein interfaceorg.apache.ftpserver.ftplet.FileSystemView- Throws:
org.apache.ftpserver.ftplet.FtpException
-
isRandomAccessible
public boolean isRandomAccessible()- Specified by:
isRandomAccessiblein interfaceorg.apache.ftpserver.ftplet.FileSystemView
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.apache.ftpserver.ftplet.FileSystemView
-