Uses of Class
org.apache.commons.vfs2.FileSystemOptions
-
-
Uses of FileSystemOptions in org.apache.commons.vfs2
Methods in org.apache.commons.vfs2 that return FileSystemOptions Modifier and Type Method Description FileSystemOptions
FileSystem. getFileSystemOptions()
Returns the FileSystemOptions used to instantiate this file system.Methods in org.apache.commons.vfs2 with parameters of type FileSystemOptions Modifier and Type Method Description int
FileSystemOptions. compareTo(FileSystemOptions other)
protected java.lang.Boolean
FileSystemConfigBuilder. getBoolean(FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named option as a Boolean.protected boolean
FileSystemConfigBuilder. getBoolean(FileSystemOptions fileSystemOptions, java.lang.String name, boolean defaultValue)
Gets a named option as a Boolean.protected java.lang.Boolean
FileSystemConfigBuilder. getBoolean(FileSystemOptions fileSystemOptions, java.lang.String name, java.lang.Boolean defaultValue)
Gets a named option as a Boolean.protected java.lang.Byte
FileSystemConfigBuilder. getByte(FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named option as a Byte.protected byte
FileSystemConfigBuilder. getByte(FileSystemOptions fileSystemOptions, java.lang.String name, byte defaultValue)
Gets a named option as a Byte.protected java.lang.Byte
FileSystemConfigBuilder. getByte(FileSystemOptions fileSystemOptions, java.lang.String name, java.lang.Byte defaultValue)
Gets a named option as a Byte.protected java.lang.Character
FileSystemConfigBuilder. getCharacter(FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named option as a Character.protected char
FileSystemConfigBuilder. getCharacter(FileSystemOptions fileSystemOptions, java.lang.String name, char defaultValue)
Gets a named option as a Character.protected java.lang.Character
FileSystemConfigBuilder. getCharacter(FileSystemOptions fileSystemOptions, java.lang.String name, java.lang.Character defaultValue)
Gets a named option as a Character.protected java.lang.Double
FileSystemConfigBuilder. getDouble(FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named option as a Double.protected double
FileSystemConfigBuilder. getDouble(FileSystemOptions fileSystemOptions, java.lang.String name, double defaultValue)
Gets a named option as a Double.protected java.lang.Double
FileSystemConfigBuilder. getDouble(FileSystemOptions fileSystemOptions, java.lang.String name, java.lang.Double defaultValue)
Gets a named option as a Double.protected java.time.Duration
FileSystemConfigBuilder. getDuration(FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named option as a Duration.protected java.time.Duration
FileSystemConfigBuilder. getDuration(FileSystemOptions fileSystemOptions, java.lang.String name, java.time.Duration defaultValue)
Gets a named option as a Duration.protected java.lang.Integer
FileSystemConfigBuilder. getDurationInteger(FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named option as a Duration bound to the integer range.protected java.lang.Integer
FileSystemConfigBuilder. getDurationInteger(FileSystemOptions fileSystemOptions, java.lang.String name, java.time.Duration defaultValue)
Gets a named option as a Duration bound to the integer range.protected <E extends java.lang.Enum<E>>
EFileSystemConfigBuilder. getEnum(java.lang.Class<E> enumClass, FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named option as a Double.protected <E extends java.lang.Enum<E>>
EFileSystemConfigBuilder. getEnum(java.lang.Class<E> enumClass, FileSystemOptions fileSystemOptions, java.lang.String name, E defaultValue)
Gets a named option as an Enum.protected java.lang.Float
FileSystemConfigBuilder. getFloat(FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named option as a Float.protected float
FileSystemConfigBuilder. getFloat(FileSystemOptions fileSystemOptions, java.lang.String name, float defaultValue)
Gets a named option as a Float.protected java.lang.Float
FileSystemConfigBuilder. getFloat(FileSystemOptions fileSystemOptions, java.lang.String name, java.lang.Float defaultValue)
Gets a named option as a Float.protected java.lang.Integer
FileSystemConfigBuilder. getInteger(FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named option as an Integer.protected int
FileSystemConfigBuilder. getInteger(FileSystemOptions fileSystemOptions, java.lang.String name, int defaultValue)
Gets a named option as an Integer.protected java.lang.Integer
FileSystemConfigBuilder. getInteger(FileSystemOptions fileSystemOptions, java.lang.String name, java.lang.Integer defaultValue)
Gets a named option as an Integer.protected java.lang.Long
FileSystemConfigBuilder. getLong(FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named option as a Long.protected long
FileSystemConfigBuilder. getLong(FileSystemOptions fileSystemOptions, java.lang.String name, long defaultValue)
Gets a named option as a Long.protected java.lang.Long
FileSystemConfigBuilder. getLong(FileSystemOptions fileSystemOptions, java.lang.String name, java.lang.Long defaultValue)
Gets a named option as a Long.protected <T> T
FileSystemConfigBuilder. getParam(FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named parameter.private <T> T
FileSystemConfigBuilder. getParam(FileSystemOptions fileSystemOptions, java.lang.String name, T defaultValue, java.util.function.Function<java.lang.String,T> function)
Gets a named parameter.java.lang.String
FileSystemConfigBuilder. getRootURI(FileSystemOptions fileSystemOptions)
Gets the root URI of the file system.protected java.lang.Short
FileSystemConfigBuilder. getShort(FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named option as a Short.protected short
FileSystemConfigBuilder. getShort(FileSystemOptions fileSystemOptions, java.lang.String name, short defaultValue)
Gets a named option as a Short.protected java.lang.Short
FileSystemConfigBuilder. getShort(FileSystemOptions fileSystemOptions, java.lang.String name, java.lang.Short defaultValue)
Gets a named option as a Short.protected java.lang.String
FileSystemConfigBuilder. getString(FileSystemOptions fileSystemOptions, java.lang.String name)
Gets a named option as a String.protected java.lang.String
FileSystemConfigBuilder. getString(FileSystemOptions fileSystemOptions, java.lang.String name, java.lang.String defaultValue)
Gets a named option as a String.protected boolean
FileSystemConfigBuilder. hasObject(FileSystemOptions fileSystemOptions, java.lang.String name)
Checks the named setting specified.protected boolean
FileSystemConfigBuilder. hasParam(FileSystemOptions fileSystemOptions, java.lang.String name)
Checks if option exists.FileObject
FileSystemManager. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)
Locates a file by name.protected void
FileSystemConfigBuilder. setParam(FileSystemOptions fileSystemOptions, java.lang.String name, boolean value)
Sets the named parameter.protected void
FileSystemConfigBuilder. setParam(FileSystemOptions fileSystemOptions, java.lang.String name, java.lang.Object value)
Sets the named parameter.void
FileSystemConfigBuilder. setRootURI(FileSystemOptions fileSystemOptions, java.lang.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 FileSystemOptions Modifier and Type Method Description UserAuthenticator
DefaultFileSystemConfigBuilder. getUserAuthenticator(FileSystemOptions opts)
FileObject
DefaultFileSystemManager. resolveFile(java.lang.String uri, FileSystemOptions fileSystemOptions)
Locate a file by URI, use the FileSystemOptions for file-system creation.FileObject
DefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Resolves a URI, relative to a base file with specified FileSystem configuration.FileObject
DefaultVfsComponentContext. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)
Locate a file by name.FileObject
DefaultVfsComponentContext. resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions)
Locate a file by name.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 FileSystemOptions Constructor Description VirtualFileSystem(AbstractFileName rootName, FileSystemOptions fileSystemOptions)
-
Uses of FileSystemOptions in org.apache.commons.vfs2.provider
Fields in org.apache.commons.vfs2.provider declared as FileSystemOptions Modifier and Type Field Description private static FileSystemOptions
FileSystemKey. EMPTY_OPTIONS
private FileSystemOptions
AbstractFileSystem. fileSystemOptions
FileSystemOptions used for configurationprivate FileSystemOptions
DefaultURLStreamHandler. fileSystemOptions
private FileSystemOptions
FileSystemKey. fileSystemOptions
Never null as the ctor sets it to EMPTY_OPTIONS if input is null.Methods in org.apache.commons.vfs2.provider that return FileSystemOptions Modifier and Type Method Description FileSystemOptions
AbstractFileSystem. getFileSystemOptions()
Returns the FileSystemOptions used to instantiate this file system.Methods in org.apache.commons.vfs2.provider with parameters of type FileSystemOptions Modifier and Type Method Description FileObject
AbstractFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.FileObject
AbstractLayeredFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.FileObject
FileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.protected abstract FileSystem
AbstractLayeredFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.protected abstract FileSystem
AbstractOriginatingFileProvider. doCreateFileSystem(FileName rootFileName, FileSystemOptions fileSystemOptions)
Creates aFileSystem
.FileObject
AbstractLayeredFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.protected FileObject
AbstractOriginatingFileProvider. findFile(FileName fileName, FileSystemOptions fileSystemOptions)
Locates a file from its parsed URI.FileObject
AbstractOriginatingFileProvider. findFile(FileObject baseFileObject, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.FileObject
CompositeFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.FileObject
FileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.protected FileSystem
AbstractFileProvider. findFileSystem(java.lang.Comparable<?> key, FileSystemOptions fileSystemOptions)
Locates a cached file system.protected FileSystem
AbstractOriginatingFileProvider. getFileSystem(FileName rootFileName, FileSystemOptions fileSystemOptions)
Returns the FileSystem associated with the specified root.FileObject
VfsComponentContext. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)
Resolves a file by name.FileObject
VfsComponentContext. resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions)
Resolves a file by name.Constructors in org.apache.commons.vfs2.provider with parameters of type FileSystemOptions Constructor Description AbstractFileSystem(FileName rootFileName, FileObject parentLayer, FileSystemOptions fileSystemOptions)
DefaultURLStreamHandler(VfsComponentContext context, FileSystemOptions fileSystemOptions)
FileSystemKey(java.lang.Comparable<?> key, FileSystemOptions fileSystemOptions)
Creates the FS key. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.bzip2
Methods in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileSystemOptions Modifier and Type Method Description protected FileSystem
Bzip2FileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)
Constructors in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileSystemOptions Constructor Description 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 FileSystemOptions Modifier and Type Method Description protected abstract FileSystem
CompressedFileFileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)
protected FileSystem
CompressedFileFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.compressed with parameters of type FileSystemOptions Constructor Description 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 FileSystemOptions Modifier and Type Field Description protected FileSystemOptions
FTPClientWrapper. fileSystemOptions
Methods in org.apache.commons.vfs2.provider.ftp that return FileSystemOptions Modifier and Type Method Description FileSystemOptions
FTPClientWrapper. getFileSystemOptions()
Methods in org.apache.commons.vfs2.provider.ftp with parameters of type FileSystemOptions Modifier and Type Method Description private void
FtpClientFactory.ConnectionFactory. configureClient(FileSystemOptions fileSystemOptions, C client)
protected abstract C
FtpClientFactory.ConnectionFactory. createClient(FileSystemOptions fileSystemOptions)
protected org.apache.commons.net.ftp.FTPClient
FtpClientFactory.FtpConnectionFactory. createClient(FileSystemOptions fileSystemOptions)
C
FtpClientFactory.ConnectionFactory. createConnection(java.lang.String hostname, int port, char[] username, char[] password, java.lang.String workingDirectory, FileSystemOptions fileSystemOptions)
static org.apache.commons.net.ftp.FTPClient
FtpClientFactory. createConnection(java.lang.String hostname, int port, char[] username, char[] password, java.lang.String workingDirectory, FileSystemOptions fileSystemOptions)
Creates a new connection to the server.protected FileSystem
FtpFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)
Creates the file system.java.lang.Boolean
FtpFileSystemConfigBuilder. getAutodetectUtf8(FileSystemOptions options)
Gets whether to try to autodetect the server encoding (only UTF8 is supported).java.lang.Integer
FtpFileSystemConfigBuilder. getConnectTimeout(FileSystemOptions options)
java.time.Duration
FtpFileSystemConfigBuilder. getConnectTimeoutDuration(FileSystemOptions options)
Gets the timeout in milliseconds to use for the socket connection.java.lang.String
FtpFileSystemConfigBuilder. getControlEncoding(FileSystemOptions options)
java.time.Duration
FtpFileSystemConfigBuilder. getControlKeepAliveReplyTimeout(FileSystemOptions options)
java.time.Duration
FtpFileSystemConfigBuilder. getControlKeepAliveTimeout(FileSystemOptions options)
java.lang.Integer
FtpFileSystemConfigBuilder. getDataTimeout(FileSystemOptions options)
Deprecated.java.time.Duration
FtpFileSystemConfigBuilder. getDataTimeoutDuration(FileSystemOptions options)
Gets the timeout for opening the data channel.java.lang.String
FtpFileSystemConfigBuilder. getDefaultDateFormat(FileSystemOptions options)
Get the default date format used by the server.java.lang.String
FtpFileSystemConfigBuilder. getEntryParser(FileSystemOptions options)
org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory
FtpFileSystemConfigBuilder. getEntryParserFactory(FileSystemOptions options)
FtpFileType
FtpFileSystemConfigBuilder. getFileType(FileSystemOptions options)
Gets the file type parameter.java.lang.Boolean
FtpFileSystemConfigBuilder. getMdtmLastModifiedTime(FileSystemOptions options)
Gets the option to use FTP MDTM forFileContent.getLastModifiedTime()
.java.lang.Boolean
FtpFileSystemConfigBuilder. getPassiveMode(FileSystemOptions options)
java.net.Proxy
FtpFileSystemConfigBuilder. getProxy(FileSystemOptions options)
Gets the Proxy.java.lang.String
FtpFileSystemConfigBuilder. getRecentDateFormat(FileSystemOptions options)
SeeFTPClientConfig
for details and examples.java.lang.Boolean
FtpFileSystemConfigBuilder. getRemoteVerification(FileSystemOptions options)
Gets whether to use remote verification.java.lang.String
FtpFileSystemConfigBuilder. getServerLanguageCode(FileSystemOptions options)
Get the language code used by the server.java.lang.String
FtpFileSystemConfigBuilder. getServerTimeZoneId(FileSystemOptions options)
SeeFTPClientConfig
for details and examples.java.lang.String[]
FtpFileSystemConfigBuilder. getShortMonthNames(FileSystemOptions options)
SeeFTPClientConfig
for details and examples.java.lang.Integer
FtpFileSystemConfigBuilder. getSoTimeout(FileSystemOptions options)
Deprecated.java.time.Duration
FtpFileSystemConfigBuilder. getSoTimeoutDuration(FileSystemOptions options)
Gets The so timeout duration.java.util.List<java.lang.Integer>
FtpFileSystemConfigBuilder. getTransferAbortedOkReplyCodes(FileSystemOptions options)
java.lang.Boolean
FtpFileSystemConfigBuilder. getUserDirIsRoot(FileSystemOptions options)
ReturnsBoolean.TRUE
if VFS should treat the user directory as the root directory.void
FtpFileSystemConfigBuilder. setAutodetectUtf8(FileSystemOptions options, java.lang.Boolean autodetectUTF8)
Sets whether to try to autodetect the server encoding (only UTF8 is supported).void
FtpFileSystemConfigBuilder. setConnectTimeout(FileSystemOptions options, java.lang.Integer duration)
void
FtpFileSystemConfigBuilder. setConnectTimeout(FileSystemOptions options, java.time.Duration duration)
Sets the timeout for the initial control connection.void
FtpFileSystemConfigBuilder. setControlEncoding(FileSystemOptions options, java.lang.String encoding)
SeeFTP.setControlEncoding(java.lang.String)
for details and examples.void
FtpFileSystemConfigBuilder. setControlKeepAliveReplyTimeout(FileSystemOptions options, java.time.Duration duration)
Sets the control keep alive reply timeout for the FTP client.void
FtpFileSystemConfigBuilder. setControlKeepAliveTimeout(FileSystemOptions options, java.time.Duration duration)
Sets the control keep alive timeout for the FTP client.void
FtpFileSystemConfigBuilder. setDataTimeout(FileSystemOptions options, java.lang.Integer duration)
void
FtpFileSystemConfigBuilder. setDataTimeout(FileSystemOptions options, java.time.Duration duration)
Set the data timeout for the FTP client.void
FtpFileSystemConfigBuilder. setDefaultDateFormat(FileSystemOptions options, java.lang.String defaultDateFormat)
Set the default date format used by the server.void
FtpFileSystemConfigBuilder. setEntryParser(FileSystemOptions options, java.lang.String key)
Set the FQCN of your FileEntryParser used to parse the directory listing from your server.void
FtpFileSystemConfigBuilder. setEntryParserFactory(FileSystemOptions options, org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory factory)
FTPFileEntryParserFactory which will be used for ftp-entry parsing.void
FtpFileSystemConfigBuilder. setFileType(FileSystemOptions options, FtpFileType ftpFileType)
Sets the file type parameter.void
FtpFileSystemConfigBuilder. setMdtmLastModifiedTime(FileSystemOptions options, boolean mdtm)
Sets the option to use FTP MDTM forFileContent.getLastModifiedTime()
.void
FtpFileSystemConfigBuilder. setPassiveMode(FileSystemOptions options, boolean passiveMode)
Enter into passive mode.void
FtpFileSystemConfigBuilder. setProxy(FileSystemOptions options, java.net.Proxy proxy)
Sets the Proxy.void
FtpFileSystemConfigBuilder. setRecentDateFormat(FileSystemOptions options, java.lang.String recentDateFormat)
SeeFTPClientConfig
for details and examples.void
FtpFileSystemConfigBuilder. setRemoteVerification(FileSystemOptions options, boolean remoteVerification)
Sets whether to use remote verification.void
FtpFileSystemConfigBuilder. setServerLanguageCode(FileSystemOptions options, java.lang.String serverLanguageCode)
Set the language code used by the server.void
FtpFileSystemConfigBuilder. setServerTimeZoneId(FileSystemOptions options, java.lang.String serverTimeZoneId)
SeeFTPClientConfig
for details and examples.void
FtpFileSystemConfigBuilder. setShortMonthNames(FileSystemOptions options, java.lang.String[] shortMonthNames)
SeeFTPClientConfig
for details and examples.void
FtpFileSystemConfigBuilder. setSoTimeout(FileSystemOptions options, java.lang.Integer timeout)
Deprecated.void
FtpFileSystemConfigBuilder. setSoTimeout(FileSystemOptions options, java.time.Duration timeout)
Sets the socket timeout for the FTP client.void
FtpFileSystemConfigBuilder. setTransferAbortedOkReplyCodes(FileSystemOptions options, java.util.List<java.lang.Integer> replyCodes)
Sets the list of reply codes that are considered as OK when prematurely closing a stream.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 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 FileSystemOptions Constructor Description FTPClientWrapper(GenericFileName root, FileSystemOptions fileSystemOptions)
FtpFileSystem(GenericFileName rootName, FtpClient ftpClient, FileSystemOptions fileSystemOptions)
-
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.gzip
Methods in org.apache.commons.vfs2.provider.gzip with parameters of type FileSystemOptions Modifier and Type Method Description protected FileSystem
GzipFileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)
Constructors in org.apache.commons.vfs2.provider.gzip with parameters of type FileSystemOptions Constructor Description GzipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)
-
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.http4
Methods in org.apache.commons.vfs2.provider.http4 with parameters of type FileSystemOptions Modifier and Type Method Description private org.apache.http.conn.HttpClientConnectionManager
Http4FileProvider. createConnectionManager(Http4FileSystemConfigBuilder builder, FileSystemOptions fileSystemOptions, javax.net.ssl.SSLContext sslContext, javax.net.ssl.HostnameVerifier verifier)
private org.apache.http.client.CookieStore
Http4FileProvider. createDefaultCookieStore(Http4FileSystemConfigBuilder builder, FileSystemOptions fileSystemOptions)
private org.apache.http.client.config.RequestConfig
Http4FileProvider. createDefaultRequestConfig(Http4FileSystemConfigBuilder builder, FileSystemOptions fileSystemOptions)
private javax.net.ssl.HostnameVerifier
Http4FileProvider. createHostnameVerifier(Http4FileSystemConfigBuilder builder, FileSystemOptions fileSystemOptions)
protected org.apache.http.client.HttpClient
Http4FileProvider. createHttpClient(Http4FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions)
Create anHttpClient
object for an http4 file system.protected org.apache.http.impl.client.HttpClientBuilder
Http4FileProvider. createHttpClientBuilder(Http4FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions)
Create anHttpClientBuilder
object.protected org.apache.http.client.protocol.HttpClientContext
Http4FileProvider. createHttpClientContext(Http4FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions, UserAuthenticationData authData)
Create anHttpClientContext
object for an http4 file system.private org.apache.http.conn.routing.HttpRoutePlanner
Http4FileProvider. createHttpRoutePlanner(Http4FileSystemConfigBuilder builder, FileSystemOptions fileSystemOptions)
protected javax.net.ssl.SSLContext
Http4FileProvider. createSSLContext(Http4FileSystemConfigBuilder builder, FileSystemOptions fileSystemOptions)
CreateSSLContext
for HttpClient.protected FileSystem
Http4FileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)
int
Http4FileSystemConfigBuilder. getConnectionTimeout(FileSystemOptions opts)
java.time.Duration
Http4FileSystemConfigBuilder. getConnectionTimeoutDuration(FileSystemOptions opts)
/** Gets the connection timeout.org.apache.http.cookie.Cookie[]
Http4FileSystemConfigBuilder. getCookies(FileSystemOptions opts)
Gets the cookies to add to the request.boolean
Http4FileSystemConfigBuilder. getFollowRedirect(FileSystemOptions opts)
Gets whether to follow redirects for the connection.java.lang.String
Http4FileSystemConfigBuilder. getKeyStoreFile(FileSystemOptions opts)
Return keystore file path to be used in SSL connections.(package private) java.lang.String
Http4FileSystemConfigBuilder. getKeyStorePass(FileSystemOptions opts)
Return keystore pass phrase for SSL connections.java.lang.String
Http4FileSystemConfigBuilder. getKeyStoreType(FileSystemOptions opts)
Get keystore type for SSL connections.int
Http4FileSystemConfigBuilder. getMaxConnectionsPerHost(FileSystemOptions opts)
Gets the maximum number of connections allowed per host.int
Http4FileSystemConfigBuilder. getMaxTotalConnections(FileSystemOptions opts)
Gets the maximum number of connections allowed.UserAuthenticator
Http4FileSystemConfigBuilder. getProxyAuthenticator(FileSystemOptions opts)
Gets the proxy authenticator where the system should get the credentials from.java.lang.String
Http4FileSystemConfigBuilder. getProxyHost(FileSystemOptions opts)
Gets the proxy to use for http connection.private org.apache.http.HttpHost
Http4FileProvider. getProxyHttpHost(Http4FileSystemConfigBuilder builder, FileSystemOptions fileSystemOptions)
int
Http4FileSystemConfigBuilder. getProxyPort(FileSystemOptions opts)
Gets the proxy-port to use for http the connection.java.lang.String
Http4FileSystemConfigBuilder. getProxyScheme(FileSystemOptions opts)
Gets the proxy-scheme to use for http the connection.int
Http4FileSystemConfigBuilder. getSoTimeout(FileSystemOptions opts)
Deprecated.java.time.Duration
Http4FileSystemConfigBuilder. getSoTimeoutDuration(FileSystemOptions opts)
Gets the socket timeout.java.lang.String
Http4FileSystemConfigBuilder. getUrlCharset(FileSystemOptions opts)
Sets the charset used for url encoding.java.lang.String
Http4FileSystemConfigBuilder. getUserAgent(FileSystemOptions opts)
Gets the user agent stringboolean
Http4FileSystemConfigBuilder. isHostnameVerificationEnabled(FileSystemOptions opts)
Determines if the hostname should be verified in SSL context.boolean
Http4FileSystemConfigBuilder. isKeepAlive(FileSystemOptions opts)
Determines if the FileSystemOptions indicate that HTTP Keep-Alive is respected.boolean
Http4FileSystemConfigBuilder. isPreemptiveAuth(FileSystemOptions opts)
Determines if the FileSystemOptions indicate that preemptive authentication is requested.void
Http4FileSystemConfigBuilder. setConnectionTimeout(FileSystemOptions opts, int connectionTimeout)
void
Http4FileSystemConfigBuilder. setConnectionTimeout(FileSystemOptions opts, java.time.Duration connectionTimeout)
Sets the connection timeout.void
Http4FileSystemConfigBuilder. setCookies(FileSystemOptions opts, org.apache.http.cookie.Cookie[] cookies)
The cookies to add to the request.void
Http4FileSystemConfigBuilder. setFollowRedirect(FileSystemOptions opts, boolean redirect)
Sets whether to follow redirects for the connection.void
Http4FileSystemConfigBuilder. setHostnameVerificationEnabled(FileSystemOptions opts, boolean hostnameVerificationEnabled)
Sets if the hostname should be verified in SSL context.void
Http4FileSystemConfigBuilder. setKeepAlive(FileSystemOptions opts, boolean keepAlive)
Sets if the FileSystemOptions indicate that HTTP Keep-Alive is respected.void
Http4FileSystemConfigBuilder. setKeyStoreFile(FileSystemOptions opts, java.lang.String keyStoreFile)
Set keystore file path for SSL connections.void
Http4FileSystemConfigBuilder. setKeyStorePass(FileSystemOptions opts, java.lang.String keyStorePass)
Set keystore pass phrase for SSL connecdtions.void
Http4FileSystemConfigBuilder. setKeyStoreType(FileSystemOptions opts, java.lang.String keyStoreType)
Set keystore type for SSL connections.void
Http4FileSystemConfigBuilder. setMaxConnectionsPerHost(FileSystemOptions opts, int maxHostConnections)
Sets the maximum number of connections allowed to any host.void
Http4FileSystemConfigBuilder. setMaxTotalConnections(FileSystemOptions opts, int maxTotalConnections)
Sets the maximum number of connections allowed.void
Http4FileSystemConfigBuilder. setPreemptiveAuth(FileSystemOptions opts, boolean preemptiveAuth)
Sets the given value for preemptive HTTP authentication (using BASIC) on the given FileSystemOptions object.void
Http4FileSystemConfigBuilder. setProxyAuthenticator(FileSystemOptions opts, UserAuthenticator authenticator)
Sets the proxy authenticator where the system should get the credentials from.void
Http4FileSystemConfigBuilder. setProxyHost(FileSystemOptions opts, java.lang.String proxyHost)
Sets the proxy to use for http connection.void
Http4FileSystemConfigBuilder. setProxyPort(FileSystemOptions opts, int proxyPort)
Sets the proxy-port to use for http connection.void
Http4FileSystemConfigBuilder. setProxyScheme(FileSystemOptions opts, java.lang.String proxyScheme)
Sets the proxy-scheme to use for http connection.void
Http4FileSystemConfigBuilder. setSoTimeout(FileSystemOptions opts, int soTimeout)
void
Http4FileSystemConfigBuilder. setSoTimeout(FileSystemOptions opts, java.time.Duration soTimeout)
Sets the socket timeout.void
Http4FileSystemConfigBuilder. setUrlCharset(FileSystemOptions opts, java.lang.String charset)
Sets the charset used for URL encoding.void
Http4FileSystemConfigBuilder. setUserAgent(FileSystemOptions opts, java.lang.String userAgent)
Sets the user agent to attach to the outgoing http methodsConstructors in org.apache.commons.vfs2.provider.http4 with parameters of type FileSystemOptions Constructor Description Http4FileSystem(FileName rootName, FileSystemOptions fileSystemOptions, org.apache.http.client.HttpClient httpClient, org.apache.http.client.protocol.HttpClientContext httpClientContext)
ConstructHttp4FileSystem
. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.jar
Methods in org.apache.commons.vfs2.provider.jar with parameters of type FileSystemOptions Modifier and Type Method Description protected FileSystem
JarFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.jar with parameters of type FileSystemOptions Constructor Description 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 FileSystemOptions Modifier and Type Method Description protected FileSystem
DefaultLocalFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)
Creates the file system.Constructors in org.apache.commons.vfs2.provider.local with parameters of type FileSystemOptions Constructor Description LocalFileSystem(FileName rootName, java.lang.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 FileSystemOptions Modifier and Type Method Description protected 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 FileSystemOptions Constructor Description 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 FileSystemOptions Modifier and Type Method Description FileObject
ResourceFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.java.lang.ClassLoader
ResourceFileSystemConfigBuilder. getClassLoader(FileSystemOptions opts)
void
ResourceFileSystemConfigBuilder. setClassLoader(FileSystemOptions opts, java.lang.ClassLoader classLoader)
-
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.sftp
Fields in org.apache.commons.vfs2.provider.sftp declared as FileSystemOptions Modifier and Type Field Description private FileSystemOptions
SftpStreamProxy. proxyOptions
The options for connection.Methods in org.apache.commons.vfs2.provider.sftp that return FileSystemOptions Modifier and Type Method Description FileSystemOptions
SftpFileSystemConfigBuilder. 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 FileSystemOptions Modifier and Type Method Description static com.jcraft.jsch.Session
SftpClientFactory. createConnection(java.lang.String hostname, int port, char[] username, char[] password, FileSystemOptions fileSystemOptions)
Creates a new connection to the server.(package private) static com.jcraft.jsch.Session
SftpFileProvider. createSession(GenericFileName rootName, FileSystemOptions fileSystemOptions)
Creates a new Session.private static com.jcraft.jsch.Proxy
SftpClientFactory. createStreamProxy(java.lang.String proxyHost, int proxyPort, FileSystemOptions fileSystemOptions, SftpFileSystemConfigBuilder builder)
protected FileSystem
SftpFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)
Creates aFileSystem
.java.lang.String
SftpFileSystemConfigBuilder. getCompression(FileSystemOptions options)
com.jcraft.jsch.ConfigRepository
SftpFileSystemConfigBuilder. getConfigRepository(FileSystemOptions options)
Gets the config repository.java.time.Duration
SftpFileSystemConfigBuilder. getConnectTimeout(FileSystemOptions options)
Gets the connect timeout duration.java.lang.Integer
SftpFileSystemConfigBuilder. getConnectTimeoutMillis(FileSystemOptions options)
Deprecated.java.lang.String
SftpFileSystemConfigBuilder. getFileNameEncoding(FileSystemOptions options)
Gets the file name encoding.java.io.File[]
SftpFileSystemConfigBuilder. getIdentities(FileSystemOptions options)
Deprecated.IdentityInfo[]
SftpFileSystemConfigBuilder. getIdentityInfo(FileSystemOptions options)
Gets the identity infos.IdentityProvider[]
SftpFileSystemConfigBuilder. getIdentityProvider(FileSystemOptions options)
Gets the identity providers.IdentityRepositoryFactory
SftpFileSystemConfigBuilder. getIdentityRepositoryFactory(FileSystemOptions options)
Get the identity repository factory.java.lang.String
SftpFileSystemConfigBuilder. getKeyExchangeAlgorithm(FileSystemOptions options)
java.io.File
SftpFileSystemConfigBuilder. getKnownHosts(FileSystemOptions options)
java.lang.String
SftpFileSystemConfigBuilder. getPreferredAuthentications(FileSystemOptions options)
Gets authentication order.java.lang.String
SftpFileSystemConfigBuilder. getProxyCommand(FileSystemOptions options)
Gets the command that will be run on the proxy host when using a SftpStreamProxy.java.lang.String
SftpFileSystemConfigBuilder. getProxyHost(FileSystemOptions options)
Gets the proxy to use for the SFTP connection.FileSystemOptions
SftpFileSystemConfigBuilder. getProxyOptions(FileSystemOptions options)
Gets the proxy options that are used to connect to the proxy host.java.lang.String
SftpFileSystemConfigBuilder. getProxyPassword(FileSystemOptions options)
Gets the proxy password that are used to connect to the proxy host.int
SftpFileSystemConfigBuilder. getProxyPort(FileSystemOptions options)
Gets the proxy-port to use for the SFTP the connection.SftpFileSystemConfigBuilder.ProxyType
SftpFileSystemConfigBuilder. getProxyType(FileSystemOptions options)
Gets the proxy type to use for the SFTP connection.java.lang.String
SftpFileSystemConfigBuilder. getProxyUser(FileSystemOptions options)
Gets the user name for the proxy used for the SFTP connection.java.time.Duration
SftpFileSystemConfigBuilder. getSessionTimeout(FileSystemOptions options)
java.lang.Integer
SftpFileSystemConfigBuilder. getSessionTimeoutMillis(FileSystemOptions options)
Deprecated.java.lang.String
SftpFileSystemConfigBuilder. getStrictHostKeyChecking(FileSystemOptions options)
java.lang.Integer
SftpFileSystemConfigBuilder. getTimeout(FileSystemOptions options)
java.lang.Boolean
SftpFileSystemConfigBuilder. getUserDirIsRoot(FileSystemOptions options)
ReturnsBoolean.TRUE
if VFS should treat the user directory as the root directory.com.jcraft.jsch.UserInfo
SftpFileSystemConfigBuilder. getUserInfo(FileSystemOptions options)
boolean
SftpFileSystemConfigBuilder. isDisableDetectExecChannel(FileSystemOptions options)
Returnstrue
if the detection of the exec channel should be disabled.boolean
SftpFileSystemConfigBuilder. isLoadOpenSSHConfig(FileSystemOptions options)
ReturnsBoolean.TRUE
if VFS should load the OpenSSH config.void
SftpFileSystemConfigBuilder. setCompression(FileSystemOptions options, java.lang.String compression)
Configures the compression algorithms to use.void
SftpFileSystemConfigBuilder. setConfigRepository(FileSystemOptions options, com.jcraft.jsch.ConfigRepository configRepository)
Sets the config repository.void
SftpFileSystemConfigBuilder. setConnectTimeout(FileSystemOptions options, java.time.Duration timeout)
Sets the timeout value to create a Jsch connection.void
SftpFileSystemConfigBuilder. setConnectTimeoutMillis(FileSystemOptions options, java.lang.Integer timeout)
void
SftpFileSystemConfigBuilder. setDisableDetectExecChannel(FileSystemOptions options, boolean disableDetectExecChannel)
Sets whether detection of exec channel is disabled.void
SftpFileSystemConfigBuilder. setFileNameEncoding(FileSystemOptions options, java.lang.String fileNameEncoding)
Sets the file name encoding.void
SftpFileSystemConfigBuilder. setIdentities(FileSystemOptions options, java.io.File... identityFiles)
Deprecated.void
SftpFileSystemConfigBuilder. setIdentityInfo(FileSystemOptions options, IdentityInfo... identites)
void
SftpFileSystemConfigBuilder. setIdentityProvider(FileSystemOptions options, IdentityProvider... identites)
Sets the identity info (your private key files).void
SftpFileSystemConfigBuilder. setIdentityRepositoryFactory(FileSystemOptions options, IdentityRepositoryFactory factory)
Sets the identity repository.void
SftpFileSystemConfigBuilder. setKeyExchangeAlgorithm(FileSystemOptions options, java.lang.String keyExchangeAlgoritm)
Configures Key exchange algorithm explicitly e.g diffie-hellman-group14-sha1, diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group1-sha1void
SftpFileSystemConfigBuilder. setKnownHosts(FileSystemOptions options, java.io.File knownHosts)
Sets the known_hosts file.void
SftpFileSystemConfigBuilder. setLoadOpenSSHConfig(FileSystemOptions options, boolean loadOpenSSHConfig)
Sets the whether to load OpenSSH config.void
SftpFileSystemConfigBuilder. setPreferredAuthentications(FileSystemOptions options, java.lang.String preferredAuthentications)
Configures authentication order.void
SftpFileSystemConfigBuilder. setProxyCommand(FileSystemOptions options, java.lang.String proxyCommand)
Sets the proxy username to use for the SFTP connection.void
SftpFileSystemConfigBuilder. setProxyHost(FileSystemOptions options, java.lang.String proxyHost)
Sets the proxy to use for the SFTP connection.void
SftpFileSystemConfigBuilder. setProxyOptions(FileSystemOptions options, FileSystemOptions proxyOptions)
Sets the proxy username to use for the SFTP connection.void
SftpFileSystemConfigBuilder. setProxyPassword(FileSystemOptions options, java.lang.String proxyPassword)
Sets the proxy password to use for the SFTP connection.void
SftpFileSystemConfigBuilder. setProxyPort(FileSystemOptions options, int proxyPort)
Sets the proxy port to use for the SFTP connection.void
SftpFileSystemConfigBuilder. setProxyType(FileSystemOptions options, SftpFileSystemConfigBuilder.ProxyType proxyType)
Sets the proxy type to use for the SFTP connection.void
SftpFileSystemConfigBuilder. setProxyUser(FileSystemOptions options, java.lang.String proxyUser)
Sets the proxy username to use for the SFTP connection.void
SftpFileSystemConfigBuilder. setSessionTimeout(FileSystemOptions options, java.time.Duration timeout)
Sets the timeout value on Jsch session.void
SftpFileSystemConfigBuilder. setSessionTimeoutMillis(FileSystemOptions options, java.lang.Integer timeout)
void
SftpFileSystemConfigBuilder. setStrictHostKeyChecking(FileSystemOptions options, java.lang.String hostKeyChecking)
Configures the host key checking to use.void
SftpFileSystemConfigBuilder. setTimeout(FileSystemOptions options, java.lang.Integer timeout)
void
SftpFileSystemConfigBuilder. setUserDirIsRoot(FileSystemOptions options, boolean userDirIsRoot)
Sets the whether to use the user directory as root (do not change to file system root).void
SftpFileSystemConfigBuilder. 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 FileSystemOptions Constructor Description SftpFileSystem(GenericFileName rootName, com.jcraft.jsch.Session session, FileSystemOptions fileSystemOptions)
SftpStreamProxy(java.lang.String commandFormat, java.lang.String proxyUser, java.lang.String proxyHost, int proxyPort, java.lang.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 FileSystemOptions Modifier and Type Method Description protected FileSystem
TarFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.tar with parameters of type FileSystemOptions Constructor Description 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 FileSystemOptions Modifier and Type Method Description FileObject
TemporaryFileProvider. findFile(FileObject baseFile, java.lang.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 FileSystemOptions Modifier and Type Method Description FileObject
UrlFileProvider. findFile(FileObject baseFile, java.lang.String fileUri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.Constructors in org.apache.commons.vfs2.provider.url with parameters of type FileSystemOptions Constructor Description 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 FileSystemOptions Modifier and Type Method Description protected FileSystem
ZipFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.java.nio.charset.Charset
ZipFileSystemConfigBuilder. getCharset(FileSystemOptions opts)
void
ZipFileSystemConfigBuilder. setCharset(FileSystemOptions opts, java.nio.charset.Charset charset)
Constructors in org.apache.commons.vfs2.provider.zip with parameters of type FileSystemOptions Constructor Description ZipFileSystem(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)
-
Uses of FileSystemOptions in org.apache.commons.vfs2.util
Fields in org.apache.commons.vfs2.util declared as FileSystemOptions Modifier and Type Field Description private FileSystemOptions
DelegatingFileSystemOptionsBuilder.Context. fso
Methods in org.apache.commons.vfs2.util with parameters of type FileSystemOptions Modifier and Type Method Description static UserAuthenticationData
UserAuthenticatorUtils. authenticate(FileSystemOptions options, UserAuthenticationData.Type[] authenticatorTypes)
Authenticates if there is an authenticator, else returns null.void
DelegatingFileSystemOptionsBuilder. setConfigClass(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.Class<?> className)
Sets a single class value.void
DelegatingFileSystemOptionsBuilder. setConfigClasses(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.Class<?>[] classNames)
Sets an array of class values.void
DelegatingFileSystemOptionsBuilder. setConfigString(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.String value)
Sets a single string value.void
DelegatingFileSystemOptionsBuilder. setConfigStrings(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.String[] values)
Sets an array of string value.Constructors in org.apache.commons.vfs2.util with parameters of type FileSystemOptions Constructor Description Context(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.Object[] values)
-