public class NoneFileSystemFactory extends Object implements FileSystemFactory
| Modifier and Type | Field and Description |
|---|---|
static NoneFileSystemFactory |
INSTANCE |
| Constructor and Description |
|---|
NoneFileSystemFactory() |
| Modifier and Type | Method and Description |
|---|---|
FileSystem |
createFileSystem(SessionContext session)
Create user specific file system.
|
Path |
getUserHomeDir(SessionContext session) |
public static final NoneFileSystemFactory INSTANCE
public Path getUserHomeDir(SessionContext session) throws IOException
getUserHomeDir in interface FileSystemFactorysession - The session created for the usernull if noneIOException - If failed to resolve user's home directorypublic FileSystem createFileSystem(SessionContext session) throws IOException
FileSystemFactorycreateFileSystem in interface FileSystemFactorysession - The session created for the userFileSystem for the provided sessionIOException - if the file system can not be createdCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.