public class NativeFileSystemFactory extends Object implements FileSystemFactory
Constructor and Description |
---|
NativeFileSystemFactory() |
Modifier and Type | Method and Description |
---|---|
FileSystemView |
createFileSystemView(User user)
Create the appropriate user file system view.
|
boolean |
isCaseInsensitive()
Is this file system case insensitive.
|
boolean |
isCreateHome()
Should the home directories be created automatically
|
void |
setCaseInsensitive(boolean caseInsensitive)
Should this file system be case insensitive.
|
void |
setCreateHome(boolean createHome)
Set if the home directories be created automatically
|
public boolean isCreateHome()
public void setCreateHome(boolean createHome)
createHome
- true if the file system will create the home directory if not availablepublic boolean isCaseInsensitive()
public void setCaseInsensitive(boolean caseInsensitive)
caseInsensitive
- true if this file system should be case insensitivepublic FileSystemView createFileSystemView(User user) throws FtpException
createFileSystemView
in interface FileSystemFactory
user
- The user for which the file system should be createdFileSystemView
for the provided userFtpException
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.