|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sshd.server.filesystem.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(String userName)
Constructor - internal do not use directly, use NativeFileSystemFactory instead |
|
NativeFileSystemView(String userName,
boolean caseInsensitive)
Constructor - internal do not use directly, use NativeFileSystemFactory instead |
Method Summary | |
---|---|
SshFile |
getFile(SshFile baseDir,
String file)
Get file object. |
SshFile |
getFile(String file)
Get file object. |
protected SshFile |
getFile(String dir,
String file)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected NativeFileSystemView(String userName)
NativeFileSystemFactory
instead
public NativeFileSystemView(String userName, boolean caseInsensitive)
NativeFileSystemFactory
instead
Method Detail |
---|
public SshFile getFile(String file)
getFile
in interface FileSystemView
file
- The path to the file to get
SshFile
for the provided pathpublic SshFile getFile(SshFile baseDir, String file)
FileSystemView
getFile
in interface FileSystemView
baseDir
- The reference towards which the file should be resolvedfile
- The path to the file to get
SshFile
for the provided pathprotected SshFile getFile(String dir, String file)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |