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) |
FileSystem |
createFileSystem(Session session)
Create user specific file system.
|
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 FileSystem createFileSystem(Session session) throws IOException
FileSystemFactorycreateFileSystem in interface FileSystemFactorysession - The session created for the userFileSystem for the provided sessionIOException - when the filesystem can not be createdCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.