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 FileSystemOptionsFileSystem. getFileSystemOptions()Returns the FileSystemOptions used to instantiate this filesystem.Methods in org.apache.commons.vfs2 with parameters of type FileSystemOptions Modifier and Type Method Description intFileSystemOptions. compareTo(FileSystemOptions other)protected java.lang.BooleanFileSystemConfigBuilder. getBoolean(FileSystemOptions opts, java.lang.String name)Get named option as boolean.protected booleanFileSystemConfigBuilder. getBoolean(FileSystemOptions opts, java.lang.String name, boolean defaultValue)Get named option as boolean.protected java.lang.BooleanFileSystemConfigBuilder. getBoolean(FileSystemOptions opts, java.lang.String name, java.lang.Boolean defaultValue)Get named option as boolean.protected java.lang.ByteFileSystemConfigBuilder. getByte(FileSystemOptions opts, java.lang.String name)Get named option as byte.protected byteFileSystemConfigBuilder. getByte(FileSystemOptions opts, java.lang.String name, byte defaultValue)Get named option as byte.protected java.lang.ByteFileSystemConfigBuilder. getByte(FileSystemOptions opts, java.lang.String name, java.lang.Byte defaultValue)Get named option as byte.protected java.lang.CharacterFileSystemConfigBuilder. getCharacter(FileSystemOptions opts, java.lang.String name)Get named option as character.protected charFileSystemConfigBuilder. getCharacter(FileSystemOptions opts, java.lang.String name, char defaultValue)Get named option as character.protected java.lang.CharacterFileSystemConfigBuilder. getCharacter(FileSystemOptions opts, java.lang.String name, java.lang.Character defaultValue)Get named option as character.protected java.lang.DoubleFileSystemConfigBuilder. getDouble(FileSystemOptions opts, java.lang.String name)Get named option as double.protected doubleFileSystemConfigBuilder. getDouble(FileSystemOptions opts, java.lang.String name, double defaultValue)Get named option as double.protected java.lang.DoubleFileSystemConfigBuilder. getDouble(FileSystemOptions opts, java.lang.String name, java.lang.Double defaultValue)Get named option as double.protected <E extends java.lang.Enum<E>>
EFileSystemConfigBuilder. getEnum(java.lang.Class<E> enumClass, FileSystemOptions opts, java.lang.String name)Get named option as enumeration.protected <E extends java.lang.Enum<E>>
EFileSystemConfigBuilder. getEnum(java.lang.Class<E> enumClass, FileSystemOptions opts, java.lang.String name, E defaultValue)Get named option as enumeration.protected java.lang.FloatFileSystemConfigBuilder. getFloat(FileSystemOptions opts, java.lang.String name)Get named option as float.protected floatFileSystemConfigBuilder. getFloat(FileSystemOptions opts, java.lang.String name, float defaultValue)Get named option as float.protected java.lang.FloatFileSystemConfigBuilder. getFloat(FileSystemOptions opts, java.lang.String name, java.lang.Float defaultValue)Get named option as float.protected java.lang.IntegerFileSystemConfigBuilder. getInteger(FileSystemOptions opts, java.lang.String name)Get named option as integer.protected intFileSystemConfigBuilder. getInteger(FileSystemOptions opts, java.lang.String name, int defaultValue)Get named option as integer.protected java.lang.IntegerFileSystemConfigBuilder. getInteger(FileSystemOptions opts, java.lang.String name, java.lang.Integer defaultValue)Get named option as integer.protected java.lang.LongFileSystemConfigBuilder. getLong(FileSystemOptions opts, java.lang.String name)Get named option as long.protected longFileSystemConfigBuilder. getLong(FileSystemOptions opts, java.lang.String name, long defaultValue)Get named option as long.protected java.lang.LongFileSystemConfigBuilder. getLong(FileSystemOptions opts, java.lang.String name, java.lang.Long defaultValue)Get named option as long.protected java.lang.ObjectFileSystemConfigBuilder. getParam(FileSystemOptions opts, java.lang.String name)Get named parameter.java.lang.StringFileSystemConfigBuilder. getRootURI(FileSystemOptions opts)Return the root URI of the file system.protected java.lang.ShortFileSystemConfigBuilder. getShort(FileSystemOptions opts, java.lang.String name)Get named option as short.protected shortFileSystemConfigBuilder. getShort(FileSystemOptions opts, java.lang.String name, short defaultValue)Get named option as short.protected java.lang.ShortFileSystemConfigBuilder. getShort(FileSystemOptions opts, java.lang.String name, java.lang.Short defaultValue)Get named option as short.protected java.lang.StringFileSystemConfigBuilder. getString(FileSystemOptions opts, java.lang.String name)Get named option as String.protected java.lang.StringFileSystemConfigBuilder. getString(FileSystemOptions opts, java.lang.String name, java.lang.String defaultValue)Get named option as String.protected booleanFileSystemConfigBuilder. hasObject(FileSystemOptions opts, java.lang.String name)Is named setting specified.protected booleanFileSystemConfigBuilder. hasParam(FileSystemOptions opts, java.lang.String name)Check if option exists.FileObjectFileSystemManager. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)Locates a file by name.protected voidFileSystemConfigBuilder. setParam(FileSystemOptions opts, java.lang.String name, boolean value)Set named parameter.protected voidFileSystemConfigBuilder. setParam(FileSystemOptions opts, java.lang.String name, java.lang.Object value)Set named parameter.voidFileSystemConfigBuilder. setRootURI(FileSystemOptions opts, java.lang.String rootURI)The root URI of the file system. -
Uses of FileSystemOptions in org.apache.commons.vfs2.impl
Methods in org.apache.commons.vfs2.impl with parameters of type FileSystemOptions Modifier and Type Method Description UserAuthenticatorDefaultFileSystemConfigBuilder. getUserAuthenticator(FileSystemOptions opts)FileObjectDefaultFileSystemManager. resolveFile(java.lang.String uri, FileSystemOptions fileSystemOptions)Locate a file by URI, use the FileSystemOptions for file-system creation.FileObjectDefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.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 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
Methods in org.apache.commons.vfs2.provider that return FileSystemOptions Modifier and Type Method Description FileSystemOptionsAbstractFileSystem. getFileSystemOptions()Return the FileSystemOptions used to instantiate this filesystem.Methods in org.apache.commons.vfs2.provider with parameters of type FileSystemOptions Modifier and Type Method Description FileObjectAbstractFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions properties)Creates a layered file system.FileObjectAbstractLayeredFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.FileObjectFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.protected abstract FileSystemAbstractLayeredFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.protected abstract FileSystemAbstractOriginatingFileProvider. doCreateFileSystem(FileName rootName, FileSystemOptions fileSystemOptions)Creates aFileSystem.FileObjectAbstractLayeredFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.protected FileObjectAbstractOriginatingFileProvider. findFile(FileName name, FileSystemOptions fileSystemOptions)Locates a file from its parsed URI.FileObjectAbstractOriginatingFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.FileObjectCompositeFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.FileObjectFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.protected FileSystemAbstractFileProvider. findFileSystem(java.lang.Comparable<?> key, FileSystemOptions fileSystemProps)Locates a cached file system.protected FileSystemAbstractOriginatingFileProvider. getFileSystem(FileName rootName, FileSystemOptions fileSystemOptions)Returns the FileSystem associated with the specified root.FileObjectVfsComponentContext. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)Locate a file by name.FileObjectVfsComponentContext. resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions)Locate a file by name.Constructors in org.apache.commons.vfs2.provider with parameters of type FileSystemOptions Constructor Description AbstractFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)DefaultURLStreamHandler(VfsComponentContext context, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.bzip2
Methods in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileSystemOptions Modifier and Type Method Description protected FileSystemBzip2FileProvider. 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 FileSystemCompressedFileFileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)protected FileSystemCompressedFileFileProvider. 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 FileSystemOptionsFTPClientWrapper. fileSystemOptionsMethods in org.apache.commons.vfs2.provider.ftp that return FileSystemOptions Modifier and Type Method Description FileSystemOptionsFTPClientWrapper. getFileSystemOptions()Methods in org.apache.commons.vfs2.provider.ftp with parameters of type FileSystemOptions Modifier and Type Method Description protected abstract CFtpClientFactory.ConnectionFactory. createClient(FileSystemOptions fileSystemOptions)protected org.apache.commons.net.ftp.FTPClientFtpClientFactory.FtpConnectionFactory. createClient(FileSystemOptions fileSystemOptions)CFtpClientFactory.ConnectionFactory. createConnection(java.lang.String hostname, int port, char[] username, char[] password, java.lang.String workingDirectory, FileSystemOptions fileSystemOptions)static org.apache.commons.net.ftp.FTPClientFtpClientFactory. 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 FileSystemFtpFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Creates the filesystem.java.lang.IntegerFtpFileSystemConfigBuilder. getConnectTimeout(FileSystemOptions opts)Gets the timeout in milliseconds to use for the socket connection.java.lang.StringFtpFileSystemConfigBuilder. getControlEncoding(FileSystemOptions opts)java.lang.IntegerFtpFileSystemConfigBuilder. getDataTimeout(FileSystemOptions opts)java.lang.StringFtpFileSystemConfigBuilder. getDefaultDateFormat(FileSystemOptions opts)Get the default date format used by the server.java.lang.StringFtpFileSystemConfigBuilder. getEntryParser(FileSystemOptions opts)org.apache.commons.net.ftp.parser.FTPFileEntryParserFactoryFtpFileSystemConfigBuilder. getEntryParserFactory(FileSystemOptions opts)FtpFileTypeFtpFileSystemConfigBuilder. getFileType(FileSystemOptions opts)Gets the file type parameter.java.lang.BooleanFtpFileSystemConfigBuilder. getPassiveMode(FileSystemOptions opts)java.net.ProxyFtpFileSystemConfigBuilder. getProxy(FileSystemOptions opts)Gets the Proxy.java.lang.StringFtpFileSystemConfigBuilder. getRecentDateFormat(FileSystemOptions opts)SeeFTPClientConfigfor details and examples.java.lang.BooleanFtpFileSystemConfigBuilder. getRemoteVerification(FileSystemOptions opts)Gets whether to use remote verification.java.lang.StringFtpFileSystemConfigBuilder. getServerLanguageCode(FileSystemOptions opts)Get the language code used by the server.java.lang.StringFtpFileSystemConfigBuilder. getServerTimeZoneId(FileSystemOptions opts)SeeFTPClientConfigfor details and examples.java.lang.String[]FtpFileSystemConfigBuilder. getShortMonthNames(FileSystemOptions opts)SeeFTPClientConfigfor details and examples.java.lang.IntegerFtpFileSystemConfigBuilder. getSoTimeout(FileSystemOptions opts)java.lang.BooleanFtpFileSystemConfigBuilder. getUserDirIsRoot(FileSystemOptions opts)ReturnsBoolean.TRUEif VFS should treat the user directory as the root directory.voidFtpFileSystemConfigBuilder. setConnectTimeout(FileSystemOptions opts, java.lang.Integer connectTimeout)Sets the timeout for the initial control connection.voidFtpFileSystemConfigBuilder. setControlEncoding(FileSystemOptions opts, java.lang.String encoding)SeeFTP.setControlEncoding(java.lang.String)for details and examples.voidFtpFileSystemConfigBuilder. setDataTimeout(FileSystemOptions opts, java.lang.Integer dataTimeout)Set the data timeout for the ftp client.voidFtpFileSystemConfigBuilder. setDefaultDateFormat(FileSystemOptions opts, java.lang.String defaultDateFormat)Set the default date format used by the server.voidFtpFileSystemConfigBuilder. setEntryParser(FileSystemOptions opts, java.lang.String key)Set the FQCN of your FileEntryParser used to parse the directory listing from your server.voidFtpFileSystemConfigBuilder. setEntryParserFactory(FileSystemOptions opts, org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory factory)FTPFileEntryParserFactory which will be used for ftp-entry parsing.voidFtpFileSystemConfigBuilder. setFileType(FileSystemOptions opts, FtpFileType ftpFileType)Sets the file type parameter.voidFtpFileSystemConfigBuilder. setPassiveMode(FileSystemOptions opts, boolean passiveMode)Enter into passive mode.voidFtpFileSystemConfigBuilder. setProxy(FileSystemOptions opts, java.net.Proxy proxy)Sets the Proxy.voidFtpFileSystemConfigBuilder. setRecentDateFormat(FileSystemOptions opts, java.lang.String recentDateFormat)SeeFTPClientConfigfor details and examples.voidFtpFileSystemConfigBuilder. setRemoteVerification(FileSystemOptions opts, boolean remoteVerification)Sets whether to use remote verification.voidFtpFileSystemConfigBuilder. setServerLanguageCode(FileSystemOptions opts, java.lang.String serverLanguageCode)Set the language code used by the server.voidFtpFileSystemConfigBuilder. setServerTimeZoneId(FileSystemOptions opts, java.lang.String serverTimeZoneId)SeeFTPClientConfigfor details and examples.voidFtpFileSystemConfigBuilder. setShortMonthNames(FileSystemOptions opts, java.lang.String[] shortMonthNames)SeeFTPClientConfigfor details and examples.voidFtpFileSystemConfigBuilder. setSoTimeout(FileSystemOptions opts, java.lang.Integer soTimeout)Sets the socket timeout for the FTP client.protected abstract voidFtpClientFactory.ConnectionFactory. setupOpenConnection(C client, FileSystemOptions fileSystemOptions)protected voidFtpClientFactory.FtpConnectionFactory. setupOpenConnection(org.apache.commons.net.ftp.FTPClient client, FileSystemOptions fileSystemOptions)voidFtpFileSystemConfigBuilder. setUserDirIsRoot(FileSystemOptions opts, boolean userDirIsRoot)Use user directory as root (do not change to fs root).Constructors in org.apache.commons.vfs2.provider.ftp with parameters of type FileSystemOptions Constructor Description FTPClientWrapper(GenericFileName root, FileSystemOptions fileSystemOptions)FtpFileSystem(GenericFileName rootName, FtpClient ftpClient, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.ftps
Methods in org.apache.commons.vfs2.provider.ftps with parameters of type FileSystemOptions Modifier and Type Method Description static org.apache.commons.net.ftp.FTPSClientFtpsClientFactory. 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 FileSystemFtpsFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Creates the filesystem.FtpsDataChannelProtectionLevelFtpsFileSystemConfigBuilder. getDataChannelProtectionLevel(FileSystemOptions opts)Gets the data channel protection level (PROT).FtpsModeFtpsFileSystemConfigBuilder. getFtpsMode(FileSystemOptions opts)Return the FTPS mode.java.lang.StringFtpsFileSystemConfigBuilder. getFtpsType(FileSystemOptions opts)Deprecated.As of 2.1, useFtpsFileSystemConfigBuilder.getFtpsMode(FileSystemOptions)javax.net.ssl.KeyManagerFtpsFileSystemConfigBuilder. getKeyManager(FileSystemOptions opts)Gets the KeyManager used to provide a client-side certificate if the FTPS server requests it.javax.net.ssl.TrustManagerFtpsFileSystemConfigBuilder. 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)Set FTPS mode, either "implicit" or "explicit".voidFtpsFileSystemConfigBuilder. setFtpsType(FileSystemOptions opts, java.lang.String ftpsType)Deprecated.voidFtpsFileSystemConfigBuilder. setKeyManager(FileSystemOptions opts, javax.net.ssl.KeyManager keyManager)Sets the KeyManager used to provide a client-side certificate if the FTPS server requests it.voidFtpsFileSystemConfigBuilder. setTrustManager(FileSystemOptions opts, javax.net.ssl.TrustManager trustManager)Sets the TrustManager that validates the FTPS server's certificate.Constructors in org.apache.commons.vfs2.provider.ftps with parameters of type FileSystemOptions Constructor Description FtpsFileSystem(GenericFileName rootName, FtpClient ftpClient, FileSystemOptions fileSystemOptions)Create a new FtpsFileSystem. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.gzip
Methods in org.apache.commons.vfs2.provider.gzip with parameters of type FileSystemOptions Modifier and Type Method Description protected FileSystemGzipFileProvider. 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.http
Methods in org.apache.commons.vfs2.provider.http with parameters of type FileSystemOptions Modifier and Type Method Description static org.apache.commons.httpclient.HttpClientHttpClientFactory. createConnection(java.lang.String scheme, java.lang.String hostname, int port, java.lang.String username, java.lang.String password, FileSystemOptions fileSystemOptions)static org.apache.commons.httpclient.HttpClientHttpClientFactory. createConnection(HttpFileSystemConfigBuilder builder, java.lang.String scheme, java.lang.String hostname, int port, java.lang.String username, java.lang.String password, FileSystemOptions fileSystemOptions)Creates a new connection to the server.protected FileSystemHttpFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Creates aFileSystem.intHttpFileSystemConfigBuilder. getConnectionTimeout(FileSystemOptions opts)Retrieve the connection timeout.org.apache.commons.httpclient.Cookie[]HttpFileSystemConfigBuilder. getCookies(FileSystemOptions opts)The cookies to add to the request.booleanHttpFileSystemConfigBuilder. getFollowRedirect(FileSystemOptions opts)Gets whether to follow redirects for the connection.intHttpFileSystemConfigBuilder. getMaxConnectionsPerHost(FileSystemOptions opts)Retrieve the maximum number of connections allowed per host.intHttpFileSystemConfigBuilder. getMaxTotalConnections(FileSystemOptions opts)Retrieve the maximum number of connections allowed.UserAuthenticatorHttpFileSystemConfigBuilder. getProxyAuthenticator(FileSystemOptions opts)Get the proxy authenticator where the system should get the credentials from.java.lang.StringHttpFileSystemConfigBuilder. getProxyHost(FileSystemOptions opts)Get the proxy to use for http connection.intHttpFileSystemConfigBuilder. getProxyPort(FileSystemOptions opts)Get the proxy-port to use for http the connection.intHttpFileSystemConfigBuilder. getSoTimeout(FileSystemOptions opts)Retrieve the socket timeout.java.lang.StringHttpFileSystemConfigBuilder. getUrlCharset(FileSystemOptions opts)Set the charset used for url encoding.java.lang.StringHttpFileSystemConfigBuilder. getUserAgent(FileSystemOptions opts)Return the user agent stringbooleanHttpFileSystemConfigBuilder. isPreemptiveAuth(FileSystemOptions opts)Determines if the FileSystemOptions indicate that preemptive authentication is requested.voidHttpFileSystemConfigBuilder. setConnectionTimeout(FileSystemOptions opts, int connectionTimeout)The connection timeout.voidHttpFileSystemConfigBuilder. setCookies(FileSystemOptions opts, org.apache.commons.httpclient.Cookie[] cookies)The cookies to add to the request.voidHttpFileSystemConfigBuilder. setFollowRedirect(FileSystemOptions opts, boolean redirect)Sets whether to follow redirects for the connection.voidHttpFileSystemConfigBuilder. setMaxConnectionsPerHost(FileSystemOptions opts, int maxHostConnections)The maximum number of connections allowed to any host.voidHttpFileSystemConfigBuilder. setMaxTotalConnections(FileSystemOptions opts, int maxTotalConnections)The maximum number of connections allowed.voidHttpFileSystemConfigBuilder. setPreemptiveAuth(FileSystemOptions opts, boolean preemptiveAuth)Sets the given value for preemptive HTTP authentication (using BASIC) on the given FileSystemOptions object.voidHttpFileSystemConfigBuilder. setProxyAuthenticator(FileSystemOptions opts, UserAuthenticator authenticator)Set the proxy authenticator where the system should get the credentials from.voidHttpFileSystemConfigBuilder. setProxyHost(FileSystemOptions opts, java.lang.String proxyHost)Set the proxy to use for http connection.
You have to set the ProxyPort too if you would like to have the proxy really used.voidHttpFileSystemConfigBuilder. setProxyPort(FileSystemOptions opts, int proxyPort)Set the proxy-port to use for http connection.voidHttpFileSystemConfigBuilder. setSoTimeout(FileSystemOptions opts, int soTimeout)The socket timeout.voidHttpFileSystemConfigBuilder. setUrlCharset(FileSystemOptions opts, java.lang.String chaset)Set the charset used for url encoding.voidHttpFileSystemConfigBuilder. setUserAgent(FileSystemOptions opts, java.lang.String userAgent)Assign the user agent to attach to the outgoing http methodsConstructors in org.apache.commons.vfs2.provider.http with parameters of type FileSystemOptions Constructor Description HttpFileSystem(GenericFileName rootName, org.apache.commons.httpclient.HttpClient client, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.jar
Methods in org.apache.commons.vfs2.provider.jar with parameters of type FileSystemOptions Modifier and Type Method Description protected FileSystemJarFileProvider. 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 FileSystemDefaultLocalFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Creates the filesystem.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 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 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 FileObjectResourceFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.java.lang.ClassLoaderResourceFileSystemConfigBuilder. getClassLoader(FileSystemOptions opts)voidResourceFileSystemConfigBuilder. setClassLoader(FileSystemOptions opts, java.lang.ClassLoader classLoader) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.sftp
Methods in org.apache.commons.vfs2.provider.sftp that return FileSystemOptions Modifier and Type Method Description FileSystemOptionsSftpFileSystemConfigBuilder. getProxyOptions(FileSystemOptions opts)Gets the proxy options that are used to connect to the proxy host.Methods in org.apache.commons.vfs2.provider.sftp with parameters of type FileSystemOptions Modifier and Type Method Description static com.jcraft.jsch.SessionSftpClientFactory. createConnection(java.lang.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.java.lang.StringSftpFileSystemConfigBuilder. getCompression(FileSystemOptions opts)java.lang.StringSftpFileSystemConfigBuilder. getFileNameEncoding(FileSystemOptions opts)Gets the file name encoding.java.io.File[]SftpFileSystemConfigBuilder. getIdentities(FileSystemOptions opts)Deprecated.IdentityInfo[]SftpFileSystemConfigBuilder. getIdentityInfo(FileSystemOptions opts)Gets the identity info.IdentityRepositoryFactorySftpFileSystemConfigBuilder. getIdentityRepositoryFactory(FileSystemOptions opts)Get the identity repository factory.java.io.FileSftpFileSystemConfigBuilder. getKnownHosts(FileSystemOptions opts)java.lang.StringSftpFileSystemConfigBuilder. getPreferredAuthentications(FileSystemOptions opts)Gets authentication order.java.lang.StringSftpFileSystemConfigBuilder. getProxyCommand(FileSystemOptions opts)Gets the command that will be run on the proxy host when using a SftpStreamProxy.java.lang.StringSftpFileSystemConfigBuilder. getProxyHost(FileSystemOptions opts)Gets the proxy to use for the SFTP connection.FileSystemOptionsSftpFileSystemConfigBuilder. getProxyOptions(FileSystemOptions opts)Gets the proxy options that are used to connect to the proxy host.java.lang.StringSftpFileSystemConfigBuilder. getProxyPassword(FileSystemOptions opts)Gets the proxy password that are used to connect to the proxy host.intSftpFileSystemConfigBuilder. getProxyPort(FileSystemOptions opts)Gets the proxy-port to use for the SFTP the connection.SftpFileSystemConfigBuilder.ProxyTypeSftpFileSystemConfigBuilder. getProxyType(FileSystemOptions opts)Gets the proxy type to use for the SFTP connection.java.lang.StringSftpFileSystemConfigBuilder. getProxyUser(FileSystemOptions opts)Gets the user name for the proxy used for the SFTP connection.java.lang.StringSftpFileSystemConfigBuilder. getStrictHostKeyChecking(FileSystemOptions opts)java.lang.IntegerSftpFileSystemConfigBuilder. getTimeout(FileSystemOptions opts)java.lang.BooleanSftpFileSystemConfigBuilder. getUserDirIsRoot(FileSystemOptions opts)ReturnsBoolean.TRUEif VFS should treat the user directory as the root directory.com.jcraft.jsch.UserInfoSftpFileSystemConfigBuilder. getUserInfo(FileSystemOptions opts)voidSftpFileSystemConfigBuilder. setCompression(FileSystemOptions opts, java.lang.String compression)Configures the compression algorithms to use.voidSftpFileSystemConfigBuilder. setFileNameEncoding(FileSystemOptions opts, java.lang.String fileNameEncoding)Sets the file name encoding.voidSftpFileSystemConfigBuilder. setIdentities(FileSystemOptions opts, java.io.File... identityFiles)Deprecated.voidSftpFileSystemConfigBuilder. setIdentityInfo(FileSystemOptions opts, IdentityInfo... identites)Sets the identity info (your private key files).voidSftpFileSystemConfigBuilder. setIdentityRepositoryFactory(FileSystemOptions opts, IdentityRepositoryFactory factory)Set the identity repository.voidSftpFileSystemConfigBuilder. setKnownHosts(FileSystemOptions opts, java.io.File knownHosts)Sets the known_hosts file.voidSftpFileSystemConfigBuilder. setPreferredAuthentications(FileSystemOptions opts, java.lang.String preferredAuthentications)Configures authentication order.voidSftpFileSystemConfigBuilder. setProxyCommand(FileSystemOptions opts, java.lang.String proxyCommand)Sets the proxy username to use for the SFTP connection.voidSftpFileSystemConfigBuilder. setProxyHost(FileSystemOptions opts, java.lang.String proxyHost)Sets the proxy to use for the SFTP connection.voidSftpFileSystemConfigBuilder. setProxyOptions(FileSystemOptions opts, FileSystemOptions proxyOptions)Sets the proxy username to use for the SFTP connection.voidSftpFileSystemConfigBuilder. setProxyPassword(FileSystemOptions opts, java.lang.String proxyPassword)Sets the proxy password to use for the SFTP connection.voidSftpFileSystemConfigBuilder. setProxyPort(FileSystemOptions opts, int proxyPort)Sets the proxy port to use for the SFTP connection.voidSftpFileSystemConfigBuilder. setProxyType(FileSystemOptions opts, SftpFileSystemConfigBuilder.ProxyType proxyType)Sets the proxy type to use for the SFTP connection.voidSftpFileSystemConfigBuilder. setProxyUser(FileSystemOptions opts, java.lang.String proxyUser)Sets the proxy username to use for the SFTP connection.voidSftpFileSystemConfigBuilder. setStrictHostKeyChecking(FileSystemOptions opts, java.lang.String hostKeyChecking)Configures the host key checking to use.voidSftpFileSystemConfigBuilder. setTimeout(FileSystemOptions opts, java.lang.Integer timeout)Sets the timeout value on Jsch session.voidSftpFileSystemConfigBuilder. setUserDirIsRoot(FileSystemOptions opts, boolean userDirIsRoot)Sets the whether to use the user directory as root (do not change to file system root).voidSftpFileSystemConfigBuilder. setUserInfo(FileSystemOptions opts, com.jcraft.jsch.UserInfo info)Sets the Jsch UserInfo class to use.Constructors in org.apache.commons.vfs2.provider.sftp with parameters of type 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 FileSystemTarFileProvider. 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 FileObjectTemporaryFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions properties)Locates a file object, by absolute URI. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.url
Methods in org.apache.commons.vfs2.provider.url with parameters of type FileSystemOptions Modifier and Type Method Description FileObjectUrlFileProvider. findFile(FileObject baseFile, java.lang.String uri, 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 FileSystemZipFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.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
Methods in org.apache.commons.vfs2.util with parameters of type FileSystemOptions Modifier and Type Method Description static UserAuthenticationDataUserAuthenticatorUtils. authenticate(FileSystemOptions opts, UserAuthenticationData.Type[] authenticatorTypes)Authenticates if there is an authenticator, else returns null.voidDelegatingFileSystemOptionsBuilder. setConfigClass(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.Class<?> className)Set a single class value.
The class has to implement a no-args constructor, else the instantiation might fail.voidDelegatingFileSystemOptionsBuilder. setConfigClasses(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.Class<?>[] classNames)Set an array of class values.
The class has to implement a no-args constructor, else the instantiation might fail.voidDelegatingFileSystemOptionsBuilder. setConfigString(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.String value)Set a single string value.voidDelegatingFileSystemOptionsBuilder. setConfigStrings(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.String[] values)Set an array of string value.
-