public interface FileSystemView
Modifier and Type | Method and Description |
---|---|
boolean |
changeWorkingDirectory(String dir)
Change directory.
|
void |
dispose()
Dispose file system view.
|
FtpFile |
getFile(String file)
Get file object.
|
FtpFile |
getHomeDirectory()
Get the user home directory.
|
FtpFile |
getWorkingDirectory()
Get user current directory.
|
boolean |
isRandomAccessible()
Does the file system support random file access?
|
FtpFile getHomeDirectory() throws FtpException
FtpFile
for the users home directoryFtpException
FtpFile getWorkingDirectory() throws FtpException
FtpFile
for the users current directoryFtpException
boolean changeWorkingDirectory(String dir) throws FtpException
dir
- The path of the directory to set as the current directory for the userFtpException
FtpFile getFile(String file) throws FtpException
file
- The path to the file to getFtpFile
for the provided pathFtpException
boolean isRandomAccessible() throws FtpException
FtpException
void dispose()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.