Package org.apache.commons.vfs2
Class FileSystemOptions
- java.lang.Object
-
- org.apache.commons.vfs2.FileSystemOptions
-
- All Implemented Interfaces:
java.lang.Cloneable
public final class FileSystemOptions extends java.lang.Object implements java.lang.Cloneable
Configures file systems individually with these options.To configure a file system, you set properties on a
FileSystemOptions
object. Most file systems provide aFileSystemConfigBuilder
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
Constructors Modifier Constructor Description FileSystemOptions()
Creates a new instance.protected
FileSystemOptions(java.util.Map<org.apache.commons.vfs2.FileSystemOptions.FileSystemOptionKey,java.lang.Object> options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
int
compareTo(FileSystemOptions other)
boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
FileSystemOptions
public FileSystemOptions()
Creates a new instance.
-
FileSystemOptions
protected FileSystemOptions(java.util.Map<org.apache.commons.vfs2.FileSystemOptions.FileSystemOptionKey,java.lang.Object> options)
-
-
Method Detail
-
compareTo
public int compareTo(FileSystemOptions other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
clone
public java.lang.Object clone()
- Overrides:
clone
in classjava.lang.Object
- Since:
- 2.0
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-