Uses of Class
org.apache.commons.vfs2.FileSystemOptions
Packages that use FileSystemOptions
Package
Description
The public VFS API.
The standard VFS implementation.
The File Provider API, and utility classes.
The BZIP2 File Provider
The compressed file provider
The FTP File Provider.
The FTPS File Provider.
The GZIP File Provider
The HTTP File Provider
The Jar File Provider.
The Local File Provider.
The RAM File Provider.
The Resource File Provider
The SFTP Provider.
The Tar File Provider.
The Temporary Filespace Provider.
The Default File Provider, which wraps java.net.URL.
The Zip File Provider.
Utility classes used by the VFS.
-
Uses of FileSystemOptions in org.apache.commons.vfs2
Methods in org.apache.commons.vfs2 that return FileSystemOptionsModifier and TypeMethodDescriptionFileSystem.getFileSystemOptions()
Returns the FileSystemOptions used to instantiate this filesystem.Methods in org.apache.commons.vfs2 with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionint
FileSystemOptions.compareTo
(FileSystemOptions other) protected Boolean
FileSystemConfigBuilder.getBoolean
(FileSystemOptions opts, String name) Get named option as boolean.protected boolean
FileSystemConfigBuilder.getBoolean
(FileSystemOptions opts, String name, boolean defaultValue) Get named option as boolean.protected Boolean
FileSystemConfigBuilder.getBoolean
(FileSystemOptions opts, String name, Boolean defaultValue) Get named option as boolean.protected Byte
FileSystemConfigBuilder.getByte
(FileSystemOptions opts, String name) Get named option as byte.protected byte
FileSystemConfigBuilder.getByte
(FileSystemOptions opts, String name, byte defaultValue) Get named option as byte.protected Byte
FileSystemConfigBuilder.getByte
(FileSystemOptions opts, String name, Byte defaultValue) Get named option as byte.protected Character
FileSystemConfigBuilder.getCharacter
(FileSystemOptions opts, String name) Get named option as character.protected char
FileSystemConfigBuilder.getCharacter
(FileSystemOptions opts, String name, char defaultValue) Get named option as character.protected Character
FileSystemConfigBuilder.getCharacter
(FileSystemOptions opts, String name, Character defaultValue) Get named option as character.protected Double
FileSystemConfigBuilder.getDouble
(FileSystemOptions opts, String name) Get named option as double.protected double
FileSystemConfigBuilder.getDouble
(FileSystemOptions opts, String name, double defaultValue) Get named option as double.protected Double
FileSystemConfigBuilder.getDouble
(FileSystemOptions opts, String name, Double defaultValue) Get named option as double.protected <E extends Enum<E>>
EFileSystemConfigBuilder.getEnum
(Class<E> enumClass, FileSystemOptions opts, String name) Get named option as enumeration.protected <E extends Enum<E>>
EFileSystemConfigBuilder.getEnum
(Class<E> enumClass, FileSystemOptions opts, String name, E defaultValue) Get named option as enumeration.protected Float
FileSystemConfigBuilder.getFloat
(FileSystemOptions opts, String name) Get named option as float.protected float
FileSystemConfigBuilder.getFloat
(FileSystemOptions opts, String name, float defaultValue) Get named option as float.protected Float
FileSystemConfigBuilder.getFloat
(FileSystemOptions opts, String name, Float defaultValue) Get named option as float.protected Integer
FileSystemConfigBuilder.getInteger
(FileSystemOptions opts, String name) Get named option as integer.protected int
FileSystemConfigBuilder.getInteger
(FileSystemOptions opts, String name, int defaultValue) Get named option as integer.protected Integer
FileSystemConfigBuilder.getInteger
(FileSystemOptions opts, String name, Integer defaultValue) Get named option as integer.protected Long
FileSystemConfigBuilder.getLong
(FileSystemOptions opts, String name) Get named option as long.protected long
FileSystemConfigBuilder.getLong
(FileSystemOptions opts, String name, long defaultValue) Get named option as long.protected Long
FileSystemConfigBuilder.getLong
(FileSystemOptions opts, String name, Long defaultValue) Get named option as long.protected Object
FileSystemConfigBuilder.getParam
(FileSystemOptions opts, String name) Get named parameter.FileSystemConfigBuilder.getRootURI
(FileSystemOptions opts) Return the root URI of the file system.protected Short
FileSystemConfigBuilder.getShort
(FileSystemOptions opts, String name) Get named option as short.protected short
FileSystemConfigBuilder.getShort
(FileSystemOptions opts, String name, short defaultValue) Get named option as short.protected Short
FileSystemConfigBuilder.getShort
(FileSystemOptions opts, String name, Short defaultValue) Get named option as short.protected String
FileSystemConfigBuilder.getString
(FileSystemOptions opts, String name) Get named option as String.protected String
FileSystemConfigBuilder.getString
(FileSystemOptions opts, String name, String defaultValue) Get named option as String.protected boolean
FileSystemConfigBuilder.hasObject
(FileSystemOptions opts, String name) Is named setting specified.protected boolean
FileSystemConfigBuilder.hasParam
(FileSystemOptions opts, String name) Check if option exists.FileSystemManager.resolveFile
(String name, FileSystemOptions fileSystemOptions) Locates a file by name.protected void
FileSystemConfigBuilder.setParam
(FileSystemOptions opts, String name, boolean value) Set named parameter.protected void
FileSystemConfigBuilder.setParam
(FileSystemOptions opts, String name, Object value) Set named parameter.void
FileSystemConfigBuilder.setRootURI
(FileSystemOptions opts, String rootURI) The root URI of the file system. -
Uses of FileSystemOptions in org.apache.commons.vfs2.impl
Methods in org.apache.commons.vfs2.impl with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionDefaultFileSystemConfigBuilder.getUserAuthenticator
(FileSystemOptions opts) DefaultFileSystemManager.resolveFile
(String uri, FileSystemOptions fileSystemOptions) Locate a file by URI, use the FileSystemOptions for file-system creation.DefaultFileSystemManager.resolveFile
(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Resolves a URI, relative to a base file with specified FileSystem configuration.void
DefaultFileSystemConfigBuilder.setUserAuthenticator
(FileSystemOptions opts, UserAuthenticator userAuthenticator) Sets the user authenticator to get authentication informations.Constructors in org.apache.commons.vfs2.impl with parameters of type FileSystemOptionsModifierConstructorDescriptionVirtualFileSystem
(AbstractFileName rootName, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider
Methods in org.apache.commons.vfs2.provider that return FileSystemOptionsModifier and TypeMethodDescriptionAbstractFileSystem.getFileSystemOptions()
Return the FileSystemOptions used to instantiate this filesystem.Methods in org.apache.commons.vfs2.provider with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionAbstractFileProvider.createFileSystem
(String scheme, FileObject file, FileSystemOptions properties) Creates a layered file system.AbstractLayeredFileProvider.createFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.FileProvider.createFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected abstract FileSystem
AbstractLayeredFileProvider.doCreateFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected abstract FileSystem
AbstractOriginatingFileProvider.doCreateFileSystem
(FileName rootName, FileSystemOptions fileSystemOptions) Creates aFileSystem
.AbstractLayeredFileProvider.findFile
(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.protected FileObject
AbstractOriginatingFileProvider.findFile
(FileName name, FileSystemOptions fileSystemOptions) Locates a file from its parsed URI.AbstractOriginatingFileProvider.findFile
(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.CompositeFileProvider.findFile
(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.FileProvider.findFile
(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.protected FileSystem
AbstractFileProvider.findFileSystem
(Comparable<?> key, FileSystemOptions fileSystemProps) Locates a cached file system.protected FileSystem
AbstractOriginatingFileProvider.getFileSystem
(FileName rootName, FileSystemOptions fileSystemOptions) Returns the FileSystem associated with the specified root.VfsComponentContext.resolveFile
(String name, FileSystemOptions fileSystemOptions) Locate a file by name.VfsComponentContext.resolveFile
(FileObject baseFile, String name, FileSystemOptions fileSystemOptions) Locate a file by name.Constructors in org.apache.commons.vfs2.provider with parameters of type FileSystemOptionsModifierConstructorDescriptionprotected
AbstractFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) DefaultURLStreamHandler
(VfsComponentContext context, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.bzip2
Methods in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected FileSystem
Bzip2FileProvider.createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileSystemOptionsModifierConstructorDescriptionprotected
Bzip2FileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.compressed
Methods in org.apache.commons.vfs2.provider.compressed with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected abstract FileSystem
CompressedFileFileProvider.createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) protected FileSystem
CompressedFileFileProvider.doCreateFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.compressed with parameters of type FileSystemOptionsModifierConstructorDescriptionprotected
CompressedFileFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.ftp
Fields in org.apache.commons.vfs2.provider.ftp declared as FileSystemOptionsModifier and TypeFieldDescriptionprotected final FileSystemOptions
FTPClientWrapper.fileSystemOptions
Methods in org.apache.commons.vfs2.provider.ftp that return FileSystemOptionsMethods in org.apache.commons.vfs2.provider.ftp with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected abstract C
FtpClientFactory.ConnectionFactory.createClient
(FileSystemOptions fileSystemOptions) protected org.apache.commons.net.ftp.FTPClient
FtpClientFactory.FtpConnectionFactory.createClient
(FileSystemOptions fileSystemOptions) FtpClientFactory.ConnectionFactory.createConnection
(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) static org.apache.commons.net.ftp.FTPClient
FtpClientFactory.createConnection
(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) Creates a new connection to the server.protected FileSystem
FtpFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates the filesystem.FtpFileSystemConfigBuilder.getConnectTimeout
(FileSystemOptions opts) Gets the timeout in milliseconds to use for the socket connection.FtpFileSystemConfigBuilder.getControlEncoding
(FileSystemOptions opts) FtpFileSystemConfigBuilder.getDataTimeout
(FileSystemOptions opts) FtpFileSystemConfigBuilder.getDefaultDateFormat
(FileSystemOptions opts) Get the default date format used by the server.FtpFileSystemConfigBuilder.getEntryParser
(FileSystemOptions opts) org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory
FtpFileSystemConfigBuilder.getEntryParserFactory
(FileSystemOptions opts) FtpFileSystemConfigBuilder.getFileType
(FileSystemOptions opts) Gets the file type parameter.FtpFileSystemConfigBuilder.getPassiveMode
(FileSystemOptions opts) FtpFileSystemConfigBuilder.getProxy
(FileSystemOptions opts) Gets the Proxy.FtpFileSystemConfigBuilder.getRecentDateFormat
(FileSystemOptions opts) SeeFTPClientConfig
for details and examples.FtpFileSystemConfigBuilder.getRemoteVerification
(FileSystemOptions opts) Gets whether to use remote verification.FtpFileSystemConfigBuilder.getServerLanguageCode
(FileSystemOptions opts) Get the language code used by the server.FtpFileSystemConfigBuilder.getServerTimeZoneId
(FileSystemOptions opts) SeeFTPClientConfig
for details and examples.String[]
FtpFileSystemConfigBuilder.getShortMonthNames
(FileSystemOptions opts) SeeFTPClientConfig
for details and examples.FtpFileSystemConfigBuilder.getSoTimeout
(FileSystemOptions opts) FtpFileSystemConfigBuilder.getUserDirIsRoot
(FileSystemOptions opts) ReturnsBoolean.TRUE
if VFS should treat the user directory as the root directory.void
FtpFileSystemConfigBuilder.setConnectTimeout
(FileSystemOptions opts, Integer connectTimeout) Sets the timeout for the initial control connection.void
FtpFileSystemConfigBuilder.setControlEncoding
(FileSystemOptions opts, String encoding) SeeFTP.setControlEncoding(java.lang.String)
for details and examples.void
FtpFileSystemConfigBuilder.setDataTimeout
(FileSystemOptions opts, Integer dataTimeout) Set the data timeout for the ftp client.void
FtpFileSystemConfigBuilder.setDefaultDateFormat
(FileSystemOptions opts, String defaultDateFormat) Set the default date format used by the server.void
FtpFileSystemConfigBuilder.setEntryParser
(FileSystemOptions opts, String key) Set the FQCN of your FileEntryParser used to parse the directory listing from your server.void
FtpFileSystemConfigBuilder.setEntryParserFactory
(FileSystemOptions opts, org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory factory) FTPFileEntryParserFactory which will be used for ftp-entry parsing.void
FtpFileSystemConfigBuilder.setFileType
(FileSystemOptions opts, FtpFileType ftpFileType) Sets the file type parameter.void
FtpFileSystemConfigBuilder.setPassiveMode
(FileSystemOptions opts, boolean passiveMode) Enter into passive mode.void
FtpFileSystemConfigBuilder.setProxy
(FileSystemOptions opts, Proxy proxy) Sets the Proxy.void
FtpFileSystemConfigBuilder.setRecentDateFormat
(FileSystemOptions opts, String recentDateFormat) SeeFTPClientConfig
for details and examples.void
FtpFileSystemConfigBuilder.setRemoteVerification
(FileSystemOptions opts, boolean remoteVerification) Sets whether to use remote verification.void
FtpFileSystemConfigBuilder.setServerLanguageCode
(FileSystemOptions opts, String serverLanguageCode) Set the language code used by the server.void
FtpFileSystemConfigBuilder.setServerTimeZoneId
(FileSystemOptions opts, String serverTimeZoneId) SeeFTPClientConfig
for details and examples.void
FtpFileSystemConfigBuilder.setShortMonthNames
(FileSystemOptions opts, String[] shortMonthNames) SeeFTPClientConfig
for details and examples.void
FtpFileSystemConfigBuilder.setSoTimeout
(FileSystemOptions opts, Integer soTimeout) Sets the socket timeout for the FTP client.protected abstract void
FtpClientFactory.ConnectionFactory.setupOpenConnection
(C client, FileSystemOptions fileSystemOptions) protected void
FtpClientFactory.FtpConnectionFactory.setupOpenConnection
(org.apache.commons.net.ftp.FTPClient client, FileSystemOptions fileSystemOptions) void
FtpFileSystemConfigBuilder.setUserDirIsRoot
(FileSystemOptions opts, boolean userDirIsRoot) Use user directory as root (do not change to fs root).Constructors in org.apache.commons.vfs2.provider.ftp with parameters of type FileSystemOptionsModifierConstructorDescriptionprotected
FTPClientWrapper
(GenericFileName root, FileSystemOptions fileSystemOptions) FtpFileSystem
(GenericFileName rootName, FtpClient ftpClient, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.ftps
Methods in org.apache.commons.vfs2.provider.ftps with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionstatic org.apache.commons.net.ftp.FTPSClient
FtpsClientFactory.createConnection
(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) Creates a new connection to the server.protected FileSystem
FtpsFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates the filesystem.FtpsFileSystemConfigBuilder.getDataChannelProtectionLevel
(FileSystemOptions opts) Gets the data channel protection level (PROT).FtpsFileSystemConfigBuilder.getFtpsMode
(FileSystemOptions opts) Return the FTPS mode.FtpsFileSystemConfigBuilder.getFtpsType
(FileSystemOptions opts) Deprecated.FtpsFileSystemConfigBuilder.getKeyManager
(FileSystemOptions opts) Gets the KeyManager used to provide a client-side certificate if the FTPS server requests it.FtpsFileSystemConfigBuilder.getTrustManager
(FileSystemOptions opts) Gets the TrustManager that validates the FTPS server's certificate.void
FtpsFileSystemConfigBuilder.setDataChannelProtectionLevel
(FileSystemOptions opts, FtpsDataChannelProtectionLevel prot) Sets the data channel protection level (PROT).void
FtpsFileSystemConfigBuilder.setFtpsMode
(FileSystemOptions opts, FtpsMode ftpsMode) Set FTPS mode, either "implicit" or "explicit".void
FtpsFileSystemConfigBuilder.setFtpsType
(FileSystemOptions opts, String ftpsType) Deprecated.void
FtpsFileSystemConfigBuilder.setKeyManager
(FileSystemOptions opts, KeyManager keyManager) Sets the KeyManager used to provide a client-side certificate if the FTPS server requests it.void
FtpsFileSystemConfigBuilder.setTrustManager
(FileSystemOptions opts, TrustManager trustManager) Sets the TrustManager that validates the FTPS server's certificate.Constructors in org.apache.commons.vfs2.provider.ftps with parameters of type FileSystemOptionsModifierConstructorDescriptionFtpsFileSystem
(GenericFileName rootName, FtpClient ftpClient, FileSystemOptions fileSystemOptions) Create a new FtpsFileSystem. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.gzip
Methods in org.apache.commons.vfs2.provider.gzip with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected FileSystem
GzipFileProvider.createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs2.provider.gzip with parameters of type FileSystemOptionsModifierConstructorDescriptionprotected
GzipFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.http
Methods in org.apache.commons.vfs2.provider.http with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionstatic org.apache.commons.httpclient.HttpClient
HttpClientFactory.createConnection
(String scheme, String hostname, int port, String username, String password, FileSystemOptions fileSystemOptions) static org.apache.commons.httpclient.HttpClient
HttpClientFactory.createConnection
(HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, String password, FileSystemOptions fileSystemOptions) Creates a new connection to the server.protected FileSystem
HttpFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates aFileSystem
.int
HttpFileSystemConfigBuilder.getConnectionTimeout
(FileSystemOptions opts) Retrieve the connection timeout.org.apache.commons.httpclient.Cookie[]
HttpFileSystemConfigBuilder.getCookies
(FileSystemOptions opts) The cookies to add to the request.boolean
HttpFileSystemConfigBuilder.getFollowRedirect
(FileSystemOptions opts) Gets whether to follow redirects for the connection.int
HttpFileSystemConfigBuilder.getMaxConnectionsPerHost
(FileSystemOptions opts) Retrieve the maximum number of connections allowed per host.int
HttpFileSystemConfigBuilder.getMaxTotalConnections
(FileSystemOptions opts) Retrieve the maximum number of connections allowed.HttpFileSystemConfigBuilder.getProxyAuthenticator
(FileSystemOptions opts) Get the proxy authenticator where the system should get the credentials from.HttpFileSystemConfigBuilder.getProxyHost
(FileSystemOptions opts) Get the proxy to use for http connection.int
HttpFileSystemConfigBuilder.getProxyPort
(FileSystemOptions opts) Get the proxy-port to use for http the connection.int
HttpFileSystemConfigBuilder.getSoTimeout
(FileSystemOptions opts) Retrieve the socket timeout.HttpFileSystemConfigBuilder.getUrlCharset
(FileSystemOptions opts) Set the charset used for url encoding.HttpFileSystemConfigBuilder.getUserAgent
(FileSystemOptions opts) Return the user agent stringboolean
HttpFileSystemConfigBuilder.isPreemptiveAuth
(FileSystemOptions opts) Determines if the FileSystemOptions indicate that preemptive authentication is requested.void
HttpFileSystemConfigBuilder.setConnectionTimeout
(FileSystemOptions opts, int connectionTimeout) The connection timeout.void
HttpFileSystemConfigBuilder.setCookies
(FileSystemOptions opts, org.apache.commons.httpclient.Cookie[] cookies) The cookies to add to the request.void
HttpFileSystemConfigBuilder.setFollowRedirect
(FileSystemOptions opts, boolean redirect) Sets whether to follow redirects for the connection.void
HttpFileSystemConfigBuilder.setMaxConnectionsPerHost
(FileSystemOptions opts, int maxHostConnections) The maximum number of connections allowed to any host.void
HttpFileSystemConfigBuilder.setMaxTotalConnections
(FileSystemOptions opts, int maxTotalConnections) The maximum number of connections allowed.void
HttpFileSystemConfigBuilder.setPreemptiveAuth
(FileSystemOptions opts, boolean preemptiveAuth) Sets the given value for preemptive HTTP authentication (using BASIC) on the given FileSystemOptions object.void
HttpFileSystemConfigBuilder.setProxyAuthenticator
(FileSystemOptions opts, UserAuthenticator authenticator) Set the proxy authenticator where the system should get the credentials from.void
HttpFileSystemConfigBuilder.setProxyHost
(FileSystemOptions opts, String proxyHost) Set the proxy to use for http connection.
You have to set the ProxyPort too if you would like to have the proxy really used.void
HttpFileSystemConfigBuilder.setProxyPort
(FileSystemOptions opts, int proxyPort) Set the proxy-port to use for http connection.void
HttpFileSystemConfigBuilder.setSoTimeout
(FileSystemOptions opts, int soTimeout) The socket timeout.void
HttpFileSystemConfigBuilder.setUrlCharset
(FileSystemOptions opts, String chaset) Set the charset used for url encoding.void
HttpFileSystemConfigBuilder.setUserAgent
(FileSystemOptions opts, String userAgent) Assign the user agent to attach to the outgoing http methodsConstructors in org.apache.commons.vfs2.provider.http with parameters of type FileSystemOptionsModifierConstructorDescriptionprotected
HttpFileSystem
(GenericFileName rootName, org.apache.commons.httpclient.HttpClient client, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.jar
Methods in org.apache.commons.vfs2.provider.jar with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected FileSystem
JarFileProvider.doCreateFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.jar with parameters of type FileSystemOptionsModifierConstructorDescriptionprotected
JarFileSystem
(AbstractFileName rootName, FileObject file, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.local
Methods in org.apache.commons.vfs2.provider.local with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected FileSystem
DefaultLocalFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates the filesystem.Constructors in org.apache.commons.vfs2.provider.local with parameters of type FileSystemOptionsModifierConstructorDescriptionLocalFileSystem
(FileName rootName, String rootFile, FileSystemOptions opts) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.ram
Methods in org.apache.commons.vfs2.provider.ram with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected FileSystem
RamFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) long
RamFileSystemConfigBuilder.getLongMaxSize
(FileSystemOptions opts) Defaults toInteger.MAX_VALUE
.int
RamFileSystemConfigBuilder.getMaxSize
(FileSystemOptions opts) Defaults toInteger.MAX_VALUE
.void
RamFileSystemConfigBuilder.setMaxSize
(FileSystemOptions opts, int sizeInBytes) Deprecated.void
RamFileSystemConfigBuilder.setMaxSize
(FileSystemOptions opts, long sizeInBytes) Sets the maximum size of the file system.Constructors in org.apache.commons.vfs2.provider.ram with parameters of type FileSystemOptionsModifierConstructorDescriptionprotected
RamFileSystem
(FileName rootName, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.res
Methods in org.apache.commons.vfs2.provider.res with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionResourceFileProvider.findFile
(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.ResourceFileSystemConfigBuilder.getClassLoader
(FileSystemOptions opts) void
ResourceFileSystemConfigBuilder.setClassLoader
(FileSystemOptions opts, ClassLoader classLoader) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.sftp
Methods in org.apache.commons.vfs2.provider.sftp that return FileSystemOptionsModifier and TypeMethodDescriptionSftpFileSystemConfigBuilder.getProxyOptions
(FileSystemOptions opts) Gets the proxy options that are used to connect to the proxy host.Methods in org.apache.commons.vfs2.provider.sftp with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionstatic com.jcraft.jsch.Session
SftpClientFactory.createConnection
(String hostname, int port, char[] username, char[] password, FileSystemOptions fileSystemOptions) Creates a new connection to the server.protected FileSystem
SftpFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates aFileSystem
.SftpFileSystemConfigBuilder.getCompression
(FileSystemOptions opts) SftpFileSystemConfigBuilder.getFileNameEncoding
(FileSystemOptions opts) Gets the file name encoding.File[]
SftpFileSystemConfigBuilder.getIdentities
(FileSystemOptions opts) Deprecated.SftpFileSystemConfigBuilder.getIdentityInfo
(FileSystemOptions opts) Gets the identity info.SftpFileSystemConfigBuilder.getIdentityRepositoryFactory
(FileSystemOptions opts) Get the identity repository factory.SftpFileSystemConfigBuilder.getKnownHosts
(FileSystemOptions opts) SftpFileSystemConfigBuilder.getPreferredAuthentications
(FileSystemOptions opts) Gets authentication order.SftpFileSystemConfigBuilder.getProxyCommand
(FileSystemOptions opts) Gets the command that will be run on the proxy host when using a SftpStreamProxy.SftpFileSystemConfigBuilder.getProxyHost
(FileSystemOptions opts) Gets the proxy to use for the SFTP connection.SftpFileSystemConfigBuilder.getProxyOptions
(FileSystemOptions opts) Gets the proxy options that are used to connect to the proxy host.SftpFileSystemConfigBuilder.getProxyPassword
(FileSystemOptions opts) Gets the proxy password that are used to connect to the proxy host.int
SftpFileSystemConfigBuilder.getProxyPort
(FileSystemOptions opts) Gets the proxy-port to use for the SFTP the connection.SftpFileSystemConfigBuilder.getProxyType
(FileSystemOptions opts) Gets the proxy type to use for the SFTP connection.SftpFileSystemConfigBuilder.getProxyUser
(FileSystemOptions opts) Gets the user name for the proxy used for the SFTP connection.SftpFileSystemConfigBuilder.getStrictHostKeyChecking
(FileSystemOptions opts) SftpFileSystemConfigBuilder.getTimeout
(FileSystemOptions opts) SftpFileSystemConfigBuilder.getUserDirIsRoot
(FileSystemOptions opts) ReturnsBoolean.TRUE
if VFS should treat the user directory as the root directory.com.jcraft.jsch.UserInfo
SftpFileSystemConfigBuilder.getUserInfo
(FileSystemOptions opts) void
SftpFileSystemConfigBuilder.setCompression
(FileSystemOptions opts, String compression) Configures the compression algorithms to use.void
SftpFileSystemConfigBuilder.setFileNameEncoding
(FileSystemOptions opts, String fileNameEncoding) Sets the file name encoding.void
SftpFileSystemConfigBuilder.setIdentities
(FileSystemOptions opts, File... identityFiles) Deprecated.void
SftpFileSystemConfigBuilder.setIdentityInfo
(FileSystemOptions opts, IdentityInfo... identites) Sets the identity info (your private key files).void
SftpFileSystemConfigBuilder.setIdentityRepositoryFactory
(FileSystemOptions opts, IdentityRepositoryFactory factory) Set the identity repository.void
SftpFileSystemConfigBuilder.setKnownHosts
(FileSystemOptions opts, File knownHosts) Sets the known_hosts file.void
SftpFileSystemConfigBuilder.setPreferredAuthentications
(FileSystemOptions opts, String preferredAuthentications) Configures authentication order.void
SftpFileSystemConfigBuilder.setProxyCommand
(FileSystemOptions opts, String proxyCommand) Sets the proxy username to use for the SFTP connection.void
SftpFileSystemConfigBuilder.setProxyHost
(FileSystemOptions opts, String proxyHost) Sets the proxy to use for the SFTP connection.void
SftpFileSystemConfigBuilder.setProxyOptions
(FileSystemOptions opts, FileSystemOptions proxyOptions) Sets the proxy username to use for the SFTP connection.void
SftpFileSystemConfigBuilder.setProxyPassword
(FileSystemOptions opts, String proxyPassword) Sets the proxy password to use for the SFTP connection.void
SftpFileSystemConfigBuilder.setProxyPort
(FileSystemOptions opts, int proxyPort) Sets the proxy port to use for the SFTP connection.void
SftpFileSystemConfigBuilder.setProxyType
(FileSystemOptions opts, SftpFileSystemConfigBuilder.ProxyType proxyType) Sets the proxy type to use for the SFTP connection.void
SftpFileSystemConfigBuilder.setProxyUser
(FileSystemOptions opts, String proxyUser) Sets the proxy username to use for the SFTP connection.void
SftpFileSystemConfigBuilder.setStrictHostKeyChecking
(FileSystemOptions opts, String hostKeyChecking) Configures the host key checking to use.void
SftpFileSystemConfigBuilder.setTimeout
(FileSystemOptions opts, Integer timeout) Sets the timeout value on Jsch session.void
SftpFileSystemConfigBuilder.setUserDirIsRoot
(FileSystemOptions opts, boolean userDirIsRoot) Sets the whether to use the user directory as root (do not change to file system root).void
SftpFileSystemConfigBuilder.setUserInfo
(FileSystemOptions opts, com.jcraft.jsch.UserInfo info) Sets the Jsch UserInfo class to use.Constructors in org.apache.commons.vfs2.provider.sftp with parameters of type FileSystemOptionsModifierConstructorDescriptionprotected
SftpFileSystem
(GenericFileName rootName, com.jcraft.jsch.Session session, FileSystemOptions fileSystemOptions) SftpStreamProxy
(String commandFormat, String proxyUser, String proxyHost, int proxyPort, String proxyPassword, FileSystemOptions proxyOptions) Creates a stream proxy. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.tar
Methods in org.apache.commons.vfs2.provider.tar with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected FileSystem
TarFileProvider.doCreateFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.tar with parameters of type FileSystemOptionsModifierConstructorDescriptionprotected
TarFileSystem
(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.temp
Methods in org.apache.commons.vfs2.provider.temp with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionTemporaryFileProvider.findFile
(FileObject baseFile, String uri, FileSystemOptions properties) Locates a file object, by absolute URI. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.url
Methods in org.apache.commons.vfs2.provider.url with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionUrlFileProvider.findFile
(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.Constructors in org.apache.commons.vfs2.provider.url with parameters of type FileSystemOptionsModifierConstructorDescriptionprotected
UrlFileSystem
(FileName rootName, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.zip
Methods in org.apache.commons.vfs2.provider.zip with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected FileSystem
ZipFileProvider.doCreateFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.zip with parameters of type FileSystemOptionsModifierConstructorDescriptionZipFileSystem
(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.util
Methods in org.apache.commons.vfs2.util with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionstatic UserAuthenticationData
UserAuthenticatorUtils.authenticate
(FileSystemOptions opts, UserAuthenticationData.Type[] authenticatorTypes) Authenticates if there is an authenticator, else returns null.void
DelegatingFileSystemOptionsBuilder.setConfigClass
(FileSystemOptions fso, String scheme, String name, Class<?> className) Set a single class value.
The class has to implement a no-args constructor, else the instantiation might fail.void
DelegatingFileSystemOptionsBuilder.setConfigClasses
(FileSystemOptions fso, String scheme, String name, Class<?>[] classNames) Set an array of class values.
The class has to implement a no-args constructor, else the instantiation might fail.void
DelegatingFileSystemOptionsBuilder.setConfigString
(FileSystemOptions fso, String scheme, String name, String value) Set a single string value.void
DelegatingFileSystemOptionsBuilder.setConfigStrings
(FileSystemOptions fso, String scheme, String name, String[] values) Set an array of string value.
FtpsFileSystemConfigBuilder.getFtpsMode(FileSystemOptions)