Uses of Interface
org.apache.commons.vfs.FileName
Packages that use FileName
Package
Description
The public VFS API.
The standard VFS implementation.
The File Provider API, and utility classes.
The FTP File Provider.
The Jar 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.vfs
Methods in org.apache.commons.vfs 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()
find the root of the filesystemFileSystem.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 filenameMethods in org.apache.commons.vfs with parameters of type FileNameModifier and TypeMethodDescriptionFilesCache.getFile
(FileSystem filesystem, FileName name) retrieve a file from the cache by its nameFileName.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 cacheFileSystem.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.vfs.cache
Methods in org.apache.commons.vfs.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 name) 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 name) -
Uses of FileName in org.apache.commons.vfs.impl
Classes in org.apache.commons.vfs.impl that implement FileNameModifier and TypeClassDescriptionclass
A simple Filename to hold the scheme for to be created virtual filesytsem.Methods in org.apache.commons.vfs.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 filenameMethods in org.apache.commons.vfs.impl with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileObject
VirtualFileSystem.createFile
(FileName name) Creates a file object.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.Constructors in org.apache.commons.vfs.impl with parameters of type FileNameModifierConstructorDescriptionVirtualFileSystem
(FileName rootName, FileSystemOptions fileSystemOptions) -
Uses of FileName in org.apache.commons.vfs.provider
Classes in org.apache.commons.vfs.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
Methods in org.apache.commons.vfs.provider that return FileNameModifier and TypeMethodDescriptionabstract FileName
AbstractFileName.createName
(String absPath, FileType type) Factory method for creating name instances.GenericFileName.createName
(String absPath, FileType type) LayeredFileName.createName
(String path, FileType type) URLFileName.createName
(String absPath, FileType type) 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 filesystemAbstractFileSystem.getRootName()
Returns the name of the root of this file system.Parses an absolute URI.FileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) parses a String into a filenameHostFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) LayeredFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) URLFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) Methods in org.apache.commons.vfs.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.protected abstract FileObject
AbstractFileSystem.createFile
(FileName name) Creates a file object.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.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 filename) parses a String into a filenameHostFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) LayeredFileNameParser.parseUri
(VfsComponentContext context, FileName base, String 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.vfs.provider with parameters of type FileNameModifierConstructorDescriptionprotected
AbstractFileObject
(FileName name, AbstractFileSystem fs) protected
AbstractFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) DelegateFileObject
(FileName name, AbstractFileSystem fileSystem, FileObject file) LayeredFileName
(String scheme, FileName outerUri, String path, FileType type) -
Uses of FileName in org.apache.commons.vfs.provider.bzip2
Methods in org.apache.commons.vfs.provider.bzip2 with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileObject
Bzip2FileSystem.createFile
(FileName name) protected FileSystem
Bzip2FileProvider.createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs.provider.bzip2 with parameters of type FileNameModifierConstructorDescriptionprotected
Bzip2FileObject
(FileName name, FileObject container, CompressedFileFileSystem fs) protected
Bzip2FileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileName in org.apache.commons.vfs.provider.compressed
Methods in org.apache.commons.vfs.provider.compressed with parameters of type FileNameModifier and TypeMethodDescriptionprotected abstract FileObject
CompressedFileFileSystem.createFile
(FileName name) Creates a file object.protected abstract FileSystem
CompressedFileFileProvider.createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs.provider.compressed with parameters of type FileNameModifierConstructorDescriptionprotected
CompressedFileFileObject
(FileName name, FileObject container, CompressedFileFileSystem fs) protected
CompressedFileFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileName in org.apache.commons.vfs.provider.ftp
Methods in org.apache.commons.vfs.provider.ftp with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileObject
FtpFileSystem.createFile
(FileName name) Creates a file object.protected 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.vfs.provider.ftp with parameters of type FileNameModifierConstructorDescriptionprotected
FtpFileObject
(FileName name, FtpFileSystem fileSystem, FileName rootName) -
Uses of FileName in org.apache.commons.vfs.provider.gzip
Methods in org.apache.commons.vfs.provider.gzip with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileObject
GzipFileSystem.createFile
(FileName name) protected FileSystem
GzipFileProvider.createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs.provider.gzip with parameters of type FileNameModifierConstructorDescriptionprotected
GzipFileObject
(FileName name, FileObject container, CompressedFileFileSystem fs) protected
GzipFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileName in org.apache.commons.vfs.provider.http
Methods in org.apache.commons.vfs.provider.http with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileObject
HttpFileSystem.createFile
(FileName name) Creates a file object.protected FileSystem
HttpFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates aFileSystem
.Constructors in org.apache.commons.vfs.provider.http with parameters of type FileName -
Uses of FileName in org.apache.commons.vfs.provider.jar
Methods in org.apache.commons.vfs.provider.jar with parameters of type FileNameModifier and TypeMethodDescriptionprotected ZipFileObject
JarFileSystem.createZipFileObject
(FileName name, ZipEntry entry) Constructors in org.apache.commons.vfs.provider.jar with parameters of type FileNameModifierConstructorDescriptionprotected
JarFileObject
(FileName name, ZipEntry entry, JarFileSystem fs, boolean zipExists) protected
JarFileSystem
(FileName rootName, FileObject file, FileSystemOptions fileSystemOptions) -
Uses of FileName in org.apache.commons.vfs.provider.local
Classes in org.apache.commons.vfs.provider.local that implement FileNameModifier and TypeClassDescriptionclass
A local file URI.class
A local file URI.Methods in org.apache.commons.vfs.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 filename) Methods in org.apache.commons.vfs.provider.local with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileObject
LocalFileSystem.createFile
(FileName name) Creates a file object.protected FileSystem
DefaultLocalFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates the filesystem.LocalFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) Constructors in org.apache.commons.vfs.provider.local with parameters of type FileNameModifierConstructorDescriptionprotected
LocalFile
(LocalFileSystem fileSystem, String rootFile, FileName name) Creates a non-root file.LocalFileSystem
(FileName rootName, String rootFile, FileSystemOptions opts) -
Uses of FileName in org.apache.commons.vfs.provider.ram
Methods in org.apache.commons.vfs.provider.ram with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileObject
RamFileSystem.createFile
(FileName name) protected FileSystem
RamFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs.provider.ram with parameters of type FileNameModifierConstructorDescriptionprotected
RamFileObject
(FileName name, RamFileSystem fs) protected
RamFileSystem
(FileName rootName, FileSystemOptions fileSystemOptions) -
Uses of FileName in org.apache.commons.vfs.provider.sftp
Methods in org.apache.commons.vfs.provider.sftp with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileObject
SftpFileSystem.createFile
(FileName name) Creates a file object.protected FileSystem
SftpFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates aFileSystem
.Constructors in org.apache.commons.vfs.provider.sftp with parameters of type FileName -
Uses of FileName in org.apache.commons.vfs.provider.tar
Methods in org.apache.commons.vfs.provider.tar with parameters of type FileNameModifier and TypeMethodDescriptionprotected void
TarFileObject.attachChild
(FileName childName) Attaches a childprotected FileObject
TarFileSystem.createFile
(FileName name) Creates a file object.protected TarFileObject
TarFileSystem.createTarFileObject
(FileName name, org.apache.commons.vfs.provider.tar.TarEntry entry) Constructors in org.apache.commons.vfs.provider.tar with parameters of type FileNameModifierConstructorDescriptionprotected
TarFileObject
(FileName name, org.apache.commons.vfs.provider.tar.TarEntry entry, TarFileSystem fs, boolean tarExists) protected
TarFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileName in org.apache.commons.vfs.provider.url
Classes in org.apache.commons.vfs.provider.url that implement FileNameMethods in org.apache.commons.vfs.provider.url that return FileNameModifier and TypeMethodDescriptionUrlFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) Methods in org.apache.commons.vfs.provider.url with parameters of type FileNameModifier and TypeMethodDescriptionprotected FileObject
UrlFileSystem.createFile
(FileName name) Creates a file object.protected URL
protected boolean
UrlFileNameParser.isUrlBased
(FileName base, String filename) Guess is the given filename is a url with host or not.UrlFileNameParser.parseUri
(VfsComponentContext context, FileName base, String filename) Constructors in org.apache.commons.vfs.provider.url with parameters of type FileNameModifierConstructorDescriptionprotected
UrlFileObject
(UrlFileSystem fs, FileName fileName) protected
UrlFileSystem
(FileName rootName, FileSystemOptions fileSystemOptions) -
Uses of FileName in org.apache.commons.vfs.provider.zip
Methods in org.apache.commons.vfs.provider.zip with parameters of type FileNameModifier and TypeMethodDescriptionvoid
ZipFileObject.attachChild
(FileName childName) Attaches a childprotected FileObject
ZipFileSystem.createFile
(FileName name) Creates a file object.protected ZipFileObject
ZipFileSystem.createZipFileObject
(FileName name, ZipEntry entry) Constructors in org.apache.commons.vfs.provider.zip with parameters of type FileNameModifierConstructorDescriptionprotected
ZipFileObject
(FileName name, ZipEntry entry, ZipFileSystem fs, boolean zipExists) ZipFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)