public interface FileSystemFactory
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) |
java.nio.file.Path getUserHomeDir(SessionContext session) throws java.io.IOException
session
- The session created for the usernull
if nonejava.io.IOException
- If failed to resolve user's home directoryjava.nio.file.FileSystem createFileSystem(SessionContext session) throws java.io.IOException
session
- The session created for the userFileSystem
for the provided sessionjava.io.IOException
- if the file system can not be created