|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ftpserver.filesystem.nativefs.impl.NativeFileSystemView
public class NativeFileSystemView
Internal class, do not use directly. File system view based on native file system. Here the root directory will be user virtual root (/).
| Constructor Summary | |
|---|---|
protected |
NativeFileSystemView(User user)
Constructor - internal do not use directly, use NativeFileSystemFactory instead |
|
NativeFileSystemView(User user,
boolean caseInsensitive)
Constructor - internal do not use directly, use NativeFileSystemFactory instead |
| Method Summary | |
|---|---|
boolean |
changeWorkingDirectory(java.lang.String dir)
Change directory. |
void |
dispose()
Dispose file system view - does nothing. |
FtpFile |
getFile(java.lang.String file)
Get file object. |
FtpFile |
getHomeDirectory()
Get the user home directory. |
FtpFile |
getWorkingDirectory()
Get the current directory. |
boolean |
isRandomAccessible()
Is the file content random accessible? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected NativeFileSystemView(User user)
throws FtpException
NativeFileSystemFactory instead
FtpException
public NativeFileSystemView(User user,
boolean caseInsensitive)
throws FtpException
NativeFileSystemFactory instead
FtpException| Method Detail |
|---|
public FtpFile getHomeDirectory()
getHomeDirectory in interface FileSystemViewpublic FtpFile getWorkingDirectory()
getWorkingDirectory in interface FileSystemViewpublic FtpFile getFile(java.lang.String file)
getFile in interface FileSystemViewpublic boolean changeWorkingDirectory(java.lang.String dir)
changeWorkingDirectory in interface FileSystemViewpublic boolean isRandomAccessible()
isRandomAccessible in interface FileSystemViewpublic void dispose()
dispose in interface FileSystemView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||