Uses of Interface
org.apache.commons.vfs2.FileName
-
-
Uses of FileName in org.apache.commons.vfs2
Fields in org.apache.commons.vfs2 declared as FileName Modifier and Type Field Description static FileName[]FileName. EMPTY_ARRAYEmpty array of FileName.Methods in org.apache.commons.vfs2 that return FileName Modifier and Type Method Description FileNameFileObject. getName()Gets the name of this file.FileNameFileName. getParent()Gets the file name of the parent of this file.FileNameFileName. getRoot()Gets 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)Resolves the URI to a file name.Methods in org.apache.commons.vfs2 with parameters of type FileName Modifier and Type Method Description FileObjectFilesCache. getFile(FileSystem fileSystem, FileName fileName)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)Tests if another file name is an ancestor of this file name.booleanFileName. isDescendent(FileName descendent)Tests if another file name is a descendent of this file name.booleanFileName. isDescendent(FileName descendent, NameScope nameScope)Tests 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)Gets or creates a Map.protected java.util.Map<FileName,FileObject>LRUFilesCache. getOrCreateFilesystemCache(FileSystem fileSystem)Gets or creates a new Map.protected java.util.Map<FileName,java.lang.ref.Reference<FileObject>>SoftRefFilesCache. getOrCreateFilesystemCache(FileSystem fileSystem)Gets or creates a new Map.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 file name to hold the scheme for to be created virtual file system.Methods in org.apache.commons.vfs2.impl that return FileName Modifier and Type Method Description FileNameVirtualFileName. createName(java.lang.String absolutePath, 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 file name.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.classGenericURLFileNameGeneric file name that represents a URL.classLayeredFileNameA file name for layered files.classURLFileNameDeprecated.UseGenericURLFileNameas it doesn't depend on HTTP Client v3 API directly.Methods in org.apache.commons.vfs2.provider that return FileName Modifier and Type Method Description abstract FileNameAbstractFileName. createName(java.lang.String absolutePath, FileType fileType)Factory method for creating name instances.FileNameGenericFileName. createName(java.lang.String absPath, FileType type)Create a FileName.FileNameGenericURLFileName. createName(java.lang.String absPath, FileType type)Creates a FileName.FileNameLayeredFileName. createName(java.lang.String path, FileType type)Creates a FileName.FileNameURLFileName. createName(java.lang.String absPath, FileType type)Deprecated.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 file system.FileNameAbstractFileSystem. getRootName()Gets 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 file name.FileNameFileProvider. parseUri(FileName root, java.lang.String uri)Parses the URI into a FileName.FileNameGenericURLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String fileName)FileNameHostFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String fileName)FileNameLayeredFileNameParser. parseUri(VfsComponentContext context, FileName baseFileName, java.lang.String fileName)Parses the base and name into a FileName.FileNameURLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String fileName)Deprecated.FileNameVfsComponentContext. parseURI(java.lang.String uri)Parses 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 rootFileName, FileSystemOptions fileSystemOptions)Creates aFileSystem.protected FileObjectAbstractOriginatingFileProvider. findFile(FileName fileName, FileSystemOptions fileSystemOptions)Locates a file from its parsed URI.protected FileObjectAbstractFileSystem. getFileFromCache(FileName name)Gets a cached file.protected FileSystemAbstractOriginatingFileProvider. getFileSystem(FileName rootFileName, 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 file name.FileNameFileProvider. parseUri(FileName root, java.lang.String uri)Parses the URI into a FileName.FileNameGenericURLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String fileName)FileNameHostFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String fileName)FileNameLayeredFileNameParser. parseUri(VfsComponentContext context, FileName baseFileName, java.lang.String fileName)Parses the base and name into a FileName.FileNameURLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String fileName)Deprecated.protected voidAbstractFileSystem. removeFileFromCache(FileName name)Removes 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)Constructs a new instance.LayeredFileName(java.lang.String scheme, FileName outerUri, java.lang.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 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)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 FileName Modifier and Type Method Description protected abstract FileSystemCompressedFileFileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)Create a FileSystem.Constructors in org.apache.commons.vfs2.provider.compressed with parameters of type FileName Constructor Description 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 FileName Modifier and Type Method Description protected FileSystemFtpFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Creates the file system.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 fileName, FtpFileSystem fileSystem, FileName rootName)Constructs a new instance. -
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)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 FileName Modifier and Type Method Description protected FileSystemHttpFileProvider. 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 FileName Modifier and Type Method Description protected FileSystemHttp4FileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Deprecated.Constructors in org.apache.commons.vfs2.provider.http4 with parameters of type FileName Constructor Description 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.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 fileType)Creates a FileName.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 file system.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 rootFileName, java.lang.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 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)Constructs a new instance. -
Uses of FileName in org.apache.commons.vfs2.provider.res
Classes in org.apache.commons.vfs2.provider.res that implement FileName Modifier and Type Class Description classResourceFileNameA resource file URI.Methods in org.apache.commons.vfs2.provider.res that return FileName Modifier and Type Method Description protected FileNameResourceFileNameParser. createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)FileNameResourceFileName. createName(java.lang.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 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.protected FileObjectTarFileSystem. getFileFromCache(FileName name)Returns a cached file.protected voidTarFileSystem. 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 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)Creates a URL from the given file name.protected booleanUrlFileNameParser. isUrlBased(FileName base, java.lang.String fileName)Guess if the given file name is a 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)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 FileName Modifier and Type Method Description voidZipFileObject. attachChild(FileName childName)Attaches a child.protected FileObjectZipFileSystem. getFileFromCache(FileName name)Gets a cached file.protected voidZipFileSystem. removeFileFromCache(FileName name)remove a cached file.
-