java.lang.Cloneablepublic final class FileSystemOptions extends java.lang.Object implements java.lang.Cloneable
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.
DefaultFileSystemConfigBuilder,
FtpFileSystemConfigBuilder,
FtpsFileSystemConfigBuilder,
org.apache.commons.vfs2.provider.hdfs.HdfsFileSystemConfigBuilder,
HttpFileSystemConfigBuilder,
org.apache.commons.vfs2.provider.webdav.WebdavFileSystemConfigBuilder,
RamFileSystemConfigBuilder,
ResourceFileSystemConfigBuilder,
SftpFileSystemConfigBuilder| Modifier | Constructor | Description |
|---|---|---|
|
FileSystemOptions() |
Creates a new instance.
|
protected |
FileSystemOptions(java.util.Map<org.apache.commons.vfs2.FileSystemOptions.FileSystemOptionKey,java.lang.Object> options) |
| 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() |
public FileSystemOptions()
protected FileSystemOptions(java.util.Map<org.apache.commons.vfs2.FileSystemOptions.FileSystemOptionKey,java.lang.Object> options)
public int compareTo(FileSystemOptions other)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object