Package org.apache.commons.vfs2
Class FileSystemOptions
java.lang.Object
org.apache.commons.vfs2.FileSystemOptions
- All Implemented Interfaces:
Cloneable
,Comparable<FileSystemOptions>
public final class FileSystemOptions
extends Object
implements Cloneable, Comparable<FileSystemOptions>
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.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance.FileSystemOptions
(Map<org.apache.commons.vfs2.FileSystemOptions.FileSystemOptionKey, Object> options) Constructs a new instance with the given options. -
Method Summary
-
Constructor Details
-
FileSystemOptions
public FileSystemOptions()Constructs a new instance. -
FileSystemOptions
public FileSystemOptions(Map<org.apache.commons.vfs2.FileSystemOptions.FileSystemOptionKey, Object> options) Constructs a new instance with the given options.- Parameters:
options
- the options.- Since:
- 2.10.0
-
-
Method Details