Uses of Class
org.apache.commons.vfs.FileSystemOptions
-
-
Uses of FileSystemOptions in org.apache.commons.vfs
Methods in org.apache.commons.vfs that return FileSystemOptions Modifier and Type Method Description FileSystemOptionsFileSystem. getFileSystemOptions()Returns the FileSystemOptions used to instantiate this filesystemMethods in org.apache.commons.vfs with parameters of type FileSystemOptions Modifier and Type Method Description intFileSystemOptions. compareTo(FileSystemOptions other)protected java.lang.ObjectFileSystemConfigBuilder. getParam(FileSystemOptions opts, java.lang.String name)protected booleanFileSystemConfigBuilder. hasParam(FileSystemOptions opts, java.lang.String name)FileObjectFileSystemManager. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)Locates a file by name.protected voidFileSystemConfigBuilder. setParam(FileSystemOptions opts, java.lang.String name, java.lang.Object value) -
Uses of FileSystemOptions in org.apache.commons.vfs.impl
Methods in org.apache.commons.vfs.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 creationFileObjectDefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Resolves a URI, realtive to a base file with specified FileSystem configurationvoidDefaultFileSystemConfigBuilder. setUserAuthenticator(FileSystemOptions opts, UserAuthenticator userAuthenticator)Sets the user authenticator to get authentication informationsConstructors in org.apache.commons.vfs.impl with parameters of type FileSystemOptions Constructor Description VirtualFileSystem(FileName rootName, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs.provider
Methods in org.apache.commons.vfs.provider that return FileSystemOptions Modifier and Type Method Description FileSystemOptionsAbstractFileSystem. getFileSystemOptions()Return the FileSystemOptions used to instantiate this filesystemMethods in org.apache.commons.vfs.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 properties)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 systemFileObjectVfsComponentContext. 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.vfs.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.vfs.provider.bzip2
Methods in org.apache.commons.vfs.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.vfs.provider.bzip2 with parameters of type FileSystemOptions Constructor Description Bzip2FileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs.provider.compressed
Methods in org.apache.commons.vfs.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.vfs.provider.compressed with parameters of type FileSystemOptions Constructor Description CompressedFileFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs.provider.ftp
Methods in org.apache.commons.vfs.provider.ftp with parameters of type FileSystemOptions Modifier and Type Method Description 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. getDataTimeout(FileSystemOptions opts)java.lang.StringFtpFileSystemConfigBuilder. getDefaultDateFormat(FileSystemOptions opts)get the language code used by the server.java.lang.StringFtpFileSystemConfigBuilder. getEntryParser(FileSystemOptions opts)org.apache.commons.net.ftp.parser.FTPFileEntryParserFactoryFtpFileSystemConfigBuilder. getEntryParserFactory(FileSystemOptions opts)java.lang.BooleanFtpFileSystemConfigBuilder. getPassiveMode(FileSystemOptions opts)java.lang.StringFtpFileSystemConfigBuilder. getRecentDateFormat(FileSystemOptions opts)seeFTPClientConfigfor details and examples.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.BooleanFtpFileSystemConfigBuilder. getUserDirIsRoot(FileSystemOptions opts)voidFtpFileSystemConfigBuilder. setDataTimeout(FileSystemOptions opts, java.lang.Integer dataTimeout)set the data timeout for the ftp client.
If you set the dataTimeout tonullno dataTimeout will be set on the ftp client.voidFtpFileSystemConfigBuilder. setDefaultDateFormat(FileSystemOptions opts, java.lang.String defaultDateFormat)set the language code 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.
If you do not use the default commons-net FTPFileEntryParserFactory e.g.voidFtpFileSystemConfigBuilder. setEntryParserFactory(FileSystemOptions opts, org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory factory)FTPFileEntryParserFactory which will be used for ftp-entry parsingvoidFtpFileSystemConfigBuilder. setPassiveMode(FileSystemOptions opts, boolean passiveMode)enter into passive modevoidFtpFileSystemConfigBuilder. setRecentDateFormat(FileSystemOptions opts, java.lang.String recentDateFormat)seeFTPClientConfigfor details and examples.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. setUserDirIsRoot(FileSystemOptions opts, boolean userDirIsRoot)use user directory as root (do not change to fs root)Constructors in org.apache.commons.vfs.provider.ftp with parameters of type FileSystemOptions Constructor Description FtpFileSystem(GenericFileName rootName, FtpClient ftpClient, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs.provider.gzip
Methods in org.apache.commons.vfs.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.vfs.provider.gzip with parameters of type FileSystemOptions Constructor Description GzipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs.provider.http
Methods in org.apache.commons.vfs.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)Creates a new connection to the server.protected FileSystemHttpFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Creates aFileSystem.org.apache.commons.httpclient.Cookie[]HttpFileSystemConfigBuilder. getCookies(FileSystemOptions opts)The cookies to add to the reqestUserAuthenticatorHttpFileSystemConfigBuilder. getProxyAuthenticator(FileSystemOptions opts)Get the proxy authenticator where the system should get the credentials fromjava.lang.StringHttpFileSystemConfigBuilder. getProxyHost(FileSystemOptions opts)Get the proxy to use for http connection You have to set the ProxyPort too if you would like to have the proxy relly used.intHttpFileSystemConfigBuilder. getProxyPort(FileSystemOptions opts)Get the proxy-port to use for http the connection You have to set the ProxyHost too if you would like to have the proxy relly used.java.lang.StringHttpFileSystemConfigBuilder. getUrlCharset(FileSystemOptions opts)Set the charset used for url encodingvoidHttpFileSystemConfigBuilder. setCookies(FileSystemOptions opts, org.apache.commons.httpclient.Cookie[] cookies)The cookies to add to the reqestvoidHttpFileSystemConfigBuilder. setProxyAuthenticator(FileSystemOptions opts, UserAuthenticator authenticator)Set the proxy authenticator where the system should get the credentials fromvoidHttpFileSystemConfigBuilder. 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 relly used.voidHttpFileSystemConfigBuilder. setProxyPort(FileSystemOptions opts, int proxyPort)Set the proxy-port to use for http connection You have to set the ProxyHost too if you would like to have the proxy relly used.voidHttpFileSystemConfigBuilder. setUrlCharset(FileSystemOptions opts, java.lang.String chaset)Set the charset used for url encodingConstructors in org.apache.commons.vfs.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.vfs.provider.jar
Methods in org.apache.commons.vfs.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.vfs.provider.jar with parameters of type FileSystemOptions Constructor Description JarFileSystem(FileName rootName, FileObject file, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs.provider.local
Methods in org.apache.commons.vfs.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.vfs.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.vfs.provider.ram
Methods in org.apache.commons.vfs.provider.ram with parameters of type FileSystemOptions Modifier and Type Method Description protected FileSystemRamFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)intRamFileSystemConfigBuilder. getMaxSize(FileSystemOptions opts)voidRamFileSystemConfigBuilder. setMaxSize(FileSystemOptions opts, int sizeInBytes)sets the maximum size of the file systemConstructors in org.apache.commons.vfs.provider.ram with parameters of type FileSystemOptions Constructor Description RamFileSystem(FileName rootName, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs.provider.res
Methods in org.apache.commons.vfs.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.vfs.provider.sftp
Methods in org.apache.commons.vfs.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.io.File[]SftpFileSystemConfigBuilder. getIdentities(FileSystemOptions opts)java.io.FileSftpFileSystemConfigBuilder. getKnownHosts(FileSystemOptions opts)java.lang.StringSftpFileSystemConfigBuilder. getProxyHost(FileSystemOptions opts)Get the proxy to use for sftp connection You have to set the ProxyPort too if you would like to have the proxy relly used.intSftpFileSystemConfigBuilder. getProxyPort(FileSystemOptions opts)Get the proxy-port to use for sftp the connection You have to set the ProxyHost too if you would like to have the proxy relly used.SftpFileSystemConfigBuilder.ProxyTypeSftpFileSystemConfigBuilder. getProxyType(FileSystemOptions opts)Get the proxy type to use for sftp connection.java.lang.StringSftpFileSystemConfigBuilder. getStrictHostKeyChecking(FileSystemOptions opts)java.lang.IntegerSftpFileSystemConfigBuilder. getTimeout(FileSystemOptions opts)java.lang.BooleanSftpFileSystemConfigBuilder. getUserDirIsRoot(FileSystemOptions opts)com.jcraft.jsch.UserInfoSftpFileSystemConfigBuilder. getUserInfo(FileSystemOptions opts)voidSftpFileSystemConfigBuilder. setCompression(FileSystemOptions opts, java.lang.String compression)configure the compression to use.
e.g.voidSftpFileSystemConfigBuilder. setIdentities(FileSystemOptions opts, java.io.File[] identities)Set the identity files (your private key files).
Need to use a java.io.File as JSch cant deal with vfs FileObjects ;-)voidSftpFileSystemConfigBuilder. setKnownHosts(FileSystemOptions opts, java.io.File sshdir)Set the known_hosts file.voidSftpFileSystemConfigBuilder. setProxyHost(FileSystemOptions opts, java.lang.String proxyHost)Set the proxy to use for sftp connection.
You have to set the ProxyPort too if you would like to have the proxy relly used.voidSftpFileSystemConfigBuilder. setProxyPort(FileSystemOptions opts, int proxyPort)Set the proxy-port to use for sftp connection You have to set the ProxyHost too if you would like to have the proxy relly used.voidSftpFileSystemConfigBuilder. setProxyType(FileSystemOptions opts, SftpFileSystemConfigBuilder.ProxyType proxyType)Set the proxy type to use for sftp connection.voidSftpFileSystemConfigBuilder. setStrictHostKeyChecking(FileSystemOptions opts, java.lang.String hostKeyChecking)configure the host key checking to use.
valid arguments are only yes, no and ask.
See the jsch documentation for details.voidSftpFileSystemConfigBuilder. setTimeout(FileSystemOptions opts, java.lang.Integer timeout)set the timeout value on jsch sessionvoidSftpFileSystemConfigBuilder. setUserDirIsRoot(FileSystemOptions opts, boolean userDirIsRoot)use user directory as root (do not change to fs root)voidSftpFileSystemConfigBuilder. setUserInfo(FileSystemOptions opts, com.jcraft.jsch.UserInfo info)Set the userinfo class to use if e.g.Constructors in org.apache.commons.vfs.provider.sftp with parameters of type FileSystemOptions Constructor Description SftpFileSystem(GenericFileName rootName, com.jcraft.jsch.Session session, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs.provider.tar
Methods in org.apache.commons.vfs.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.vfs.provider.tar with parameters of type FileSystemOptions Constructor Description TarFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs.provider.temp
Methods in org.apache.commons.vfs.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.vfs.provider.url
Methods in org.apache.commons.vfs.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.vfs.provider.url with parameters of type FileSystemOptions Constructor Description UrlFileSystem(FileName rootName, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs.provider.zip
Methods in org.apache.commons.vfs.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.vfs.provider.zip with parameters of type FileSystemOptions Constructor Description ZipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemOptions in org.apache.commons.vfs.util
Methods in org.apache.commons.vfs.util with parameters of type FileSystemOptions Modifier and Type Method Description static UserAuthenticationDataUserAuthenticatorUtils. authenticate(FileSystemOptions opts, UserAuthenticationData.Type[] authenticatorTypes)if there is a authenticator the authentication will take place, else null will be reutrnedvoidDelegatingFileSystemOptionsBuilder. 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.
-