public class VirtualFileSystemFactory extends Object implements FileSystemFactory
| Constructor and Description |
|---|
VirtualFileSystemFactory() |
VirtualFileSystemFactory(String defaultHomeDir) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
computeRootDir(String userName) |
FileSystemView |
createFileSystemView(Session session)
Create user specific file system view.
|
String |
getDefaultHomeDir() |
String |
getUserHomeDir(String userName) |
void |
setDefaultHomeDir(String defaultHomeDir) |
void |
setUserHomeDir(String userName,
String userHomeDir) |
public VirtualFileSystemFactory()
public VirtualFileSystemFactory(String defaultHomeDir)
public void setDefaultHomeDir(String defaultHomeDir)
public String getDefaultHomeDir()
public FileSystemView createFileSystemView(Session session)
FileSystemFactorycreateFileSystemView in interface FileSystemFactorysession - The session created for the userFileSystemView for the provided sessionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.