|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.filesystem.NativeFileSystemView
public class NativeFileSystemView
File system view based on native file system. Here the root directory will be user virtual root (/).
Constructor Summary | |
---|---|
protected |
NativeFileSystemView(User user)
Constructor - set the user object. |
protected |
NativeFileSystemView(User user,
boolean caseInsensitive)
Constructor - set the user object. |
Method Summary | |
---|---|
boolean |
changeDirectory(java.lang.String dir)
Change directory. |
void |
dispose()
Dispose file system view - does nothing. |
FileObject |
getCurrentDirectory()
Get the current directory. |
FileObject |
getFileObject(java.lang.String file)
Get file object. |
FileObject |
getHomeDirectory()
Get the user home 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
FtpException
protected NativeFileSystemView(User user, boolean caseInsensitive) throws FtpException
FtpException
Method Detail |
---|
public FileObject getHomeDirectory()
getHomeDirectory
in interface FileSystemView
public FileObject getCurrentDirectory()
getCurrentDirectory
in interface FileSystemView
public FileObject getFileObject(java.lang.String file)
getFileObject
in interface FileSystemView
public boolean changeDirectory(java.lang.String dir)
changeDirectory
in interface FileSystemView
public boolean isRandomAccessible()
isRandomAccessible
in interface FileSystemView
public void dispose()
dispose
in interface FileSystemView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |