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 FileSystemFactory
session
- The session created for the usernull
if noneIOException
- If failed to resolve user's home directorypublic FileSystem createFileSystem(SessionContext session) throws IOException
FileSystemFactory
createFileSystem
in interface FileSystemFactory
session
- The session created for the userFileSystem
for the provided sessionIOException
- if the file system can not be createdCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.