Uses of Interface
org.apache.commons.vfs2.FileName
Packages that use FileName
Package
Description
The public VFS API.
VFS File caching.
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 HTTP4 File Provider.
The HTTP5 File Provider.
The Local File Provider.
The RAM File Provider.
The Resource File Provider.
The SFTP Provider.
The Tar File Provider.
The Default File Provider, which wraps
URL
.The Zip File Provider.
-
Uses of FileName in org.apache.commons.vfs2
Fields in org.apache.commons.vfs2 declared as FileNameModifier and TypeFieldDescriptionstatic final FileName[]
FileName.EMPTY_ARRAY
Empty array of FileName.Methods in org.apache.commons.vfs2 that return FileNameModifier and TypeMethodDescriptionFileObject.getName()
Gets the name of this file.FileName.getParent()
Gets the file name of the parent of this file.FileName.getRoot()
Gets the root of the file system.FileSystem.getRootName()
Returns the name of the root file of this file system.FileSystemManager.resolveName
(FileName root, String name) Resolves a name, relative to this file name.FileSystemManager.resolveName
(FileName root, String name, NameScope scope) Resolves a name, relative to the "root" file name.FileSystemManager.resolveURI
(String uri) Resolves the URI to a file name.Methods in org.apache.commons.vfs2 with parameters of type FileNameModifier and TypeMethodDescriptionFilesCache.getFile
(FileSystem fileSystem, FileName fileName) Retrieves a FileObject from the cache by name.FileName.getRelativeName
(FileName name) Converts a file name to a relative name, relative to this file name.boolean
FileName.isAncestor
(FileName ancestor) Tests if another file name is an ancestor of this file name.boolean
FileName.isDescendent
(FileName descendent) Tests if another file name is a descendent of this file name.boolean
FileName.isDescendent
(FileName descendent, NameScope nameScope) Tests if another file name is a descendent of this file name.void
FilesCache.removeFile
(FileSystem fileSystem, FileName name) Removes a file from cache.FileSystem.resolveFile
(FileName name) Finds a file in this file system.FileSystemManager.resolveName
(FileName root, String name) Resolves a name, relative to this file name.FileSystemManager.resolveName
(FileName root, String name, NameScope scope) Resolves a name, relative to the "root" file name. -
Uses of FileName in org.apache.commons.vfs2.cache
Methods in org.apache.commons.vfs2.cache that return types with arguments of type FileNameModifier and TypeMethodDescriptionprotected ConcurrentMap<FileName,
FileObject> DefaultFilesCache.getOrCreateFilesystemCache
(FileSystem fileSystem) Gets or creates a Map.protected Map<FileName,
FileObject> LRUFilesCache.getOrCreateFilesystemCache
(FileSystem fileSystem) Gets or creates a new Map.protected Map<FileName,
Reference<FileObject>> SoftRefFilesCache.getOrCreateFilesystemCache
(FileSystem fileSystem) Gets or creates a new Map.Methods in org.apache.commons.vfs2.cache with parameters of type FileNameModifier and TypeMethodDescriptionDefaultFilesCache.getFile
(FileSystem filesystem, FileName name) LRUFilesCache.getFile
(FileSystem filesystem, FileName name) NullFilesCache.getFile
(FileSystem filesystem, FileName name) SoftRefFilesCache.getFile
(FileSystem fileSystem, FileName fileName) void
DefaultFilesCache.removeFile
(FileSystem filesystem, FileName name) void
LRUFilesCache.removeFile
(FileSystem filesystem, FileName name) void
NullFilesCache.removeFile
(FileSystem filesystem, FileName name) void
SoftRefFilesCache.removeFile
(FileSystem fileSystem, FileName fileName) -
Uses of FileName in org.apache.commons.vfs2.impl
Classes in org.apache.commons.vfs2.impl that implement FileNameModifier and TypeClassDescriptionclass
A simple file name to hold the scheme for to be created virtual file system.Methods in org.apache.commons.vfs2.impl that return FileNameModifier and TypeMethodDescriptionVirtualFileName.createName
(String absolutePath, FileType type) DecoratedFileObject.getName()
DefaultFileSystemManager.resolveName
(FileName root, String path) Resolves a name, relative to the file.DefaultFileSystemManager.resolveName
(FileName base, String name, NameScope scope) Resolves a name, relative to the root.DefaultFileSystemManager.resolveURI
(String uri) Resolve the uri to a file name.Methods in org.apache.commons.vfs2.impl with parameters of type FileNameModifier and TypeMethodDescriptionDefaultFileSystemManager.resolveName
(FileName root, String path) Resolves a name, relative to the file.DefaultFileSystemManager.resolveName
(FileName base, String name, NameScope scope) Resolves a name, relative to the root. -
Uses of FileName in org.apache.commons.vfs2.provider
Classes in org.apache.commons.vfs2.provider that implement FileNameModifier and TypeClassDescriptionclass
A default file name implementation.class
A file name that represents a 'generic' URI, as per RFC 2396.class
Generic file name that represents a URL.class
A file name for layered files.class
Deprecated.Methods in org.apache.commons.vfs2.provider that return FileNameModifier and TypeMethodDescriptionabstract FileName
AbstractFileName.createName
(String absolutePath, FileType fileType) Factory method for creating name instances.GenericFileName.createName
(String absPath, FileType type) Create a FileName.GenericURLFileName.createName
(String absPath, FileType type) Creates a FileName.LayeredFileName.createName
(String path, FileType type) Creates a FileName.URLFileName.createName
(String absPath, FileType type) Deprecated.Create a FileName.AbstractFileObject.getName()
Returns the name of the file.LayeredFileName.getOuterName()
Returns the URI of the outer file.AbstractFileName.getParent()
Returns the name of the parent of the file.AbstractFileName.getRoot()
find the root of the file system.AbstractFileSystem.getRootName()
Gets the name of the root of this file system.Parses an absolute URI.FileNameParser.parseUri
(VfsComponentContext context, FileName base, String uri) Parses a String into a file name.Parses the URI into a FileName.GenericURLFileNameParser.parseUri
(VfsComponentContext context, FileName base, String fileName) HostFileNameParser.parseUri
(VfsComponentContext context, FileName base, String fileName) LayeredFileNameParser.parseUri
(VfsComponentContext context, FileName baseFileName, String fileName) Parses the base and name into a FileName.URLFileNameParser.parseUri
(VfsComponentContext context, FileName base, String fileName) Deprecated.Parses a URI into a FileName.Methods in org.apache.commons.vfs2.provider with parameters of type FileNameModifier and TypeMethodDescriptionvoid
DelegateFileObject.attachChild
(FileName baseName, FileType type) Adds a child to this file.protected void
AbstractFileObject.childrenChanged
(FileName childName, FileType newType) Notifies the file that its children have changed.int
Implement Comparable.protected abstract FileSystem
AbstractOriginatingFileProvider.doCreateFileSystem
(FileName rootFileName, FileSystemOptions fileSystemOptions) Creates aFileSystem
.protected FileObject
AbstractOriginatingFileProvider.findFile
(FileName fileName, FileSystemOptions fileSystemOptions) Locates a file from its parsed URI.protected FileObject
AbstractFileSystem.getFileFromCache
(FileName name) Gets a cached file.protected FileSystem
AbstractOriginatingFileProvider.getFileSystem
(FileName rootFileName, FileSystemOptions fileSystemOptions) Returns the FileSystem associated with the specified root.AbstractFileName.getRelativeName
(FileName name) Converts a file name to a relative name, relative to this file name.boolean
AbstractFileName.isAncestor
(FileName ancestor) Determines if another file name is an ancestor of this file name.boolean
AbstractFileName.isDescendent
(FileName descendent) Determines if another file name is a descendent of this file name.boolean
AbstractFileName.isDescendent
(FileName descendent, NameScope scope) Determines if another file name is a descendent of this file name.protected void
AbstractFileObject.onChildrenChanged
(FileName child, FileType newType) Called when the children of this file change.Parses an absolute URI.FileNameParser.parseUri
(VfsComponentContext context, FileName base, String uri) Parses a String into a file name.Parses the URI into a FileName.GenericURLFileNameParser.parseUri
(VfsComponentContext context, FileName base, String fileName) HostFileNameParser.parseUri
(VfsComponentContext context, FileName base, String fileName) LayeredFileNameParser.parseUri
(VfsComponentContext context, FileName baseFileName, String fileName) Parses the base and name into a FileName.URLFileNameParser.parseUri
(VfsComponentContext context, FileName base, String fileName) Deprecated.protected void
AbstractFileSystem.removeFileFromCache
(FileName name) Removes a cached file.AbstractFileSystem.resolveFile
(FileName name) Finds a file in this file system.Constructors in org.apache.commons.vfs2.provider with parameters of type FileNameModifierConstructorDescriptionprotected
AbstractFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance.LayeredFileName
(String scheme, FileName outerUri, String path, FileType type) Constructs a new instance. -
Uses of FileName in org.apache.commons.vfs2.provider.bzip2
Methods in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileSystem
Bzip2FileProvider.createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileNameModifierConstructorDescriptionprotected
Bzip2FileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileName in org.apache.commons.vfs2.provider.compressed
Methods in org.apache.commons.vfs2.provider.compressed with parameters of type FileNameModifier and TypeMethodDescriptionprotected abstract FileSystem
CompressedFileFileProvider.createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Create a FileSystem.Constructors in org.apache.commons.vfs2.provider.compressed with parameters of type FileNameModifierConstructorDescriptionprotected
CompressedFileFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileName in org.apache.commons.vfs2.provider.ftp
Methods in org.apache.commons.vfs2.provider.ftp with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileSystem
FtpFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates the file system.protected void
FtpFileObject.onChildrenChanged
(FileName child, FileType newType) Called when the children of this file change.Constructors in org.apache.commons.vfs2.provider.ftp with parameters of type FileNameModifierConstructorDescriptionprotected
FtpFileObject
(AbstractFileName fileName, FtpFileSystem fileSystem, FileName rootName) Constructs a new instance. -
Uses of FileName in org.apache.commons.vfs2.provider.ftps
Methods in org.apache.commons.vfs2.provider.ftps with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileSystem
FtpsFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates the file system. -
Uses of FileName in org.apache.commons.vfs2.provider.gzip
Methods in org.apache.commons.vfs2.provider.gzip with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileSystem
GzipFileProvider.createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs2.provider.gzip with parameters of type FileNameModifierConstructorDescriptionprotected
GzipFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileName in org.apache.commons.vfs2.provider.http
Methods in org.apache.commons.vfs2.provider.http with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileSystem
HttpFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Deprecated.Creates aFileSystem
. -
Uses of FileName in org.apache.commons.vfs2.provider.http4
Methods in org.apache.commons.vfs2.provider.http4 with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileSystem
Http4FileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Deprecated.Constructors in org.apache.commons.vfs2.provider.http4 with parameters of type FileNameModifierConstructorDescriptionprotected
Http4FileSystem
(FileName rootName, FileSystemOptions fileSystemOptions, org.apache.http.client.HttpClient httpClient, org.apache.http.client.protocol.HttpClientContext httpClientContext) Deprecated.Constructs a new instance. -
Uses of FileName in org.apache.commons.vfs2.provider.http5
Methods in org.apache.commons.vfs2.provider.http5 with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileSystem
Http5FileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs2.provider.http5 with parameters of type FileNameModifierConstructorDescriptionprotected
Http5FileSystem
(FileName rootName, FileSystemOptions fileSystemOptions, org.apache.hc.client5.http.classic.HttpClient httpClient, org.apache.hc.client5.http.protocol.HttpClientContext httpClientContext) ConstructsHttp4FileSystem
. -
Uses of FileName in org.apache.commons.vfs2.provider.local
Classes in org.apache.commons.vfs2.provider.local that implement FileNameModifier and TypeClassDescriptionclass
A local file URI.class
A local file URI.Methods in org.apache.commons.vfs2.provider.local that return FileNameModifier and TypeMethodDescriptionprotected FileName
GenericFileNameParser.createFileName
(String scheme, String rootFile, String path, FileType type) protected abstract FileName
LocalFileNameParser.createFileName
(String scheme, String rootFile, String path, FileType fileType) Creates a FileName.protected FileName
WindowsFileNameParser.createFileName
(String scheme, String rootFile, String path, FileType type) LocalFileName.createName
(String path, FileType type) Factory method for creating name instances.WindowsFileName.createName
(String path, FileType type) Factory method for creating name instances.LocalFileNameParser.parseUri
(VfsComponentContext context, FileName base, String uri) Methods in org.apache.commons.vfs2.provider.local with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileSystem
DefaultLocalFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates the file system.LocalFileNameParser.parseUri
(VfsComponentContext context, FileName base, String uri) Constructors in org.apache.commons.vfs2.provider.local with parameters of type FileNameModifierConstructorDescriptionLocalFileSystem
(FileName rootFileName, String rootFile, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileName in org.apache.commons.vfs2.provider.ram
Methods in org.apache.commons.vfs2.provider.ram with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileSystem
RamFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs2.provider.ram with parameters of type FileNameModifierConstructorDescriptionprotected
RamFileSystem
(FileName rootName, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileName in org.apache.commons.vfs2.provider.res
Classes in org.apache.commons.vfs2.provider.res that implement FileNameMethods in org.apache.commons.vfs2.provider.res that return FileNameModifier and TypeMethodDescriptionprotected FileName
ResourceFileNameParser.createFileName
(String scheme, String rootFile, String path, FileType type) ResourceFileName.createName
(String path, FileType type) Factory method for creating name instances. -
Uses of FileName in org.apache.commons.vfs2.provider.sftp
Methods in org.apache.commons.vfs2.provider.sftp with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileSystem
SftpFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates aFileSystem
. -
Uses of FileName in org.apache.commons.vfs2.provider.tar
Methods in org.apache.commons.vfs2.provider.tar with parameters of type FileNameModifier and TypeMethodDescriptionprotected void
TarFileObject.attachChild
(FileName childName) Attaches a child.protected FileObject
TarFileSystem.getFileFromCache
(FileName name) Returns a cached file.protected void
TarFileSystem.removeFileFromCache
(FileName name) remove a cached file. -
Uses of FileName in org.apache.commons.vfs2.provider.url
Classes in org.apache.commons.vfs2.provider.url that implement FileNameMethods in org.apache.commons.vfs2.provider.url that return FileNameModifier and TypeMethodDescriptionUrlFileNameParser.parseUri
(VfsComponentContext context, FileName base, String uri) Parse a URI.Methods in org.apache.commons.vfs2.provider.url with parameters of type FileNameModifier and TypeMethodDescriptionprotected URL
Creates a URL from the given file name.protected boolean
UrlFileNameParser.isUrlBased
(FileName base, String fileName) Guess if the given file name is a URL with host or not.UrlFileNameParser.parseUri
(VfsComponentContext context, FileName base, String uri) Parse a URI.Constructors in org.apache.commons.vfs2.provider.url with parameters of type FileNameModifierConstructorDescriptionprotected
UrlFileSystem
(FileName rootName, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileName in org.apache.commons.vfs2.provider.zip
Methods in org.apache.commons.vfs2.provider.zip with parameters of type FileNameModifier and TypeMethodDescriptionvoid
ZipFileObject.attachChild
(FileName childName) Attaches a child.protected FileObject
ZipFileSystem.getFileFromCache
(FileName name) Gets a cached file.protected void
ZipFileSystem.removeFileFromCache
(FileName name) remove a cached file.
GenericURLFileName
as it doesn't depend on HTTP Client v3 API directly.