public class NativeFileSystemView extends Object implements FileSystemView
Modifier | Constructor and Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
NativeSshFile |
createNativeSshFile(String fileName2,
File fileObj,
String userName2) |
SshFile |
getFile(SshFile baseDir,
String file)
Get file object.
|
SshFile |
getFile(String file)
Get file object.
|
protected SshFile |
getFile(String dir,
String file) |
String |
getPhysicalUserDir()
Returns the physical user directory, for accessing the according files or directories.
|
String |
getVirtualUserDir()
Returns the virtual user directory.
|
protected NativeFileSystemView(String userName)
NativeFileSystemFactory
insteadpublic NativeFileSystemView(String userName, boolean caseInsensitive)
NativeFileSystemFactory
insteadpublic SshFile getFile(String file)
getFile
in interface FileSystemView
file
- The path to the file to getSshFile
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 getSshFile
for the provided pathpublic String getPhysicalUserDir()
public String getVirtualUserDir()
public NativeSshFile createNativeSshFile(String fileName2, File fileObj, String userName2)
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.