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.booleanFileName.isAncestor(FileName ancestor) Determines if another file name is an ancestor of this file name.booleanFileName.isDescendent(FileName descendent) Determines if another file name is a descendent of this file name.booleanFileName.isDescendent(FileName descendent, NameScope nameScope) Determines if another file name is a descendent of this file name.voidFilesCache.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) voidDefaultFilesCache.removeFile(FileSystem filesystem, FileName name) voidLRUFilesCache.removeFile(FileSystem filesystem, FileName name) voidNullFilesCache.removeFile(FileSystem filesystem, FileName name) voidSoftRefFilesCache.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 TypeClassDescriptionclassA 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 FileObjectVirtualFileSystem.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 TypeClassDescriptionclassA default file name implementation.classA file name that represents a 'generic' URI, as per RFC 2396.classA file name for layered files.classMethods in org.apache.commons.vfs.provider that return FileNameModifier and TypeMethodDescriptionabstract FileNameAbstractFileName.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 TypeMethodDescriptionvoidDelegateFileObject.attachChild(FileName baseName, FileType type) Adds a child to this file.protected voidAbstractFileObject.childrenChanged(FileName childName, FileType newType) Notifies the file that its children have changed.protected abstract FileObjectAbstractFileSystem.createFile(FileName name) Creates a file object.protected abstract FileSystemAbstractOriginatingFileProvider.doCreateFileSystem(FileName rootName, FileSystemOptions fileSystemOptions) Creates aFileSystem.protected FileObjectAbstractOriginatingFileProvider.findFile(FileName name, FileSystemOptions fileSystemOptions) Locates a file from its parsed URI.protected FileObjectAbstractFileSystem.getFileFromCache(FileName name) Returns a cached file.AbstractFileName.getRelativeName(FileName name) Converts a file name to a relative name, relative to this file name.booleanAbstractFileName.isAncestor(FileName ancestor) Determines if another file name is an ancestor of this file name.booleanAbstractFileName.isDescendent(FileName descendent) Determines if another file name is a descendent of this file name.booleanAbstractFileName.isDescendent(FileName descendent, NameScope scope) Determines if another file name is a descendent of this file name.protected voidAbstractFileObject.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 voidAbstractFileSystem.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 FileNameModifierConstructorDescriptionprotectedAbstractFileObject(FileName name, AbstractFileSystem fs) protectedAbstractFileSystem(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 FileObjectBzip2FileSystem.createFile(FileName name) protected FileSystemBzip2FileProvider.createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs.provider.bzip2 with parameters of type FileNameModifierConstructorDescriptionprotectedBzip2FileObject(FileName name, FileObject container, CompressedFileFileSystem fs) protectedBzip2FileSystem(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 FileObjectCompressedFileFileSystem.createFile(FileName name) Creates a file object.protected abstract FileSystemCompressedFileFileProvider.createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs.provider.compressed with parameters of type FileNameModifierConstructorDescriptionprotectedCompressedFileFileObject(FileName name, FileObject container, CompressedFileFileSystem fs) protectedCompressedFileFileSystem(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 FileObjectFtpFileSystem.createFile(FileName name) Creates a file object.protected FileSystemFtpFileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Creates the filesystem.protected voidFtpFileObject.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 FileNameModifierConstructorDescriptionprotectedFtpFileObject(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 FileObjectGzipFileSystem.createFile(FileName name) protected FileSystemGzipFileProvider.createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs.provider.gzip with parameters of type FileNameModifierConstructorDescriptionprotectedGzipFileObject(FileName name, FileObject container, CompressedFileFileSystem fs) protectedGzipFileSystem(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 FileObjectHttpFileSystem.createFile(FileName name) Creates a file object.protected FileSystemHttpFileProvider.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 ZipFileObjectJarFileSystem.createZipFileObject(FileName name, ZipEntry entry) Constructors in org.apache.commons.vfs.provider.jar with parameters of type FileNameModifierConstructorDescriptionprotectedJarFileObject(FileName name, ZipEntry entry, JarFileSystem fs, boolean zipExists) protectedJarFileSystem(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 TypeClassDescriptionclassA local file URI.classA local file URI.Methods in org.apache.commons.vfs.provider.local that return FileNameModifier and TypeMethodDescriptionprotected FileNameGenericFileNameParser.createFileName(String scheme, String rootFile, String path, FileType type) protected abstract FileNameLocalFileNameParser.createFileName(String scheme, String rootFile, String path, FileType type) protected FileNameWindowsFileNameParser.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 FileObjectLocalFileSystem.createFile(FileName name) Creates a file object.protected FileSystemDefaultLocalFileProvider.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 FileNameModifierConstructorDescriptionprotectedLocalFile(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 FileObjectRamFileSystem.createFile(FileName name) protected FileSystemRamFileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs.provider.ram with parameters of type FileNameModifierConstructorDescriptionprotectedRamFileObject(FileName name, RamFileSystem fs) protectedRamFileSystem(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 FileObjectSftpFileSystem.createFile(FileName name) Creates a file object.protected FileSystemSftpFileProvider.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 voidTarFileObject.attachChild(FileName childName) Attaches a childprotected FileObjectTarFileSystem.createFile(FileName name) Creates a file object.protected TarFileObjectTarFileSystem.createTarFileObject(FileName name, org.apache.commons.vfs.provider.tar.TarEntry entry) Constructors in org.apache.commons.vfs.provider.tar with parameters of type FileNameModifierConstructorDescriptionprotectedTarFileObject(FileName name, org.apache.commons.vfs.provider.tar.TarEntry entry, TarFileSystem fs, boolean tarExists) protectedTarFileSystem(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 FileObjectUrlFileSystem.createFile(FileName name) Creates a file object.protected URLprotected booleanUrlFileNameParser.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 FileNameModifierConstructorDescriptionprotectedUrlFileObject(UrlFileSystem fs, FileName fileName) protectedUrlFileSystem(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 TypeMethodDescriptionvoidZipFileObject.attachChild(FileName childName) Attaches a childprotected FileObjectZipFileSystem.createFile(FileName name) Creates a file object.protected ZipFileObjectZipFileSystem.createZipFileObject(FileName name, ZipEntry entry) Constructors in org.apache.commons.vfs.provider.zip with parameters of type FileNameModifierConstructorDescriptionprotectedZipFileObject(FileName name, ZipEntry entry, ZipFileSystem fs, boolean zipExists) ZipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)