Package com.logicaldoc.ftp
Class FtpFileSystemView
java.lang.Object
com.logicaldoc.ftp.FtpFileSystemView
- All Implemented Interfaces:
org.apache.ftpserver.ftplet.FileSystemView
A logical representation of the LogicalDOC file system
- Since:
- 8.0
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
ConstructorDescriptionFtpFileSystemView
(FtpUser user, boolean caseInsensitive) Constructor - internal do not use directly, useNativeFileSystemFactory
instead -
Method Summary
Modifier and TypeMethodDescriptionboolean
changeWorkingDirectory
(String path) void
dispose()
org.apache.ftpserver.ftplet.FtpFile
org.apache.ftpserver.ftplet.FtpFile
org.apache.ftpserver.ftplet.FtpFile
boolean
-
Constructor Details
-
FtpFileSystemView
public FtpFileSystemView(FtpUser user, boolean caseInsensitive) throws org.apache.ftpserver.ftplet.FtpException Constructor - internal do not use directly, useNativeFileSystemFactory
instead- Parameters:
user
- the current usercaseInsensitive
- not used- Throws:
org.apache.ftpserver.ftplet.FtpException
- error in the FTP server
-
-
Method Details
-
changeWorkingDirectory
- Specified by:
changeWorkingDirectory
in interfaceorg.apache.ftpserver.ftplet.FileSystemView
- Throws:
org.apache.ftpserver.ftplet.FtpException
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.apache.ftpserver.ftplet.FileSystemView
-
getFile
public org.apache.ftpserver.ftplet.FtpFile getFile(String path) throws org.apache.ftpserver.ftplet.FtpException - Specified by:
getFile
in interfaceorg.apache.ftpserver.ftplet.FileSystemView
- Throws:
org.apache.ftpserver.ftplet.FtpException
-
getHomeDirectory
public org.apache.ftpserver.ftplet.FtpFile getHomeDirectory() throws org.apache.ftpserver.ftplet.FtpException- Specified by:
getHomeDirectory
in interfaceorg.apache.ftpserver.ftplet.FileSystemView
- Throws:
org.apache.ftpserver.ftplet.FtpException
-
getWorkingDirectory
public org.apache.ftpserver.ftplet.FtpFile getWorkingDirectory() throws org.apache.ftpserver.ftplet.FtpException- Specified by:
getWorkingDirectory
in interfaceorg.apache.ftpserver.ftplet.FileSystemView
- Throws:
org.apache.ftpserver.ftplet.FtpException
-
isRandomAccessible
public boolean isRandomAccessible() throws org.apache.ftpserver.ftplet.FtpException- Specified by:
isRandomAccessible
in interfaceorg.apache.ftpserver.ftplet.FileSystemView
- Throws:
org.apache.ftpserver.ftplet.FtpException
-