public class NoneFileSystemFactory extends java.lang.Object implements FileSystemFactory
| Modifier and Type | Field and Description |
|---|---|
static NoneFileSystemFactory |
INSTANCE |
| Constructor and Description |
|---|
NoneFileSystemFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.nio.file.FileSystem |
createFileSystem(SessionContext session)
Create user specific file system.
|
java.nio.file.Path |
getUserHomeDir(SessionContext session) |
public static final NoneFileSystemFactory INSTANCE
public java.nio.file.Path getUserHomeDir(SessionContext session) throws java.io.IOException
getUserHomeDir in interface FileSystemFactorysession - The session created for the usernull if nonejava.io.IOException - If failed to resolve user's home directorypublic java.nio.file.FileSystem createFileSystem(SessionContext session) throws java.io.IOException
FileSystemFactorycreateFileSystem in interface FileSystemFactorysession - The session created for the userFileSystem for the provided sessionjava.io.IOException - if the file system can not be created