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.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.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.
-