Uses of Class
org.apache.commons.vfs2.FileSystemOptions
Packages that use FileSystemOptions
Package
Description
The public VFS API.
The standard VFS implementation.
The File Provider API, and utility classes.
The BZIP2 File Provider
The compressed file provider
The FTP File Provider.
The FTPS File Provider.
The GZIP File Provider
The HTTP File Provider
The Jar File Provider.
The Local File Provider.
The RAM File Provider.
The Resource File Provider
The SFTP Provider.
The Tar File Provider.
The Temporary Filespace Provider.
The Default File Provider, which wraps java.net.URL.
The Zip File Provider.
Utility classes used by the VFS.
-
Uses of FileSystemOptions in org.apache.commons.vfs2
Methods in org.apache.commons.vfs2 that return FileSystemOptionsModifier and TypeMethodDescriptionFileSystem.getFileSystemOptions()Returns the FileSystemOptions used to instantiate this filesystem.Methods in org.apache.commons.vfs2 with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionintFileSystemOptions.compareTo(FileSystemOptions other) protected BooleanFileSystemConfigBuilder.getBoolean(FileSystemOptions opts, String name) Get named option as boolean.protected booleanFileSystemConfigBuilder.getBoolean(FileSystemOptions opts, String name, boolean defaultValue) Get named option as boolean.protected BooleanFileSystemConfigBuilder.getBoolean(FileSystemOptions opts, String name, Boolean defaultValue) Get named option as boolean.protected ByteFileSystemConfigBuilder.getByte(FileSystemOptions opts, String name) Get named option as byte.protected byteFileSystemConfigBuilder.getByte(FileSystemOptions opts, String name, byte defaultValue) Get named option as byte.protected ByteFileSystemConfigBuilder.getByte(FileSystemOptions opts, String name, Byte defaultValue) Get named option as byte.protected CharacterFileSystemConfigBuilder.getCharacter(FileSystemOptions opts, String name) Get named option as character.protected charFileSystemConfigBuilder.getCharacter(FileSystemOptions opts, String name, char defaultValue) Get named option as character.protected CharacterFileSystemConfigBuilder.getCharacter(FileSystemOptions opts, String name, Character defaultValue) Get named option as character.protected DoubleFileSystemConfigBuilder.getDouble(FileSystemOptions opts, String name) Get named option as double.protected doubleFileSystemConfigBuilder.getDouble(FileSystemOptions opts, String name, double defaultValue) Get named option as double.protected DoubleFileSystemConfigBuilder.getDouble(FileSystemOptions opts, String name, Double defaultValue) Get named option as double.protected <E extends Enum<E>>
EFileSystemConfigBuilder.getEnum(Class<E> enumClass, FileSystemOptions opts, String name) Get named option as enumeration.protected <E extends Enum<E>>
EFileSystemConfigBuilder.getEnum(Class<E> enumClass, FileSystemOptions opts, String name, E defaultValue) Get named option as enumeration.protected FloatFileSystemConfigBuilder.getFloat(FileSystemOptions opts, String name) Get named option as float.protected floatFileSystemConfigBuilder.getFloat(FileSystemOptions opts, String name, float defaultValue) Get named option as float.protected FloatFileSystemConfigBuilder.getFloat(FileSystemOptions opts, String name, Float defaultValue) Get named option as float.protected IntegerFileSystemConfigBuilder.getInteger(FileSystemOptions opts, String name) Get named option as integer.protected intFileSystemConfigBuilder.getInteger(FileSystemOptions opts, String name, int defaultValue) Get named option as integer.protected IntegerFileSystemConfigBuilder.getInteger(FileSystemOptions opts, String name, Integer defaultValue) Get named option as integer.protected LongFileSystemConfigBuilder.getLong(FileSystemOptions opts, String name) Get named option as long.protected longFileSystemConfigBuilder.getLong(FileSystemOptions opts, String name, long defaultValue) Get named option as long.protected LongFileSystemConfigBuilder.getLong(FileSystemOptions opts, String name, Long defaultValue) Get named option as long.protected ObjectFileSystemConfigBuilder.getParam(FileSystemOptions opts, String name) Get named parameter.FileSystemConfigBuilder.getRootURI(FileSystemOptions opts) Return the root URI of the file system.protected ShortFileSystemConfigBuilder.getShort(FileSystemOptions opts, String name) Get named option as short.protected shortFileSystemConfigBuilder.getShort(FileSystemOptions opts, String name, short defaultValue) Get named option as short.protected ShortFileSystemConfigBuilder.getShort(FileSystemOptions opts, String name, Short defaultValue) Get named option as short.protected StringFileSystemConfigBuilder.getString(FileSystemOptions opts, String name) Get named option as String.protected StringFileSystemConfigBuilder.getString(FileSystemOptions opts, String name, String defaultValue) Get named option as String.protected booleanFileSystemConfigBuilder.hasObject(FileSystemOptions opts, String name) Is named setting specified.protected booleanFileSystemConfigBuilder.hasParam(FileSystemOptions opts, String name) Check if option exists.FileSystemManager.resolveFile(String name, FileSystemOptions fileSystemOptions) Locates a file by name.protected voidFileSystemConfigBuilder.setParam(FileSystemOptions opts, String name, boolean value) Set named parameter.protected voidFileSystemConfigBuilder.setParam(FileSystemOptions opts, String name, Object value) Set named parameter.voidFileSystemConfigBuilder.setRootURI(FileSystemOptions opts, String rootURI) The root URI of the file system. -
Uses of FileSystemOptions in org.apache.commons.vfs2.impl
Methods in org.apache.commons.vfs2.impl with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionDefaultFileSystemConfigBuilder.getUserAuthenticator(FileSystemOptions opts) DefaultFileSystemManager.resolveFile(String uri, FileSystemOptions fileSystemOptions) Locate a file by URI, use the FileSystemOptions for file-system creation.DefaultFileSystemManager.resolveFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Resolves a URI, relative to a base file with specified FileSystem configuration.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 FileSystemOptionsModifierConstructorDescriptionVirtualFileSystem(AbstractFileName rootName, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider
Methods in org.apache.commons.vfs2.provider that return FileSystemOptionsModifier and TypeMethodDescriptionAbstractFileSystem.getFileSystemOptions()Return the FileSystemOptions used to instantiate this filesystem.Methods in org.apache.commons.vfs2.provider with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionAbstractFileProvider.createFileSystem(String scheme, FileObject file, FileSystemOptions properties) Creates a layered file system.AbstractLayeredFileProvider.createFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.FileProvider.createFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected abstract FileSystemAbstractLayeredFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected abstract FileSystemAbstractOriginatingFileProvider.doCreateFileSystem(FileName rootName, FileSystemOptions fileSystemOptions) Creates aFileSystem.AbstractLayeredFileProvider.findFile(FileObject baseFile, 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.AbstractOriginatingFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.CompositeFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.FileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.protected FileSystemAbstractFileProvider.findFileSystem(Comparable<?> key, FileSystemOptions fileSystemProps) Locates a cached file system.protected FileSystemAbstractOriginatingFileProvider.getFileSystem(FileName rootName, FileSystemOptions fileSystemOptions) Returns the FileSystem associated with the specified root.VfsComponentContext.resolveFile(String name, FileSystemOptions fileSystemOptions) Locate a file by name.VfsComponentContext.resolveFile(FileObject baseFile, String name, FileSystemOptions fileSystemOptions) Locate a file by name.Constructors in org.apache.commons.vfs2.provider with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedAbstractFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) DefaultURLStreamHandler(VfsComponentContext context, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.bzip2
Methods in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected 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) -
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) 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) -
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.fileSystemOptionsMethods in org.apache.commons.vfs2.provider.ftp that return FileSystemOptionsMethods in org.apache.commons.vfs2.provider.ftp with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected abstract CFtpClientFactory.ConnectionFactory.createClient(FileSystemOptions fileSystemOptions) 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) 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 filesystem.FtpFileSystemConfigBuilder.getConnectTimeout(FileSystemOptions opts) Gets the timeout in milliseconds to use for the socket connection.FtpFileSystemConfigBuilder.getControlEncoding(FileSystemOptions opts) FtpFileSystemConfigBuilder.getDataTimeout(FileSystemOptions opts) FtpFileSystemConfigBuilder.getDefaultDateFormat(FileSystemOptions opts) Get the default date format used by the server.FtpFileSystemConfigBuilder.getEntryParser(FileSystemOptions opts) org.apache.commons.net.ftp.parser.FTPFileEntryParserFactoryFtpFileSystemConfigBuilder.getEntryParserFactory(FileSystemOptions opts) FtpFileSystemConfigBuilder.getFileType(FileSystemOptions opts) Gets the file type parameter.FtpFileSystemConfigBuilder.getPassiveMode(FileSystemOptions opts) FtpFileSystemConfigBuilder.getProxy(FileSystemOptions opts) Gets the Proxy.FtpFileSystemConfigBuilder.getRecentDateFormat(FileSystemOptions opts) SeeFTPClientConfigfor details and examples.FtpFileSystemConfigBuilder.getRemoteVerification(FileSystemOptions opts) Gets whether to use remote verification.FtpFileSystemConfigBuilder.getServerLanguageCode(FileSystemOptions opts) Get the language code used by the server.FtpFileSystemConfigBuilder.getServerTimeZoneId(FileSystemOptions opts) SeeFTPClientConfigfor details and examples.String[]FtpFileSystemConfigBuilder.getShortMonthNames(FileSystemOptions opts) SeeFTPClientConfigfor details and examples.FtpFileSystemConfigBuilder.getSoTimeout(FileSystemOptions opts) FtpFileSystemConfigBuilder.getUserDirIsRoot(FileSystemOptions opts) ReturnsBoolean.TRUEif VFS should treat the user directory as the root directory.voidFtpFileSystemConfigBuilder.setConnectTimeout(FileSystemOptions opts, Integer connectTimeout) Sets the timeout for the initial control connection.voidFtpFileSystemConfigBuilder.setControlEncoding(FileSystemOptions opts, String encoding) SeeFTP.setControlEncoding(java.lang.String)for details and examples.voidFtpFileSystemConfigBuilder.setDataTimeout(FileSystemOptions opts, Integer dataTimeout) Set the data timeout for the ftp client.voidFtpFileSystemConfigBuilder.setDefaultDateFormat(FileSystemOptions opts, String defaultDateFormat) Set the default date format used by the server.voidFtpFileSystemConfigBuilder.setEntryParser(FileSystemOptions opts, 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, Proxy proxy) Sets the Proxy.voidFtpFileSystemConfigBuilder.setRecentDateFormat(FileSystemOptions opts, String recentDateFormat) SeeFTPClientConfigfor details and examples.voidFtpFileSystemConfigBuilder.setRemoteVerification(FileSystemOptions opts, boolean remoteVerification) Sets whether to use remote verification.voidFtpFileSystemConfigBuilder.setServerLanguageCode(FileSystemOptions opts, String serverLanguageCode) Set the language code used by the server.voidFtpFileSystemConfigBuilder.setServerTimeZoneId(FileSystemOptions opts, String serverTimeZoneId) SeeFTPClientConfigfor details and examples.voidFtpFileSystemConfigBuilder.setShortMonthNames(FileSystemOptions opts, String[] shortMonthNames) SeeFTPClientConfigfor details and examples.voidFtpFileSystemConfigBuilder.setSoTimeout(FileSystemOptions opts, 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 FileSystemOptionsModifierConstructorDescriptionprotectedFTPClientWrapper(GenericFileName root, FileSystemOptions fileSystemOptions) FtpFileSystem(GenericFileName rootName, FtpClient ftpClient, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.ftps
Methods in org.apache.commons.vfs2.provider.ftps with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionstatic org.apache.commons.net.ftp.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 filesystem.FtpsFileSystemConfigBuilder.getDataChannelProtectionLevel(FileSystemOptions opts) Gets the data channel protection level (PROT).FtpsFileSystemConfigBuilder.getFtpsMode(FileSystemOptions opts) Return the FTPS mode.FtpsFileSystemConfigBuilder.getFtpsType(FileSystemOptions opts) Deprecated.FtpsFileSystemConfigBuilder.getKeyManager(FileSystemOptions opts) Gets the KeyManager used to provide a client-side certificate if the FTPS server requests it.FtpsFileSystemConfigBuilder.getTrustManager(FileSystemOptions opts) Gets the TrustManager that validates the FTPS server's certificate.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, 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) Create a new FtpsFileSystem. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.gzip
Methods in org.apache.commons.vfs2.provider.gzip with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected 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) -
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) static org.apache.commons.httpclient.HttpClientHttpClientFactory.createConnection(HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, 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.HttpFileSystemConfigBuilder.getProxyAuthenticator(FileSystemOptions opts) Get the proxy authenticator where the system should get the credentials from.HttpFileSystemConfigBuilder.getProxyHost(FileSystemOptions opts) Get the proxy to use for http connection.intHttpFileSystemConfigBuilder.getProxyPort(FileSystemOptions opts) Get the proxy-port to use for http the connection.intHttpFileSystemConfigBuilder.getSoTimeout(FileSystemOptions opts) Retrieve the socket timeout.HttpFileSystemConfigBuilder.getUrlCharset(FileSystemOptions opts) Set the charset used for url encoding.HttpFileSystemConfigBuilder.getUserAgent(FileSystemOptions opts) Return the user agent 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, 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, String chaset) Set the charset used for url encoding.voidHttpFileSystemConfigBuilder.setUserAgent(FileSystemOptions opts, String userAgent) Assign the user agent to attach to the outgoing http methodsConstructors in org.apache.commons.vfs2.provider.http with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedHttpFileSystem(GenericFileName rootName, org.apache.commons.httpclient.HttpClient client, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.jar
Methods in org.apache.commons.vfs2.provider.jar with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected 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 rootName, FileObject file, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.local
Methods in org.apache.commons.vfs2.provider.local with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected FileSystemDefaultLocalFileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Creates the filesystem.Constructors in org.apache.commons.vfs2.provider.local with parameters of type FileSystemOptionsModifierConstructorDescriptionLocalFileSystem(FileName rootName, String rootFile, FileSystemOptions opts) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.ram
Methods in org.apache.commons.vfs2.provider.ram with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected 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) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.res
Methods in org.apache.commons.vfs2.provider.res with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionResourceFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.ResourceFileSystemConfigBuilder.getClassLoader(FileSystemOptions opts) voidResourceFileSystemConfigBuilder.setClassLoader(FileSystemOptions opts, ClassLoader classLoader) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.sftp
Methods in org.apache.commons.vfs2.provider.sftp that return FileSystemOptionsModifier and TypeMethodDescriptionSftpFileSystemConfigBuilder.getProxyOptions(FileSystemOptions opts) Gets the proxy options that are used to connect to the proxy host.Methods in org.apache.commons.vfs2.provider.sftp with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionstatic com.jcraft.jsch.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 opts) SftpFileSystemConfigBuilder.getFileNameEncoding(FileSystemOptions opts) Gets the file name encoding.File[]SftpFileSystemConfigBuilder.getIdentities(FileSystemOptions opts) Deprecated.SftpFileSystemConfigBuilder.getIdentityInfo(FileSystemOptions opts) Gets the identity info.SftpFileSystemConfigBuilder.getIdentityRepositoryFactory(FileSystemOptions opts) Get the identity repository factory.SftpFileSystemConfigBuilder.getKnownHosts(FileSystemOptions opts) SftpFileSystemConfigBuilder.getPreferredAuthentications(FileSystemOptions opts) Gets authentication order.SftpFileSystemConfigBuilder.getProxyCommand(FileSystemOptions opts) Gets the command that will be run on the proxy host when using a SftpStreamProxy.SftpFileSystemConfigBuilder.getProxyHost(FileSystemOptions opts) Gets the proxy to use for the SFTP connection.SftpFileSystemConfigBuilder.getProxyOptions(FileSystemOptions opts) Gets the proxy options that are used to connect to the proxy host.SftpFileSystemConfigBuilder.getProxyPassword(FileSystemOptions opts) Gets the proxy password that are used to connect to the proxy host.intSftpFileSystemConfigBuilder.getProxyPort(FileSystemOptions opts) Gets the proxy-port to use for the SFTP the connection.SftpFileSystemConfigBuilder.getProxyType(FileSystemOptions opts) Gets the proxy type to use for the SFTP connection.SftpFileSystemConfigBuilder.getProxyUser(FileSystemOptions opts) Gets the user name for the proxy used for the SFTP connection.SftpFileSystemConfigBuilder.getStrictHostKeyChecking(FileSystemOptions opts) SftpFileSystemConfigBuilder.getTimeout(FileSystemOptions opts) SftpFileSystemConfigBuilder.getUserDirIsRoot(FileSystemOptions opts) ReturnsBoolean.TRUEif VFS should treat the user directory as the root directory.com.jcraft.jsch.UserInfoSftpFileSystemConfigBuilder.getUserInfo(FileSystemOptions opts) voidSftpFileSystemConfigBuilder.setCompression(FileSystemOptions opts, String compression) Configures the compression algorithms to use.voidSftpFileSystemConfigBuilder.setFileNameEncoding(FileSystemOptions opts, String fileNameEncoding) Sets the file name encoding.voidSftpFileSystemConfigBuilder.setIdentities(FileSystemOptions opts, 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, File knownHosts) Sets the known_hosts file.voidSftpFileSystemConfigBuilder.setPreferredAuthentications(FileSystemOptions opts, String preferredAuthentications) Configures authentication order.voidSftpFileSystemConfigBuilder.setProxyCommand(FileSystemOptions opts, String proxyCommand) Sets the proxy username to use for the SFTP connection.voidSftpFileSystemConfigBuilder.setProxyHost(FileSystemOptions opts, 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, 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, String proxyUser) Sets the proxy username to use for the SFTP connection.voidSftpFileSystemConfigBuilder.setStrictHostKeyChecking(FileSystemOptions opts, String hostKeyChecking) Configures the host key checking to use.voidSftpFileSystemConfigBuilder.setTimeout(FileSystemOptions opts, 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 FileSystemOptionsModifierConstructorDescriptionprotectedSftpFileSystem(GenericFileName rootName, com.jcraft.jsch.Session session, FileSystemOptions fileSystemOptions) SftpStreamProxy(String commandFormat, String proxyUser, String proxyHost, int proxyPort, String proxyPassword, FileSystemOptions proxyOptions) Creates a stream proxy. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.tar
Methods in org.apache.commons.vfs2.provider.tar with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected 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) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.temp
Methods in org.apache.commons.vfs2.provider.temp with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionTemporaryFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions properties) Locates a file object, by absolute URI. -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.url
Methods in org.apache.commons.vfs2.provider.url with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionUrlFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.Constructors in org.apache.commons.vfs2.provider.url with parameters of type FileSystemOptionsModifierConstructorDescriptionprotectedUrlFileSystem(FileName rootName, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.provider.zip
Methods in org.apache.commons.vfs2.provider.zip with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionprotected FileSystemZipFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.zip with parameters of type FileSystemOptionsModifierConstructorDescriptionZipFileSystem(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs2.util
Methods in org.apache.commons.vfs2.util with parameters of type FileSystemOptionsModifier and TypeMethodDescriptionstatic UserAuthenticationDataUserAuthenticatorUtils.authenticate(FileSystemOptions opts, UserAuthenticationData.Type[] authenticatorTypes) Authenticates if there is an authenticator, else returns null.voidDelegatingFileSystemOptionsBuilder.setConfigClass(FileSystemOptions fso, String scheme, String name, Class<?> className) Set a single class value.
The class has to implement a no-args constructor, else the instantiation might fail.voidDelegatingFileSystemOptionsBuilder.setConfigClasses(FileSystemOptions fso, String scheme, String name, Class<?>[] classNames) Set an array of class values.
The class has to implement a no-args constructor, else the instantiation might fail.voidDelegatingFileSystemOptionsBuilder.setConfigString(FileSystemOptions fso, String scheme, String name, String value) Set a single string value.voidDelegatingFileSystemOptionsBuilder.setConfigStrings(FileSystemOptions fso, String scheme, String name, String[] values) Set an array of string value.
FtpsFileSystemConfigBuilder.getFtpsMode(FileSystemOptions)