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 Local File Provider.
The RAM File Provider.
The SFTP Provider.
The Tar File Provider.
The Default File Provider, which wraps java.net.URL.
The Zip File Provider.
-
Uses of FileName in org.apache.commons.vfs2
Methods in org.apache.commons.vfs2 that return FileNameModifier and TypeMethodDescriptionFileObject.getName()
Returns the name of this file.FileName.getParent()
Returns the file name of the parent of this file.FileName.getRoot()
Finds 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) Resolve the uri to a filename.Methods in org.apache.commons.vfs2 with parameters of type FileNameModifier and TypeMethodDescriptionFilesCache.getFile
(FileSystem filesystem, FileName name) 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) Determines if another file name is an ancestor of this file name.boolean
FileName.isDescendent
(FileName descendent) Determines if another file name is a descendent of this file name.boolean
FileName.isDescendent
(FileName descendent, NameScope nameScope) Determines 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) protected Map<FileName,
FileObject> LRUFilesCache.getOrCreateFilesystemCache
(FileSystem filesystem) protected Map<FileName,
Reference<FileObject>> SoftRefFilesCache.getOrCreateFilesystemCache
(FileSystem fileSystem) 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 Filename to hold the scheme for to be created virtual filesytsem.Methods in org.apache.commons.vfs2.impl that return FileNameModifier and TypeMethodDescriptionVirtualFileName.createName
(String absPath, 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 filename.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
A file name for layered files.class
A file name that represents URL.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.LayeredFileName.createName
(String path, FileType type) Create a FileName.URLFileName.createName
(String absPath, FileType type) 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 filesystem.AbstractFileSystem.getRootName()
Returns 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 filename.Parse the URI into a FileName.HostFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) LayeredFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) Parse the base and name into a FileName.URLFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) Parse 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 rootName, FileSystemOptions fileSystemOptions) Creates aFileSystem
.protected FileObject
AbstractOriginatingFileProvider.findFile
(FileName name, FileSystemOptions fileSystemOptions) Locates a file from its parsed URI.protected FileObject
AbstractFileSystem.getFileFromCache
(FileName name) Returns a cached file.protected FileSystem
AbstractOriginatingFileProvider.getFileSystem
(FileName rootName, 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 filename.Parse the URI into a FileName.HostFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) LayeredFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) Parse the base and name into a FileName.URLFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) protected void
AbstractFileSystem.removeFileFromCache
(FileName name) Remove 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) LayeredFileName
(String scheme, FileName outerUri, String path, FileType type) -
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) -
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) Constructors in org.apache.commons.vfs2.provider.compressed with parameters of type FileNameModifierConstructorDescriptionprotected
CompressedFileFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
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 filesystem.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 name, FtpFileSystem fileSystem, FileName rootName) -
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 filesystem. -
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) -
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) Creates aFileSystem
. -
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 type) 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 filesystem.LocalFileNameParser.parseUri
(VfsComponentContext context, FileName base, String uri) Constructors in org.apache.commons.vfs2.provider.local with parameters of type FileNameModifierConstructorDescriptionLocalFileSystem
(FileName rootName, String rootFile, FileSystemOptions opts) -
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) -
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. -
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
protected boolean
UrlFileNameParser.isUrlBased
(FileName base, String filename) Guess if the given file name is an 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) -
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) Returns a cached file.protected void
ZipFileSystem.removeFileFromCache
(FileName name) remove a cached file.