|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileSystemView
This is an abstraction over the user file system view.
| Method Summary | |
|---|---|
boolean |
changeWorkingDirectory(java.lang.String dir)
Change directory. |
void |
dispose()
Dispose file system view. |
FtpFile |
getFile(java.lang.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? |
| Method Detail |
|---|
FtpFile getHomeDirectory()
throws FtpException
FtpFile for the users home directory
FtpException
FtpFile getWorkingDirectory()
throws FtpException
FtpFile for the users current directory
FtpException
boolean changeWorkingDirectory(java.lang.String dir)
throws FtpException
dir - The path of the directory to set as the current directory for the user
FtpException
FtpFile getFile(java.lang.String file)
throws FtpException
file - The path to the file to get
FtpFile for the provided path
FtpException
boolean isRandomAccessible()
throws FtpException
FtpExceptionvoid dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||