public class NativeFileSystemView extends java.lang.Object implements FileSystemView
| Modifier | Constructor and Description |
|---|---|
protected |
NativeFileSystemView(java.lang.String userName)
Constructor - internal do not use directly, use
NativeFileSystemFactory instead |
|
NativeFileSystemView(java.lang.String userName,
boolean caseInsensitive)
Constructor - internal do not use directly, use
NativeFileSystemFactory instead |
| Modifier and Type | Method and Description |
|---|---|
NativeSshFile |
createNativeSshFile(java.lang.String fileName2,
java.io.File fileObj,
java.lang.String userName2) |
SshFile |
getFile(SshFile baseDir,
java.lang.String file)
Get file object.
|
SshFile |
getFile(java.lang.String file)
Get file object.
|
protected SshFile |
getFile(java.lang.String dir,
java.lang.String file) |
java.lang.String |
getPhysicalUserDir()
Returns the physical user directory, for accessing the according files or directories.
|
java.lang.String |
getUserName() |
java.lang.String |
getVirtualUserDir()
Returns the virtual user directory.
|
protected NativeFileSystemView(java.lang.String userName)
NativeFileSystemFactory insteadpublic NativeFileSystemView(java.lang.String userName,
boolean caseInsensitive)
NativeFileSystemFactory insteadpublic java.lang.String getUserName()
public SshFile getFile(java.lang.String file)
getFile in interface FileSystemViewfile - The path to the file to getSshFile for the provided pathpublic SshFile getFile(SshFile baseDir, java.lang.String file)
FileSystemViewgetFile in interface FileSystemViewbaseDir - The reference towards which the file should be resolvedfile - The path to the file to getSshFile for the provided pathprotected SshFile getFile(java.lang.String dir, java.lang.String file)
public java.lang.String getPhysicalUserDir()
public java.lang.String getVirtualUserDir()
public NativeSshFile createNativeSshFile(java.lang.String fileName2, java.io.File fileObj, java.lang.String userName2)
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.