Package org.apache.commons.vfs2
Class FileSystemOptions
java.lang.Object
org.apache.commons.vfs2.FileSystemOptions
- All Implemented Interfaces:
Cloneable
Configures file systems individually with these options.
To configure a file system, you set properties on a FileSystemOptions
object. Most file systems provide a
FileSystemConfigBuilder
with specific options for that file system.
To use the options, pass them to FileSystemManager.resolveFile(String,FileSystemOptions)
. From there, the
options apply to all files that are resolved relative to that file.
- See Also:
-
DefaultFileSystemConfigBuilder
FtpFileSystemConfigBuilder
FtpsFileSystemConfigBuilder
org.apache.commons.vfs2.provider.hdfs.HdfsFileSystemConfigBuilder
HttpFileSystemConfigBuilder
org.apache.commons.vfs2.provider.webdav.WebdavFileSystemConfigBuilder
RamFileSystemConfigBuilder
ResourceFileSystemConfigBuilder
SftpFileSystemConfigBuilder
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCreates a new instance.protected
FileSystemOptions
(Map<org.apache.commons.vfs2.FileSystemOptions.FileSystemOptionKey, Object> options) -
Method Summary
-
Constructor Details
-
FileSystemOptions
public FileSystemOptions()Creates a new instance. -
FileSystemOptions
protected FileSystemOptions(Map<org.apache.commons.vfs2.FileSystemOptions.FileSystemOptionKey, Object> options)
-
-
Method Details