public class NativeFileSystemFactory extends AbstractLoggingBean implements FileSystemFactory
Modifier and Type | Field and Description |
---|---|
static NativeFileSystemFactory |
INSTANCE |
log
Constructor and Description |
---|
NativeFileSystemFactory() |
NativeFileSystemFactory(boolean createHome) |
Modifier and Type | Method and Description |
---|---|
FileSystem |
createFileSystem(Session session)
Create user specific file system.
|
boolean |
isCreateHome()
Should the home directories be created automatically
|
void |
setCreateHome(boolean createHome)
Set if the home directories be created automatically
|
public static final NativeFileSystemFactory INSTANCE
public NativeFileSystemFactory()
public NativeFileSystemFactory(boolean createHome)
public boolean isCreateHome()
public void setCreateHome(boolean createHome)
createHome
- true if the file system will create the home directory if not availablepublic FileSystem createFileSystem(Session session)
FileSystemFactory
createFileSystem
in interface FileSystemFactory
session
- The session created for the userFileSystem
for the provided sessionCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.