Uses of Interface
org.apache.commons.vfs2.FileName
-
-
Uses of FileName in org.apache.commons.vfs2
Methods in org.apache.commons.vfs2 that return FileName Modifier and Type Method Description FileNameFileObject. getName()Returns the name of this file.FileNameFileName. getParent()Returns the file name of the parent of this file.FileNameFileName. getRoot()Finds the root of the file system.FileNameFileSystem. getRootName()Returns the name of the root file of this file system.FileNameFileSystemManager. resolveName(FileName root, java.lang.String name)Resolves a name, relative to this file name.FileNameFileSystemManager. resolveName(FileName root, java.lang.String name, NameScope scope)Resolves a name, relative to the "root" file name.FileNameFileSystemManager. resolveURI(java.lang.String uri)Resolve the uri to a filename.Methods in org.apache.commons.vfs2 with parameters of type FileName Modifier and Type Method Description FileObjectFilesCache. getFile(FileSystem filesystem, FileName name)Retrieves a FileObject from the cache by name.java.lang.StringFileName. 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 cache.FileObjectFileSystem. resolveFile(FileName name)Finds a file in this file system.FileNameFileSystemManager. resolveName(FileName root, java.lang.String name)Resolves a name, relative to this file name.FileNameFileSystemManager. resolveName(FileName root, java.lang.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 FileName Modifier and Type Method Description protected java.util.concurrent.ConcurrentMap<FileName,FileObject>DefaultFilesCache. getOrCreateFilesystemCache(FileSystem filesystem)protected java.util.Map<FileName,FileObject>LRUFilesCache. getOrCreateFilesystemCache(FileSystem filesystem)protected java.util.Map<FileName,java.lang.ref.Reference<FileObject>>SoftRefFilesCache. getOrCreateFilesystemCache(FileSystem fileSystem)Methods in org.apache.commons.vfs2.cache with parameters of type FileName Modifier and Type Method Description FileObjectDefaultFilesCache. getFile(FileSystem filesystem, FileName name)FileObjectLRUFilesCache. getFile(FileSystem filesystem, FileName name)FileObjectNullFilesCache. getFile(FileSystem filesystem, FileName name)FileObjectSoftRefFilesCache. getFile(FileSystem fileSystem, FileName fileName)voidDefaultFilesCache. removeFile(FileSystem filesystem, FileName name)voidLRUFilesCache. removeFile(FileSystem filesystem, FileName name)voidNullFilesCache. removeFile(FileSystem filesystem, FileName name)voidSoftRefFilesCache. removeFile(FileSystem fileSystem, FileName fileName) -
Uses of FileName in org.apache.commons.vfs2.impl
Classes in org.apache.commons.vfs2.impl that implement FileName Modifier and Type Class Description classVirtualFileNameA simple Filename to hold the scheme for to be created virtual filesytsem.Methods in org.apache.commons.vfs2.impl that return FileName Modifier and Type Method Description FileNameVirtualFileName. createName(java.lang.String absPath, FileType type)FileNameDecoratedFileObject. getName()FileNameDefaultFileSystemManager. resolveName(FileName root, java.lang.String path)Resolves a name, relative to the file.FileNameDefaultFileSystemManager. resolveName(FileName base, java.lang.String name, NameScope scope)Resolves a name, relative to the root.FileNameDefaultFileSystemManager. resolveURI(java.lang.String uri)Resolve the uri to a filename.Methods in org.apache.commons.vfs2.impl with parameters of type FileName Modifier and Type Method Description FileNameDefaultFileSystemManager. resolveName(FileName root, java.lang.String path)Resolves a name, relative to the file.FileNameDefaultFileSystemManager. resolveName(FileName base, java.lang.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 FileName Modifier and Type Class Description classAbstractFileNameA default file name implementation.classGenericFileNameA file name that represents a 'generic' URI, as per RFC 2396.classLayeredFileNameA file name for layered files.classURLFileNameA file name that represents URL.Methods in org.apache.commons.vfs2.provider that return FileName Modifier and Type Method Description abstract FileNameAbstractFileName. createName(java.lang.String absPath, FileType type)Factory method for creating name instances.FileNameGenericFileName. createName(java.lang.String absPath, FileType type)Create a FileName.FileNameLayeredFileName. createName(java.lang.String path, FileType type)Create a FileName.FileNameURLFileName. createName(java.lang.String absPath, FileType type)Create a FileName.FileNameAbstractFileObject. getName()Returns the name of the file.FileNameLayeredFileName. getOuterName()Returns the URI of the outer file.FileNameAbstractFileName. getParent()Returns the name of the parent of the file.FileNameAbstractFileName. getRoot()find the root of the filesystem.FileNameAbstractFileSystem. getRootName()Returns the name of the root of this file system.FileNameAbstractFileProvider. parseUri(FileName base, java.lang.String uri)Parses an absolute URI.FileNameFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String uri)parses a String into a filename.FileNameFileProvider. parseUri(FileName root, java.lang.String uri)Parse the URI into a FileName.FileNameHostFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)FileNameLayeredFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)Parse the base and name into a FileName.FileNameURLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)FileNameVfsComponentContext. parseURI(java.lang.String uri)Parse a URI into a FileName.Methods in org.apache.commons.vfs2.provider with parameters of type FileName Modifier and Type Method Description voidDelegateFileObject. 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.intAbstractFileName. compareTo(FileName obj)Implement Comparable.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.protected FileSystemAbstractOriginatingFileProvider. getFileSystem(FileName rootName, FileSystemOptions fileSystemOptions)Returns the FileSystem associated with the specified root.java.lang.StringAbstractFileName. 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.FileNameAbstractFileProvider. parseUri(FileName base, java.lang.String uri)Parses an absolute URI.FileNameFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String uri)parses a String into a filename.FileNameFileProvider. parseUri(FileName root, java.lang.String uri)Parse the URI into a FileName.FileNameHostFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)FileNameLayeredFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)Parse the base and name into a FileName.FileNameURLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)protected voidAbstractFileSystem. removeFileFromCache(FileName name)Remove a cached file.FileObjectAbstractFileSystem. resolveFile(FileName name)Finds a file in this file system.Constructors in org.apache.commons.vfs2.provider with parameters of type FileName Constructor Description AbstractFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)LayeredFileName(java.lang.String scheme, FileName outerUri, java.lang.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 FileName 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 FileName Constructor Description 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 FileName Modifier and Type Method Description protected abstract FileSystemCompressedFileFileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)Constructors in org.apache.commons.vfs2.provider.compressed with parameters of type FileName Constructor Description 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 FileName Modifier and Type Method Description 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.vfs2.provider.ftp with parameters of type FileName Constructor Description 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 FileName Modifier and Type Method Description protected FileSystemFtpsFileProvider. 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 FileName 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 FileName Constructor Description 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 FileName Modifier and Type Method Description protected FileSystemHttpFileProvider. 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 FileName Modifier and Type Class Description classLocalFileNameA local file URI.classWindowsFileNameA local file URI.Methods in org.apache.commons.vfs2.provider.local that return FileName Modifier and Type Method Description protected FileNameGenericFileNameParser. createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)protected abstract FileNameLocalFileNameParser. createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)protected FileNameWindowsFileNameParser. createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)FileNameLocalFileName. createName(java.lang.String path, FileType type)Factory method for creating name instances.FileNameWindowsFileName. createName(java.lang.String path, FileType type)Factory method for creating name instances.FileNameLocalFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String uri)Methods in org.apache.commons.vfs2.provider.local with parameters of type FileName Modifier and Type Method Description protected FileSystemDefaultLocalFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Creates the filesystem.FileNameLocalFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String uri)Constructors in org.apache.commons.vfs2.provider.local with parameters of type FileName Constructor Description LocalFileSystem(FileName rootName, java.lang.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 FileName Modifier and Type Method Description protected FileSystemRamFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Constructors in org.apache.commons.vfs2.provider.ram with parameters of type FileName Constructor Description 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 FileName Modifier and Type Method Description protected FileSystemSftpFileProvider. 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 FileName Modifier and Type Method Description protected voidTarFileObject. 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 FileName Modifier and Type Class Description classUrlFileNameA URL FileName.Methods in org.apache.commons.vfs2.provider.url that return FileName Modifier and Type Method Description FileNameUrlFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String uri)Parse a URI.Methods in org.apache.commons.vfs2.provider.url with parameters of type FileName Modifier and Type Method Description protected java.net.URLUrlFileObject. createURL(FileName name)protected booleanUrlFileNameParser. isUrlBased(FileName base, java.lang.String filename)Guess if the given file name is an URL with host or not.FileNameUrlFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String uri)Parse a URI.Constructors in org.apache.commons.vfs2.provider.url with parameters of type FileName Constructor Description 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 FileName Modifier and Type Method Description voidZipFileObject. attachChild(FileName childName)Attaches a child.protected FileObjectZipFileSystem. getFileFromCache(FileName name)Returns a cached file.protected voidZipFileSystem. removeFileFromCache(FileName name)remove a cached file.
-