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 HTTP4 File Provider.
The HTTP5 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
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 file system.Methods in org.apache.commons.vfs2 with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionintFileSystemOptions.compareTo(FileSystemOptions other) protected BooleanFileSystemConfigBuilder.getBoolean(FileSystemOptions fileSystemOptions, String name) Gets a named option as a Boolean.protected booleanFileSystemConfigBuilder.getBoolean(FileSystemOptions fileSystemOptions, String name, boolean defaultValue) Gets a named option as a Boolean.protected BooleanFileSystemConfigBuilder.getBoolean(FileSystemOptions fileSystemOptions, String name, Boolean defaultValue) Gets a named option as a Boolean.protected ByteFileSystemConfigBuilder.getByte(FileSystemOptions fileSystemOptions, String name) Gets a named option as a Byte.protected byteFileSystemConfigBuilder.getByte(FileSystemOptions fileSystemOptions, String name, byte defaultValue) Gets a named option as a Byte.protected ByteFileSystemConfigBuilder.getByte(FileSystemOptions fileSystemOptions, String name, Byte defaultValue) Gets a named option as a Byte.protected CharacterFileSystemConfigBuilder.getCharacter(FileSystemOptions fileSystemOptions, String name) Gets a named option as a Character.protected charFileSystemConfigBuilder.getCharacter(FileSystemOptions fileSystemOptions, String name, char defaultValue) Gets a named option as a Character.protected CharacterFileSystemConfigBuilder.getCharacter(FileSystemOptions fileSystemOptions, String name, Character defaultValue) Gets a named option as a Character.protected DoubleFileSystemConfigBuilder.getDouble(FileSystemOptions fileSystemOptions, String name) Gets a named option as a Double.protected doubleFileSystemConfigBuilder.getDouble(FileSystemOptions fileSystemOptions, String name, double defaultValue) Gets a named option as a Double.protected DoubleFileSystemConfigBuilder.getDouble(FileSystemOptions fileSystemOptions, String name, Double defaultValue) Gets a named option as a Double.protected DurationFileSystemConfigBuilder.getDuration(FileSystemOptions fileSystemOptions, String name) Gets a named option as a Duration.protected DurationFileSystemConfigBuilder.getDuration(FileSystemOptions fileSystemOptions, String name, Duration defaultValue) Gets a named option as a Duration.protected IntegerFileSystemConfigBuilder.getDurationInteger(FileSystemOptions fileSystemOptions, String name) Gets a named option as a Duration bound to the integer range.protected IntegerFileSystemConfigBuilder.getDurationInteger(FileSystemOptions fileSystemOptions, String name, Duration defaultValue) Gets a named option as a Duration bound to the integer range.protected <E extends Enum<E>>
EFileSystemConfigBuilder.getEnum(Class<E> enumClass, FileSystemOptions fileSystemOptions, String name) Gets a named option as a Double.protected <E extends Enum<E>>
EFileSystemConfigBuilder.getEnum(Class<E> enumClass, FileSystemOptions fileSystemOptions, String name, E defaultValue) Gets a named option as an Enum.protected FloatFileSystemConfigBuilder.getFloat(FileSystemOptions fileSystemOptions, String name) Gets a named option as a Float.protected floatFileSystemConfigBuilder.getFloat(FileSystemOptions fileSystemOptions, String name, float defaultValue) Gets a named option as a Float.protected FloatFileSystemConfigBuilder.getFloat(FileSystemOptions fileSystemOptions, String name, Float defaultValue) Gets a named option as a Float.protected IntegerFileSystemConfigBuilder.getInteger(FileSystemOptions fileSystemOptions, String name) Gets a named option as an Integer.protected intFileSystemConfigBuilder.getInteger(FileSystemOptions fileSystemOptions, String name, int defaultValue) Gets a named option as an Integer.protected IntegerFileSystemConfigBuilder.getInteger(FileSystemOptions fileSystemOptions, String name, Integer defaultValue) Gets a named option as an Integer.protected LongFileSystemConfigBuilder.getLong(FileSystemOptions fileSystemOptions, String name) Gets a named option as a Long.protected longFileSystemConfigBuilder.getLong(FileSystemOptions fileSystemOptions, String name, long defaultValue) Gets a named option as a Long.protected LongFileSystemConfigBuilder.getLong(FileSystemOptions fileSystemOptions, String name, Long defaultValue) Gets a named option as a Long.protected <T> TFileSystemConfigBuilder.getParam(FileSystemOptions fileSystemOptions, String name) Gets a named parameter.protected <T> TFileSystemConfigBuilder.getParamOrDefault(FileSystemOptions fileSystemOptions, String name, T defaultValue) Gets a named parameter.FileSystemConfigBuilder.getRootURI(FileSystemOptions fileSystemOptions) Gets the root URI of the file system.protected ShortFileSystemConfigBuilder.getShort(FileSystemOptions fileSystemOptions, String name) Gets a named option as a Short.protected shortFileSystemConfigBuilder.getShort(FileSystemOptions fileSystemOptions, String name, short defaultValue) Gets a named option as a Short.protected ShortFileSystemConfigBuilder.getShort(FileSystemOptions fileSystemOptions, String name, Short defaultValue) Gets a named option as a Short.protected StringFileSystemConfigBuilder.getString(FileSystemOptions fileSystemOptions, String name) Gets a named option as a String.protected StringFileSystemConfigBuilder.getString(FileSystemOptions fileSystemOptions, String name, String defaultValue) Gets a named option as a String.protected booleanFileSystemConfigBuilder.hasObject(FileSystemOptions fileSystemOptions, String name) Checks the named setting specified.protected booleanFileSystemConfigBuilder.hasParam(FileSystemOptions fileSystemOptions, String name) Checks if option exists.FileSystemManager.resolveFile(String name, FileSystemOptions fileSystemOptions) Locates a file by name.protected voidFileSystemConfigBuilder.setParam(FileSystemOptions fileSystemOptions, String name, boolean value) Sets the named parameter.protected voidFileSystemConfigBuilder.setParam(FileSystemOptions fileSystemOptions, String name, Object value) Sets the named parameter.voidFileSystemConfigBuilder.setRootURI(FileSystemOptions fileSystemOptions, String rootURI) Sets 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) Gets the UserAuthenticator parameter.DefaultFileSystemManager.resolveFile(String uri, FileSystemOptions fileSystemOptions) Resolves 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.voidDefaultFileSystemConfigBuilder.setUserAuthenticator(FileSystemOptions opts, UserAuthenticator userAuthenticator) Sets the user authenticator to get authentication information.Constructors in org.apache.commons.vfs2.impl with parameters of type FileSystemOptionsModifierConstructorDescriptionVirtualFileSystem(AbstractFileName rootFileName, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider
Methods in org.apache.commons.vfs2.provider that return FileSystemOptionsModifier and TypeMethodDescriptionAbstractFileSystem.getFileSystemOptions()Gets the FileSystemOptions used to instantiate this file system.Methods in org.apache.commons.vfs2.provider with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionAbstractFileProvider.createFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) 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 FileSystemAbstractLayeredFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected abstract FileSystemAbstractOriginatingFileProvider.doCreateFileSystem(FileName rootFileName, FileSystemOptions fileSystemOptions) Creates aFileSystem.AbstractLayeredFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.protected FileObjectAbstractOriginatingFileProvider.findFile(FileName fileName, FileSystemOptions fileSystemOptions) Locates a file from its parsed URI.AbstractOriginatingFileProvider.findFile(FileObject baseFileObject, 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 FileSystemAbstractFileProvider.findFileSystem(Comparable<?> key, FileSystemOptions fileSystemOptions) Locates a cached file system.protected FileSystemAbstractOriginatingFileProvider.getFileSystem(FileName rootFileName, FileSystemOptions fileSystemOptions) Returns the FileSystem associated with the specified root.VfsComponentContext.resolveFile(String name, FileSystemOptions fileSystemOptions) Resolves a file by name.VfsComponentContext.resolveFile(FileObject baseFile, String name, FileSystemOptions fileSystemOptions) Resolves a file by name.Constructors in org.apache.commons.vfs2.provider with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedAbstractFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance.DefaultURLStreamHandler(VfsComponentContext context, FileSystemOptions fileSystemOptions) Constructs a new instance. -
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 FileSystemBzip2FileProvider.createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedBzip2FileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
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 FileSystemCompressedFileFileProvider.createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Create a FileSystem.protected FileSystemCompressedFileFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.compressed with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedCompressedFileFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.ftp
Fields in org.apache.commons.vfs2.provider.ftp declared as FileSystemOptionsModifier and TypeFieldDescriptionprotected final FileSystemOptionsFTPClientWrapper.fileSystemOptionsAuthentication options.Methods in org.apache.commons.vfs2.provider.ftp that return FileSystemOptionsModifier and TypeMethodDescriptionFTPClientWrapper.getFileSystemOptions()Gets the FileSystemOptions.Methods in org.apache.commons.vfs2.provider.ftp with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected abstract CFtpClientFactory.ConnectionFactory.createClient(FileSystemOptions fileSystemOptions) Creates a new client.protected org.apache.commons.net.ftp.FTPClientFtpClientFactory.FtpConnectionFactory.createClient(FileSystemOptions fileSystemOptions) FtpClientFactory.ConnectionFactory.createConnection(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) Creates a connection.static org.apache.commons.net.ftp.FTPClientFtpClientFactory.createConnection(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) Creates a new connection to the server.protected FileSystemFtpFileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Creates the file system.org.apache.commons.lang3.Range<Integer> FtpFileSystemConfigBuilder.getActivePortRange(FileSystemOptions options) Gets the active port range.FtpFileSystemConfigBuilder.getAutodetectUtf8(FileSystemOptions options) Gets whether to try to autodetect the server encoding (only UTF8 is supported).FtpFileSystemConfigBuilder.getConnectTimeout(FileSystemOptions options) Deprecated.FtpFileSystemConfigBuilder.getConnectTimeoutDuration(FileSystemOptions options) Gets the timeout in milliseconds to use for the socket connection.FtpFileSystemConfigBuilder.getControlEncoding(FileSystemOptions options) Gets the control encoding.FtpFileSystemConfigBuilder.getControlKeepAliveReplyTimeout(FileSystemOptions options) Gets the controlKeepAliveReplyTimeout duration.FtpFileSystemConfigBuilder.getControlKeepAliveTimeout(FileSystemOptions options) Gets the controlKeepAliveTimeout duration.FtpFileSystemConfigBuilder.getDataTimeout(FileSystemOptions options) Deprecated.FtpFileSystemConfigBuilder.getDataTimeoutDuration(FileSystemOptions options) Gets the timeout for opening the data channel.FtpFileSystemConfigBuilder.getDefaultDateFormat(FileSystemOptions options) Gets the default date format used by the server.FtpFileSystemConfigBuilder.getEntryParser(FileSystemOptions options) Gets the key to the EntryParser.org.apache.commons.net.ftp.parser.FTPFileEntryParserFactoryFtpFileSystemConfigBuilder.getEntryParserFactory(FileSystemOptions options) Gets the FTPFileEntryParserFactory parameter.FtpFileSystemConfigBuilder.getFileType(FileSystemOptions options) Gets the file type parameter.FtpFileSystemConfigBuilder.getMdtmLastModifiedTime(FileSystemOptions options) Gets the option to use FTP MDTM forFileContent.getLastModifiedTime().FtpFileSystemConfigBuilder.getPassiveMode(FileSystemOptions options) Tests whether passive mode is set.FtpFileSystemConfigBuilder.getProxy(FileSystemOptions options) Gets the Proxy.FtpFileSystemConfigBuilder.getRecentDateFormat(FileSystemOptions options) SeeFTPClientConfigfor details and examples.FtpFileSystemConfigBuilder.getRemoteVerification(FileSystemOptions options) Gets whether to use remote verification.FtpFileSystemConfigBuilder.getServerLanguageCode(FileSystemOptions options) Gets the language code used by the server.FtpFileSystemConfigBuilder.getServerTimeZoneId(FileSystemOptions options) SeeFTPClientConfigfor details and examples.String[]FtpFileSystemConfigBuilder.getShortMonthNames(FileSystemOptions options) SeeFTPClientConfigfor details and examples.FtpFileSystemConfigBuilder.getSoTimeout(FileSystemOptions options) Deprecated.FtpFileSystemConfigBuilder.getSoTimeoutDuration(FileSystemOptions options) Gets The so timeout duration.FtpFileSystemConfigBuilder.getTransferAbortedOkReplyCodes(FileSystemOptions options) Gets the list of reply codes (apart from 200) that are considered as OK when prematurely closing a stream.FtpFileSystemConfigBuilder.getUserDirIsRoot(FileSystemOptions options) Tests whether if VFS should treat the user directory as the root directory.voidFtpFileSystemConfigBuilder.setActivePortRange(FileSystemOptions options, org.apache.commons.lang3.Range<Integer> portRange) Sets the active port range.voidFtpFileSystemConfigBuilder.setAutodetectUtf8(FileSystemOptions options, Boolean autodetectUTF8) Sets whether to try to autodetect the server encoding (only UTF8 is supported).voidFtpFileSystemConfigBuilder.setConnectTimeout(FileSystemOptions options, Integer duration) voidFtpFileSystemConfigBuilder.setConnectTimeout(FileSystemOptions options, Duration duration) Sets the timeout for the initial control connection.voidFtpFileSystemConfigBuilder.setControlEncoding(FileSystemOptions options, String encoding) SeeFTP.setControlEncoding(java.lang.String)for details and examples.voidFtpFileSystemConfigBuilder.setControlKeepAliveReplyTimeout(FileSystemOptions options, Duration duration) Sets the control keep alive reply timeout for the FTP client.voidFtpFileSystemConfigBuilder.setControlKeepAliveTimeout(FileSystemOptions options, Duration duration) Sets the control keep alive timeout for the FTP client.voidFtpFileSystemConfigBuilder.setDataTimeout(FileSystemOptions options, Integer duration) voidFtpFileSystemConfigBuilder.setDataTimeout(FileSystemOptions options, Duration duration) Sets the data timeout for the FTP client.voidFtpFileSystemConfigBuilder.setDefaultDateFormat(FileSystemOptions options, String defaultDateFormat) Sets the default date format used by the server.voidFtpFileSystemConfigBuilder.setEntryParser(FileSystemOptions options, String key) Sets the FQCN of your FileEntryParser used to parse the directory listing from your server.voidFtpFileSystemConfigBuilder.setEntryParserFactory(FileSystemOptions options, org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory factory) FTPFileEntryParserFactory which will be used for ftp-entry parsing.voidFtpFileSystemConfigBuilder.setFileType(FileSystemOptions options, FtpFileType ftpFileType) Sets the file type parameter.voidFtpFileSystemConfigBuilder.setMdtmLastModifiedTime(FileSystemOptions options, boolean mdtm) Sets the option to use FTP MDTM forFileContent.getLastModifiedTime().voidFtpFileSystemConfigBuilder.setPassiveMode(FileSystemOptions options, boolean passiveMode) Enter into passive mode.voidFtpFileSystemConfigBuilder.setProxy(FileSystemOptions options, Proxy proxy) Sets the Proxy.voidFtpFileSystemConfigBuilder.setRecentDateFormat(FileSystemOptions options, String recentDateFormat) SeeFTPClientConfigfor details and examples.voidFtpFileSystemConfigBuilder.setRemoteVerification(FileSystemOptions options, boolean remoteVerification) Sets whether to use remote verification.voidFtpFileSystemConfigBuilder.setServerLanguageCode(FileSystemOptions options, String serverLanguageCode) Sets the language code used by the server.voidFtpFileSystemConfigBuilder.setServerTimeZoneId(FileSystemOptions options, String serverTimeZoneId) SeeFTPClientConfigfor details and examples.voidFtpFileSystemConfigBuilder.setShortMonthNames(FileSystemOptions options, String[] shortMonthNames) SeeFTPClientConfigfor details and examples.voidFtpFileSystemConfigBuilder.setSoTimeout(FileSystemOptions options, Integer timeout) Deprecated.voidFtpFileSystemConfigBuilder.setSoTimeout(FileSystemOptions options, Duration timeout) Sets the socket timeout for the FTP client.voidFtpFileSystemConfigBuilder.setTransferAbortedOkReplyCodes(FileSystemOptions options, List<Integer> replyCodes) Sets the list of reply codes that are considered as OK when prematurely closing a stream.protected abstract voidFtpClientFactory.ConnectionFactory.setupOpenConnection(C client, FileSystemOptions fileSystemOptions) Sets up a new client.protected voidFtpClientFactory.FtpConnectionFactory.setupOpenConnection(org.apache.commons.net.ftp.FTPClient client, FileSystemOptions fileSystemOptions) voidFtpFileSystemConfigBuilder.setUserDirIsRoot(FileSystemOptions options, 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 FileSystemOptionsModifierConstructorDescriptionprotectedFTPClientWrapper(GenericFileName rootFileName, FileSystemOptions fileSystemOptions) Constructs a new instance.FtpFileSystem(GenericFileName rootName, FtpClient ftpClient, FileSystemOptions fileSystemOptions) Constructs a new instance. -
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.FTPSClientFtpsClientFactory.createConnection(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) Creates a new connection to the server.protected FileSystemFtpsFileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Creates the file system.FtpsFileSystemConfigBuilder.getDataChannelProtectionLevel(FileSystemOptions opts) Gets the data channel protection level (PROT).FtpsFileSystemConfigBuilder.getFtpsMode(FileSystemOptions opts) Returns the FTPS mode.FtpsFileSystemConfigBuilder.getFtpsType(FileSystemOptions opts) Deprecated.As of 2.1, useFtpsFileSystemConfigBuilder.getFtpsMode(FileSystemOptions)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.voidFtpsFileSystemConfigBuilder.setDataChannelProtectionLevel(FileSystemOptions opts, FtpsDataChannelProtectionLevel prot) Sets the data channel protection level (PROT).voidFtpsFileSystemConfigBuilder.setFtpsMode(FileSystemOptions opts, FtpsMode ftpsMode) Sets FTPS mode, either "implicit" or "explicit".voidFtpsFileSystemConfigBuilder.setFtpsType(FileSystemOptions opts, String ftpsType) Deprecated.voidFtpsFileSystemConfigBuilder.setKeyManager(FileSystemOptions opts, KeyManager keyManager) Sets the KeyManager used to provide a client-side certificate if the FTPS server requests it.voidFtpsFileSystemConfigBuilder.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) Creates 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 FileSystemGzipFileProvider.createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs2.provider.gzip with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedGzipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
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.HttpClientHttpClientFactory.createConnection(String scheme, String hostname, int port, String username, String password, FileSystemOptions fileSystemOptions) Deprecated.Creates an HttpClient.static org.apache.commons.httpclient.HttpClientHttpClientFactory.createConnection(HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, String password, FileSystemOptions fileSystemOptions) Deprecated.Creates a new connection to the server.protected FileSystemHttpFileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Deprecated.Creates aFileSystem.intHttpFileSystemConfigBuilder.getConnectionTimeout(FileSystemOptions opts) HttpFileSystemConfigBuilder.getConnectionTimeoutDuration(FileSystemOptions opts) Deprecated.Gets the connection timeout.org.apache.commons.httpclient.Cookie[]HttpFileSystemConfigBuilder.getCookies(FileSystemOptions opts) Deprecated.Gets the cookies to add to the request.booleanHttpFileSystemConfigBuilder.getFollowRedirect(FileSystemOptions opts) Deprecated.Gets whether to follow redirects for the connection.intHttpFileSystemConfigBuilder.getMaxConnectionsPerHost(FileSystemOptions opts) Deprecated.Gets the maximum number of connections allowed per host.intHttpFileSystemConfigBuilder.getMaxTotalConnections(FileSystemOptions opts) Deprecated.Gets the maximum number of connections allowed.HttpFileSystemConfigBuilder.getProxyAuthenticator(FileSystemOptions opts) Deprecated.Gets the proxy authenticator where the system should get the credentials from.HttpFileSystemConfigBuilder.getProxyHost(FileSystemOptions opts) Deprecated.Gets the proxy to use for http connection.intHttpFileSystemConfigBuilder.getProxyPort(FileSystemOptions opts) Deprecated.Gets the proxy-port to use for http the connection.intHttpFileSystemConfigBuilder.getSoTimeout(FileSystemOptions opts) Deprecated.HttpFileSystemConfigBuilder.getSoTimeoutDuration(FileSystemOptions opts) Deprecated.Gets the socket timeout.HttpFileSystemConfigBuilder.getUrlCharset(FileSystemOptions opts) Deprecated.Gets the charset used for url encoding.HttpFileSystemConfigBuilder.getUserAgent(FileSystemOptions opts) Deprecated.Gets the user agent string.booleanHttpFileSystemConfigBuilder.isPreemptiveAuth(FileSystemOptions opts) Deprecated.Determines if the FileSystemOptions indicate that preemptive authentication is requested.voidHttpFileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts, int timeout) voidHttpFileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts, Duration timeout) Deprecated.The connection timeout.voidHttpFileSystemConfigBuilder.setCookies(FileSystemOptions opts, org.apache.commons.httpclient.Cookie[] cookies) Deprecated.The cookies to add to the request.voidHttpFileSystemConfigBuilder.setFollowRedirect(FileSystemOptions opts, boolean redirect) Deprecated.Sets whether to follow redirects for the connection.voidHttpFileSystemConfigBuilder.setMaxConnectionsPerHost(FileSystemOptions opts, int maxHostConnections) Deprecated.Sets the maximum number of connections allowed to any host.voidHttpFileSystemConfigBuilder.setMaxTotalConnections(FileSystemOptions opts, int maxTotalConnections) Deprecated.Sets the maximum number of connections allowed.voidHttpFileSystemConfigBuilder.setPreemptiveAuth(FileSystemOptions opts, boolean preemptiveAuth) Deprecated.Sets the given value for preemptive HTTP authentication (using BASIC) on the given FileSystemOptions object.voidHttpFileSystemConfigBuilder.setProxyAuthenticator(FileSystemOptions opts, UserAuthenticator authenticator) Deprecated.Sets the proxy authenticator where the system should get the credentials from.voidHttpFileSystemConfigBuilder.setProxyHost(FileSystemOptions opts, String proxyHost) Deprecated.Sets the proxy to use for http connection.voidHttpFileSystemConfigBuilder.setProxyPort(FileSystemOptions opts, int proxyPort) Deprecated.Sets the proxy-port to use for http connection.voidHttpFileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts, int timeout) voidHttpFileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts, Duration timeout) Deprecated.The socket timeout.voidHttpFileSystemConfigBuilder.setUrlCharset(FileSystemOptions opts, String charset) Deprecated.Sets the charset used for url encoding.voidHttpFileSystemConfigBuilder.setUserAgent(FileSystemOptions opts, String userAgent) Deprecated.Sets the user agent to attach to the outgoing http methods.Constructors in org.apache.commons.vfs2.provider.http with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedHttpFileSystem(GenericFileName rootName, org.apache.commons.httpclient.HttpClient httpClient, FileSystemOptions fileSystemOptions) Deprecated.Constructs a new instance. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.http4
Methods in org.apache.commons.vfs2.provider.http4 with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected org.apache.http.client.HttpClientHttp4FileProvider.createHttpClient(Http4FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions) Deprecated.Create anHttpClientobject for an http4 file system.protected org.apache.http.impl.client.HttpClientBuilderHttp4FileProvider.createHttpClientBuilder(Http4FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions) Deprecated.Create anHttpClientBuilderobject.protected org.apache.http.client.protocol.HttpClientContextHttp4FileProvider.createHttpClientContext(Http4FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions, UserAuthenticationData authData) Deprecated.Create anHttpClientContextobject for an http4 file system.protected SSLContextHttp4FileProvider.createSSLContext(Http4FileSystemConfigBuilder builder, FileSystemOptions fileSystemOptions) Deprecated.CreateSSLContextfor HttpClient.protected FileSystemHttp4FileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Deprecated.intHttp4FileSystemConfigBuilder.getConnectionTimeout(FileSystemOptions opts) Http4FileSystemConfigBuilder.getConnectionTimeoutDuration(FileSystemOptions opts) Deprecated./** Gets the connection timeout.org.apache.http.cookie.Cookie[]Http4FileSystemConfigBuilder.getCookies(FileSystemOptions opts) Deprecated.Gets the cookies to add to the request.booleanHttp4FileSystemConfigBuilder.getFollowRedirect(FileSystemOptions opts) Deprecated.Gets whether to follow redirects for the connection.Http4FileSystemConfigBuilder.getKeyStoreFile(FileSystemOptions opts) Deprecated.Gets keystore file path to be used in SSL connections.Http4FileSystemConfigBuilder.getKeyStoreType(FileSystemOptions opts) Deprecated.Gets keystore type for SSL connections.intHttp4FileSystemConfigBuilder.getMaxConnectionsPerHost(FileSystemOptions opts) Deprecated.Gets the maximum number of connections allowed per host.intHttp4FileSystemConfigBuilder.getMaxTotalConnections(FileSystemOptions opts) Deprecated.Gets the maximum number of connections allowed.Http4FileSystemConfigBuilder.getProxyAuthenticator(FileSystemOptions opts) Deprecated.Gets the proxy authenticator where the system should get the credentials from.Http4FileSystemConfigBuilder.getProxyHost(FileSystemOptions opts) Deprecated.Gets the proxy to use for http connection.intHttp4FileSystemConfigBuilder.getProxyPort(FileSystemOptions opts) Deprecated.Gets the proxy-port to use for http the connection.Http4FileSystemConfigBuilder.getProxyScheme(FileSystemOptions opts) Deprecated.Gets the proxy-scheme to use for http the connection.intHttp4FileSystemConfigBuilder.getSoTimeout(FileSystemOptions opts) Deprecated.Http4FileSystemConfigBuilder.getSoTimeoutDuration(FileSystemOptions opts) Deprecated.Gets the socket timeout.Http4FileSystemConfigBuilder.getUrlCharset(FileSystemOptions opts) Deprecated.Sets the charset used for url encoding.Http4FileSystemConfigBuilder.getUserAgent(FileSystemOptions opts) Deprecated.Gets the user agent string.booleanHttp4FileSystemConfigBuilder.isHostnameVerificationEnabled(FileSystemOptions opts) Deprecated.Determines if the hostname should be verified in SSL context.booleanHttp4FileSystemConfigBuilder.isKeepAlive(FileSystemOptions opts) Deprecated.Determines if the FileSystemOptions indicate that HTTP Keep-Alive is respected.booleanHttp4FileSystemConfigBuilder.isPreemptiveAuth(FileSystemOptions opts) Deprecated.Determines if the FileSystemOptions indicate that preemptive authentication is requested.voidHttp4FileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts, int connectionTimeout) voidHttp4FileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts, Duration connectionTimeout) Deprecated.Sets the connection timeout.voidHttp4FileSystemConfigBuilder.setCookies(FileSystemOptions opts, org.apache.http.cookie.Cookie[] cookies) Deprecated.The cookies to add to the request.voidHttp4FileSystemConfigBuilder.setFollowRedirect(FileSystemOptions opts, boolean redirect) Deprecated.Sets whether to follow redirects for the connection.voidHttp4FileSystemConfigBuilder.setHostnameVerificationEnabled(FileSystemOptions opts, boolean hostnameVerificationEnabled) Deprecated.Sets if the hostname should be verified in SSL context.voidHttp4FileSystemConfigBuilder.setKeepAlive(FileSystemOptions opts, boolean keepAlive) Deprecated.Sets if the FileSystemOptions indicate that HTTP Keep-Alive is respected.voidHttp4FileSystemConfigBuilder.setKeyStoreFile(FileSystemOptions opts, String keyStoreFile) Deprecated.Sets keystore file path for SSL connections.voidHttp4FileSystemConfigBuilder.setKeyStorePass(FileSystemOptions opts, String keyStorePass) Deprecated.Sets keystore pass phrase for SSL connections.voidHttp4FileSystemConfigBuilder.setKeyStoreType(FileSystemOptions opts, String keyStoreType) Deprecated.Sets keystore type for SSL connections.voidHttp4FileSystemConfigBuilder.setMaxConnectionsPerHost(FileSystemOptions opts, int maxHostConnections) Deprecated.Sets the maximum number of connections allowed to any host.voidHttp4FileSystemConfigBuilder.setMaxTotalConnections(FileSystemOptions opts, int maxTotalConnections) Deprecated.Sets the maximum number of connections allowed.voidHttp4FileSystemConfigBuilder.setPreemptiveAuth(FileSystemOptions opts, boolean preemptiveAuth) Deprecated.Sets the given value for preemptive HTTP authentication (using BASIC) on the given FileSystemOptions object.voidHttp4FileSystemConfigBuilder.setProxyAuthenticator(FileSystemOptions opts, UserAuthenticator authenticator) Deprecated.Sets the proxy authenticator where the system should get the credentials from.voidHttp4FileSystemConfigBuilder.setProxyHost(FileSystemOptions opts, String proxyHost) Deprecated.Sets the proxy to use for http connection.voidHttp4FileSystemConfigBuilder.setProxyPort(FileSystemOptions opts, int proxyPort) Deprecated.Sets the proxy-port to use for http connection.voidHttp4FileSystemConfigBuilder.setProxyScheme(FileSystemOptions opts, String proxyScheme) Deprecated.Sets the proxy-scheme to use for http connection.voidHttp4FileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts, int soTimeout) voidHttp4FileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts, Duration soTimeout) Deprecated.Sets the socket timeout.voidHttp4FileSystemConfigBuilder.setUrlCharset(FileSystemOptions opts, String charset) Deprecated.Sets the charset used for URL encoding.voidHttp4FileSystemConfigBuilder.setUserAgent(FileSystemOptions opts, String userAgent) Deprecated.Sets the user agent to attach to the outgoing http methods.Constructors in org.apache.commons.vfs2.provider.http4 with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedHttp4FileSystem(FileName rootName, FileSystemOptions fileSystemOptions, org.apache.http.client.HttpClient httpClient, org.apache.http.client.protocol.HttpClientContext httpClientContext) Deprecated.Constructs a new instance. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.http5
Methods in org.apache.commons.vfs2.provider.http5 with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected org.apache.hc.client5.http.classic.HttpClientHttp5FileProvider.createHttpClient(Http5FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions) Create anHttpClientobject for an http4 file system.protected org.apache.hc.client5.http.impl.classic.HttpClientBuilderHttp5FileProvider.createHttpClientBuilder(Http5FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions) Create anHttpClientBuilderobject.protected org.apache.hc.client5.http.protocol.HttpClientContextHttp5FileProvider.createHttpClientContext(Http5FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions, UserAuthenticationData authData) Create anHttpClientContextobject for an http4 file system.protected SSLContextHttp5FileProvider.createSSLContext(Http5FileSystemConfigBuilder builder, FileSystemOptions fileSystemOptions) CreateSSLContextfor HttpClient.protected FileSystemHttp5FileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) intHttp5FileSystemConfigBuilder.getConnectionTimeout(FileSystemOptions opts) Http5FileSystemConfigBuilder.getConnectionTimeoutDuration(FileSystemOptions opts) Gets the connection timeout.org.apache.hc.client5.http.cookie.Cookie[]Http5FileSystemConfigBuilder.getCookies(FileSystemOptions opts) Gets the cookies to add to the request.booleanHttp5FileSystemConfigBuilder.getFollowRedirect(FileSystemOptions opts) Gets whether to follow redirects for the connection.Http5FileSystemConfigBuilder.getKeyStoreFile(FileSystemOptions opts) Gets keystore file path to be used in SSL connections.Http5FileSystemConfigBuilder.getKeyStoreType(FileSystemOptions opts) Gets keystore type for SSL connections.intHttp5FileSystemConfigBuilder.getMaxConnectionsPerHost(FileSystemOptions opts) Gets the maximum number of connections allowed per host.intHttp5FileSystemConfigBuilder.getMaxTotalConnections(FileSystemOptions opts) Gets the maximum number of connections allowed.Http5FileSystemConfigBuilder.getProxyAuthenticator(FileSystemOptions opts) Gets the proxy authenticator where the system should get the credentials from.Http5FileSystemConfigBuilder.getProxyHost(FileSystemOptions opts) Gets the proxy to use for http connection.intHttp5FileSystemConfigBuilder.getProxyPort(FileSystemOptions opts) Gets the proxy-port to use for http the connection.Http5FileSystemConfigBuilder.getProxyScheme(FileSystemOptions opts) Gets the proxy-scheme to use for http the connection.intHttp5FileSystemConfigBuilder.getSoTimeout(FileSystemOptions opts) Deprecated.Http5FileSystemConfigBuilder.getSoTimeoutDuration(FileSystemOptions opts) Gets the socket timeout.Http5FileSystemConfigBuilder.getTlsVersions(FileSystemOptions opts) Gets the enabled TLS versions as a comma separated string, each token of which is the name oforg.apache.hc.core5.http.ssl.TLSenum. e.g, "V_1_2, V_1_3".Http5FileSystemConfigBuilder.getUrlCharset(FileSystemOptions opts) Gets the charset used for url encoding.Http5FileSystemConfigBuilder.getUserAgent(FileSystemOptions opts) Gets the user agent string.booleanHttp5FileSystemConfigBuilder.isHostnameVerificationEnabled(FileSystemOptions opts) Determines if the hostname should be verified in SSL context.booleanHttp5FileSystemConfigBuilder.isKeepAlive(FileSystemOptions opts) Determines if the FileSystemOptions indicate that HTTP Keep-Alive is respected.booleanHttp5FileSystemConfigBuilder.isPreemptiveAuth(FileSystemOptions opts) Determines if the FileSystemOptions indicate that preemptive authentication is requested.voidHttp5FileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts, int connectionTimeout) voidHttp5FileSystemConfigBuilder.setConnectionTimeout(FileSystemOptions opts, Duration connectionTimeout) Sets the connection timeout.voidHttp5FileSystemConfigBuilder.setCookies(FileSystemOptions opts, org.apache.hc.client5.http.cookie.Cookie[] cookies) The cookies to add to the request.voidHttp5FileSystemConfigBuilder.setFollowRedirect(FileSystemOptions opts, boolean redirect) Sets whether to follow redirects for the connection.voidHttp5FileSystemConfigBuilder.setHostnameVerificationEnabled(FileSystemOptions opts, boolean hostnameVerificationEnabled) Sets if the hostname should be verified in SSL context.voidHttp5FileSystemConfigBuilder.setKeepAlive(FileSystemOptions opts, boolean keepAlive) Sets if the FileSystemOptions indicate that HTTP Keep-Alive is respected.voidHttp5FileSystemConfigBuilder.setKeyStoreFile(FileSystemOptions opts, String keyStoreFile) Sets keystore file path for SSL connections.voidHttp5FileSystemConfigBuilder.setKeyStorePass(FileSystemOptions opts, String keyStorePass) Sets keystore pass phrase for SSL connections.voidHttp5FileSystemConfigBuilder.setKeyStoreType(FileSystemOptions opts, String keyStoreType) Sets keystore type for SSL connections.voidHttp5FileSystemConfigBuilder.setMaxConnectionsPerHost(FileSystemOptions opts, int maxHostConnections) Sets the maximum number of connections allowed to any host.voidHttp5FileSystemConfigBuilder.setMaxTotalConnections(FileSystemOptions opts, int maxTotalConnections) Sets the maximum number of connections allowed.voidHttp5FileSystemConfigBuilder.setPreemptiveAuth(FileSystemOptions opts, boolean preemptiveAuth) Sets the given value for preemptive HTTP authentication (using BASIC) on the given FileSystemOptions object.voidHttp5FileSystemConfigBuilder.setProxyAuthenticator(FileSystemOptions opts, UserAuthenticator authenticator) Sets the proxy authenticator where the system should get the credentials from.voidHttp5FileSystemConfigBuilder.setProxyHost(FileSystemOptions opts, String proxyHost) Sets the proxy to use for http connection.voidHttp5FileSystemConfigBuilder.setProxyPort(FileSystemOptions opts, int proxyPort) Sets the proxy-port to use for http connection.voidHttp5FileSystemConfigBuilder.setProxyScheme(FileSystemOptions opts, String proxyScheme) Sets the proxy-scheme to use for http connection.voidHttp5FileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts, int soTimeout) voidHttp5FileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts, Duration soTimeout) The socket timeout.voidHttp5FileSystemConfigBuilder.setTlsVersions(FileSystemOptions opts, String tlsVersions) Sets the enabled TLS versions as a comma separated string, each token of which is the name oforg.apache.hc.core5.http.ssl.TLSenum. e.g, "V_1_2, V_1_3".voidHttp5FileSystemConfigBuilder.setUrlCharset(FileSystemOptions opts, String charset) Sets the charset used for url encoding.voidHttp5FileSystemConfigBuilder.setUserAgent(FileSystemOptions opts, String userAgent) Sets the user agent to attach to the outgoing http methods.Constructors in org.apache.commons.vfs2.provider.http5 with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedHttp5FileSystem(FileName rootName, FileSystemOptions fileSystemOptions, org.apache.hc.client5.http.classic.HttpClient httpClient, org.apache.hc.client5.http.protocol.HttpClientContext httpClientContext) ConstructsHttp4FileSystem. -
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 FileSystemJarFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.jar with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedJarFileSystem(AbstractFileName rootFileName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
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 FileSystemDefaultLocalFileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Creates the file system.Constructors in org.apache.commons.vfs2.provider.local with parameters of type FileSystemOptionsModifierConstructorDescriptionLocalFileSystem(FileName rootFileName, String rootFile, FileSystemOptions fileSystemOptions) Constructs a new instance. -
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 FileSystemRamFileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) longRamFileSystemConfigBuilder.getLongMaxSize(FileSystemOptions opts) Defaults toInteger.MAX_VALUE.intRamFileSystemConfigBuilder.getMaxSize(FileSystemOptions opts) Defaults toInteger.MAX_VALUE.voidRamFileSystemConfigBuilder.setMaxSize(FileSystemOptions opts, int sizeInBytes) Deprecated.voidRamFileSystemConfigBuilder.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 FileSystemOptionsModifierConstructorDescriptionprotectedRamFileSystem(FileName rootName, FileSystemOptions fileSystemOptions) Constructs a new instance. -
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 fileSystemOptions) Gets the class loader from the FileSystemOptions.voidResourceFileSystemConfigBuilder.setClassLoader(FileSystemOptions fileSystemOptions, ClassLoader classLoader) Sets the class loader in the FileSystemOptions. -
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 options) 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.SessionSftpClientFactory.createConnection(String hostname, int port, char[] username, char[] password, FileSystemOptions fileSystemOptions) Creates a new connection to the server.protected FileSystemSftpFileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Creates aFileSystem.SftpFileSystemConfigBuilder.getCompression(FileSystemOptions options) Gets the names of the compression algorithms, comma-separated.com.jcraft.jsch.ConfigRepositorySftpFileSystemConfigBuilder.getConfigRepository(FileSystemOptions options) Gets the config repository.SftpFileSystemConfigBuilder.getConnectTimeout(FileSystemOptions options) Gets the connect timeout duration.SftpFileSystemConfigBuilder.getConnectTimeoutMillis(FileSystemOptions options) Deprecated.SftpFileSystemConfigBuilder.getFileNameEncoding(FileSystemOptions options) Gets the file name encoding.File[]SftpFileSystemConfigBuilder.getIdentities(FileSystemOptions options) Deprecated.SftpFileSystemConfigBuilder.getIdentityInfo(FileSystemOptions options) Gets the identity infos.SftpFileSystemConfigBuilder.getIdentityProvider(FileSystemOptions options) Gets the identity providers.SftpFileSystemConfigBuilder.getIdentityRepositoryFactory(FileSystemOptions options) Gets the identity repository factory.SftpFileSystemConfigBuilder.getKeyExchangeAlgorithm(FileSystemOptions options) Gets the option value for specific key exchange algorithm.SftpFileSystemConfigBuilder.getKnownHosts(FileSystemOptions options) Gets the known hosts File.SftpFileSystemConfigBuilder.getPreferredAuthentications(FileSystemOptions options) Gets authentication order.SftpFileSystemConfigBuilder.getProxyCommand(FileSystemOptions options) Gets the command that will be run on the proxy host when using a SftpStreamProxy.SftpFileSystemConfigBuilder.getProxyHost(FileSystemOptions options) Gets the proxy to use for the SFTP connection.SftpFileSystemConfigBuilder.getProxyOptions(FileSystemOptions options) Gets the proxy options that are used to connect to the proxy host.SftpFileSystemConfigBuilder.getProxyPassword(FileSystemOptions options) Gets the proxy password that are used to connect to the proxy host.intSftpFileSystemConfigBuilder.getProxyPort(FileSystemOptions options) Gets the proxy-port to use for the SFTP the connection.SftpFileSystemConfigBuilder.getProxyType(FileSystemOptions options) Gets the proxy type to use for the SFTP connection.SftpFileSystemConfigBuilder.getProxyUser(FileSystemOptions options) Gets the user name for the proxy used for the SFTP connection.SftpFileSystemConfigBuilder.getSessionTimeout(FileSystemOptions options) Gets the session timeout value in milliseconds.SftpFileSystemConfigBuilder.getSessionTimeoutMillis(FileSystemOptions options) Deprecated.SftpFileSystemConfigBuilder.getStrictHostKeyChecking(FileSystemOptions options) Gets the option value The host key checking.SftpFileSystemConfigBuilder.getTimeout(FileSystemOptions options) SftpFileSystemConfigBuilder.getUserDirIsRoot(FileSystemOptions options) GetsBoolean.TRUEif VFS should treat the user directory as the root directory.com.jcraft.jsch.UserInfoSftpFileSystemConfigBuilder.getUserInfo(FileSystemOptions options) Gets the UserInfo.booleanSftpFileSystemConfigBuilder.isDisableDetectExecChannel(FileSystemOptions options) Returnstrueif the detection of the exec channel should be disabled.booleanSftpFileSystemConfigBuilder.isLoadOpenSSHConfig(FileSystemOptions options) ReturnsBoolean.TRUEif VFS should load the OpenSSH config.voidSftpFileSystemConfigBuilder.setCompression(FileSystemOptions options, String compression) Configures the compression algorithms to use.voidSftpFileSystemConfigBuilder.setConfigRepository(FileSystemOptions options, com.jcraft.jsch.ConfigRepository configRepository) Sets the config repository. e.g.voidSftpFileSystemConfigBuilder.setConnectTimeout(FileSystemOptions options, Duration timeout) Sets the timeout value to create a Jsch connection.voidSftpFileSystemConfigBuilder.setConnectTimeoutMillis(FileSystemOptions options, Integer timeout) voidSftpFileSystemConfigBuilder.setDisableDetectExecChannel(FileSystemOptions options, boolean disableDetectExecChannel) Sets whether detection of exec channel is disabled.voidSftpFileSystemConfigBuilder.setFileNameEncoding(FileSystemOptions options, String fileNameEncoding) Sets the file name encoding.voidSftpFileSystemConfigBuilder.setIdentities(FileSystemOptions options, File... identityFiles) Deprecated.voidSftpFileSystemConfigBuilder.setIdentityInfo(FileSystemOptions options, IdentityInfo... identities) voidSftpFileSystemConfigBuilder.setIdentityProvider(FileSystemOptions options, IdentityProvider... identities) Sets the identity info (your private key files).voidSftpFileSystemConfigBuilder.setIdentityRepositoryFactory(FileSystemOptions options, IdentityRepositoryFactory factory) Sets the identity repository.voidSftpFileSystemConfigBuilder.setKeyExchangeAlgorithm(FileSystemOptions options, String keyExchangeAlgorithm) Configures Key exchange algorithm explicitly e.g. diffie-hellman-group14-sha1, diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group1-sha1.voidSftpFileSystemConfigBuilder.setKnownHosts(FileSystemOptions options, File knownHosts) Sets the known_hosts file. e.g.voidSftpFileSystemConfigBuilder.setLoadOpenSSHConfig(FileSystemOptions options, boolean loadOpenSSHConfig) Sets the whether to load OpenSSH config.voidSftpFileSystemConfigBuilder.setPreferredAuthentications(FileSystemOptions options, String preferredAuthentications) Configures authentication order.voidSftpFileSystemConfigBuilder.setProxyCommand(FileSystemOptions options, String proxyCommand) Sets the proxy username to use for the SFTP connection.voidSftpFileSystemConfigBuilder.setProxyHost(FileSystemOptions options, String proxyHost) Sets the proxy to use for the SFTP connection.voidSftpFileSystemConfigBuilder.setProxyOptions(FileSystemOptions options, FileSystemOptions proxyOptions) Sets the proxy username to use for the SFTP connection.voidSftpFileSystemConfigBuilder.setProxyPassword(FileSystemOptions options, String proxyPassword) Sets the proxy password to use for the SFTP connection.voidSftpFileSystemConfigBuilder.setProxyPort(FileSystemOptions options, int proxyPort) Sets the proxy port to use for the SFTP connection.voidSftpFileSystemConfigBuilder.setProxyType(FileSystemOptions options, SftpFileSystemConfigBuilder.ProxyType proxyType) Sets the proxy type to use for the SFTP connection.voidSftpFileSystemConfigBuilder.setProxyUser(FileSystemOptions options, String proxyUser) Sets the proxy username to use for the SFTP connection.voidSftpFileSystemConfigBuilder.setSessionTimeout(FileSystemOptions options, Duration timeout) Sets the timeout value on Jsch session.voidSftpFileSystemConfigBuilder.setSessionTimeoutMillis(FileSystemOptions options, Integer timeout) voidSftpFileSystemConfigBuilder.setStrictHostKeyChecking(FileSystemOptions options, String hostKeyChecking) Configures the host key checking to use.voidSftpFileSystemConfigBuilder.setTimeout(FileSystemOptions options, Integer timeout) voidSftpFileSystemConfigBuilder.setUserDirIsRoot(FileSystemOptions options, boolean userDirIsRoot) Sets the whether to use the user directory as root (do not change to file system root).voidSftpFileSystemConfigBuilder.setUserInfo(FileSystemOptions options, com.jcraft.jsch.UserInfo info) Sets the Jsch UserInfo class to use.Constructors in org.apache.commons.vfs2.provider.sftp with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedSftpFileSystem(GenericFileName rootName, com.jcraft.jsch.Session session, FileSystemOptions fileSystemOptions) Constructs a new instance.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 FileSystemTarFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.tar with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedTarFileSystem(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
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 fileSystemOptions) 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 fileUri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.Constructors in org.apache.commons.vfs2.provider.url with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedUrlFileSystem(FileName rootName, FileSystemOptions fileSystemOptions) Constructs a new instance. -
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 FileSystemZipFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.ZipFileSystemConfigBuilder.getCharset(FileSystemOptions fileSystemOptions) Gets the Charset from the FileSystemOptions orStandardCharsets.UTF_8if absent.voidZipFileSystemConfigBuilder.setCharset(FileSystemOptions fileSystemOptions, Charset charset) Sets the Charset in the FileSystemOptions.Constructors in org.apache.commons.vfs2.provider.zip with parameters of type FileSystemOptionsModifierConstructorDescriptionZipFileSystem(AbstractFileName rootFileName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileSystemOptions in org.apache.commons.vfs2.util
Methods in org.apache.commons.vfs2.util with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionstatic UserAuthenticationDataUserAuthenticatorUtils.authenticate(FileSystemOptions options, UserAuthenticationData.Type[] authenticatorTypes) Authenticates if there is an authenticator, else returns null.voidDelegatingFileSystemOptionsBuilder.setConfigClass(FileSystemOptions fso, String scheme, String name, Class<?> className) Sets a single class value.voidDelegatingFileSystemOptionsBuilder.setConfigClasses(FileSystemOptions fso, String scheme, String name, Class<?>[] classNames) Sets an array of class values.voidDelegatingFileSystemOptionsBuilder.setConfigString(FileSystemOptions fso, String scheme, String name, String value) Sets a single string value.voidDelegatingFileSystemOptionsBuilder.setConfigStrings(FileSystemOptions fso, String scheme, String name, String[] values) Sets an array of string value.
FtpFileSystemConfigBuilder.getConnectTimeoutDuration(FileSystemOptions).