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_ARRAY
Empty array of FileName.Methods in org.apache.commons.vfs2 that return FileName Modifier and Type Method Description FileName
FileObject. getName()
Returns the name of this file.FileName
FileName. getParent()
Gets the file name of the parent of this file.FileName
FileName. getRoot()
Gets the root of the file system.FileName
FileSystem. getRootName()
Returns the name of the root file of this file system.FileName
FileSystemManager. resolveName(FileName root, java.lang.String name)
Resolves a name, relative to this file name.FileName
FileSystemManager. resolveName(FileName root, java.lang.String name, NameScope scope)
Resolves a name, relative to the "root" file name.FileName
FileSystemManager. 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 FileObject
FilesCache. getFile(FileSystem fileSystem, FileName fileName)
Retrieves a FileObject from the cache by name.java.lang.String
FileName. getRelativeName(FileName name)
Converts a file name to a relative name, relative to this file name.boolean
FileName. isAncestor(FileName ancestor)
Tests if another file name is an ancestor of this file name.boolean
FileName. isDescendent(FileName descendent)
Tests if another file name is a descendent of this file name.boolean
FileName. isDescendent(FileName descendent, NameScope nameScope)
Tests if another file name is a descendent of this file name.void
FilesCache. removeFile(FileSystem fileSystem, FileName name)
Removes a file from cache.FileObject
FileSystem. resolveFile(FileName name)
Finds a file in this file system.FileName
FileSystemManager. resolveName(FileName root, java.lang.String name)
Resolves a name, relative to this file name.FileName
FileSystemManager. 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
Fields in org.apache.commons.vfs2.cache declared as FileName Modifier and Type Field Description private FileName
FileSystemAndNameKey. fileName
The FileNameFields in org.apache.commons.vfs2.cache with type parameters of type FileName Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<FileSystem,java.util.concurrent.ConcurrentMap<FileName,FileObject>>
DefaultFilesCache. filesystemCache
The FileSystem cache.private java.util.concurrent.ConcurrentMap<FileSystem,java.util.Map<FileName,FileObject>>
LRUFilesCache. filesystemCache
The FileSystem cacheprivate java.util.Map<FileSystem,java.util.Map<FileName,java.lang.ref.Reference<FileObject>>>
SoftRefFilesCache. fileSystemCache
Methods in org.apache.commons.vfs2.cache that return FileName Modifier and Type Method Description (package private) FileName
FileSystemAndNameKey. getFileName()
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 FileObject
DefaultFilesCache. getFile(FileSystem filesystem, FileName name)
FileObject
LRUFilesCache. getFile(FileSystem filesystem, FileName name)
FileObject
NullFilesCache. getFile(FileSystem filesystem, FileName name)
FileObject
SoftRefFilesCache. getFile(FileSystem fileSystem, FileName fileName)
private java.lang.String
SoftRefFilesCache. getSafeName(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)
Method parameters in org.apache.commons.vfs2.cache with type arguments of type FileName Modifier and Type Method Description protected boolean
LRUFilesCache.MyLRUMap. removeLRU(org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<FileName,FileObject> linkEntry)
Constructors in org.apache.commons.vfs2.cache with parameters of type FileName Constructor Description FileSystemAndNameKey(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 class
VirtualFileName
A simple Filename to hold the scheme for to be created virtual file system.Fields in org.apache.commons.vfs2.impl with type parameters of type FileName Modifier and Type Field Description private java.util.Map<FileName,java.lang.Object>
DefaultFileMonitor.FileMonitorAgent. children
private java.util.Map<FileName,FileObject>
VirtualFileSystem. junctions
private java.util.Map<FileName,DefaultFileMonitor.FileMonitorAgent>
DefaultFileMonitor. monitorMap
Map from FileName to FileObject being monitored.Methods in org.apache.commons.vfs2.impl that return FileName Modifier and Type Method Description FileName
VirtualFileName. createName(java.lang.String absPath, FileType type)
private FileName
VirtualFileSystem. getJunctionForFile(FileName name)
Locates the junction point for the junction containing the given file.FileName
DecoratedFileObject. getName()
FileName
DefaultVfsComponentContext. parseURI(java.lang.String uri)
FileName
DefaultFileSystemManager. resolveName(FileName root, java.lang.String path)
Resolves a name, relative to the file.FileName
DefaultFileSystemManager. resolveName(FileName base, java.lang.String name, NameScope scope)
Resolves a name, relative to the root.FileName
DefaultFileSystemManager. 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 private FileName
VirtualFileSystem. getJunctionForFile(FileName name)
Locates the junction point for the junction containing the given file.FileName
DefaultFileSystemManager. resolveName(FileName root, java.lang.String path)
Resolves a name, relative to the file.FileName
DefaultFileSystemManager. 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 class
AbstractFileName
A default file name implementation.class
GenericFileName
A file name that represents a 'generic' URI, as per RFC 2396.class
GenericURLFileName
Generic file name that represents a URL.class
LayeredFileName
A file name for layered files.class
URLFileName
Deprecated.UseGenericURLFileName
as it doesn't depend on Http Client v3 API directly.Fields in org.apache.commons.vfs2.provider declared as FileName Modifier and Type Field Description private FileName[]
AbstractFileObject. children
private FileName
LayeredFileName. outerUri
private FileName
AbstractFileSystem. rootName
The "root" of the file system.Fields in org.apache.commons.vfs2.provider with type parameters of type FileName Modifier and Type Field Description private java.util.Map<FileName,java.util.ArrayList<FileListener>>
AbstractFileSystem. listenerMap
Map from FileName to an ArrayList of listeners for that file.Methods in org.apache.commons.vfs2.provider that return FileName Modifier and Type Method Description abstract FileName
AbstractFileName. createName(java.lang.String absolutePath, FileType fileType)
Factory method for creating name instances.FileName
GenericFileName. createName(java.lang.String absPath, FileType type)
Create a FileName.FileName
GenericURLFileName. createName(java.lang.String absPath, FileType type)
Creates a FileName.FileName
LayeredFileName. createName(java.lang.String path, FileType type)
Creates a FileName.FileName
URLFileName. createName(java.lang.String absPath, FileType type)
Deprecated.Create a FileName.private FileName[]
AbstractFileObject. extractNames(FileObject[] objects)
FileName
AbstractFileObject. getName()
Returns the name of the file.FileName
LayeredFileName. getOuterName()
Returns the URI of the outer file.FileName
AbstractFileName. getParent()
Returns the name of the parent of the file.FileName
AbstractFileName. getRoot()
find the root of the file system.FileName
AbstractFileSystem. getRootName()
Returns the name of the root of this file system.FileName
AbstractFileProvider. parseUri(FileName base, java.lang.String uri)
Parses an absolute URI.FileName
FileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String uri)
Parses a String into a file name.FileName
FileProvider. parseUri(FileName root, java.lang.String uri)
Parses the URI into a FileName.FileName
GenericURLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String fileName)
FileName
HostFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String fileName)
FileName
LayeredFileNameParser. parseUri(VfsComponentContext context, FileName baseFileName, java.lang.String fileName)
Parses the base and name into a FileName.FileName
URLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String fileName)
Deprecated.FileName
VfsComponentContext. 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 void
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
AbstractFileName. compareTo(FileName obj)
Implement Comparable.protected abstract FileSystem
AbstractOriginatingFileProvider. doCreateFileSystem(FileName rootFileName, FileSystemOptions fileSystemOptions)
Creates aFileSystem
.protected FileObject
AbstractOriginatingFileProvider. findFile(FileName fileName, FileSystemOptions fileSystemOptions)
Locates a file from its parsed URI.protected FileObject
AbstractFileSystem. getFileFromCache(FileName name)
Returns a cached file.protected FileSystem
AbstractOriginatingFileProvider. getFileSystem(FileName rootFileName, FileSystemOptions fileSystemOptions)
Returns the FileSystem associated with the specified root.java.lang.String
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.private void
AbstractFileObject. notifyParent(FileName childName, FileType newType)
Notify the parent of a change to its children, when a child is created or deleted.protected void
AbstractFileObject. onChildrenChanged(FileName child, FileType newType)
Called when the children of this file change.FileName
AbstractFileProvider. parseUri(FileName base, java.lang.String uri)
Parses an absolute URI.FileName
FileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String uri)
Parses a String into a file name.FileName
FileProvider. parseUri(FileName root, java.lang.String uri)
Parses the URI into a FileName.FileName
GenericURLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String fileName)
FileName
HostFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String fileName)
FileName
LayeredFileNameParser. parseUri(VfsComponentContext context, FileName baseFileName, java.lang.String fileName)
Parses the base and name into a FileName.FileName
URLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String fileName)
Deprecated.protected void
AbstractFileSystem. removeFileFromCache(FileName name)
Removes a cached file.private FileObject
AbstractFileObject. resolveFile(FileName child)
FileObject
AbstractFileSystem. resolveFile(FileName name)
Finds a file in this file system.private FileObject
AbstractFileSystem. resolveFile(FileName name, boolean useCache)
private FileObject[]
AbstractFileObject. resolveFiles(FileName[] children)
Constructors in org.apache.commons.vfs2.provider with parameters of type FileName Constructor Description AbstractFileSystem(FileName rootFileName, 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 FileSystem
Bzip2FileProvider. 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 FileSystem
CompressedFileFileProvider. 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 FileSystem
FtpFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)
Creates the file system.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 FileName Constructor Description FtpFileObject(AbstractFileName name, FtpFileSystem fileSystem, FileName rootName)
-
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 FileSystem
GzipFileProvider. 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.http4
Methods in org.apache.commons.vfs2.provider.http4 with parameters of type FileName Modifier and Type Method Description protected FileSystem
Http4FileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)
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)
ConstructHttp4FileSystem
. -
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 class
LocalFileName
A local file URI.class
WindowsFileName
A local file URI.Methods in org.apache.commons.vfs2.provider.local that return FileName Modifier and Type Method Description protected FileName
GenericFileNameParser. createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
protected abstract FileName
LocalFileNameParser. createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
protected FileName
WindowsFileNameParser. createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
FileName
LocalFileName. createName(java.lang.String path, FileType type)
Factory method for creating name instances.FileName
WindowsFileName. createName(java.lang.String path, FileType type)
Factory method for creating name instances.FileName
LocalFileNameParser. 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 FileSystem
DefaultLocalFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)
Creates the file system.private java.lang.String[]
LocalFileNameParser. getSchemes(VfsComponentContext context, FileName base, java.lang.String uri)
FileName
LocalFileNameParser. 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
Fields in org.apache.commons.vfs2.provider.ram declared as FileName Modifier and Type Field Description private FileName
RamFileData. name
File Name.Fields in org.apache.commons.vfs2.provider.ram with type parameters of type FileName Modifier and Type Field Description private java.util.Map<FileName,RamFileData>
RamFileSystem. cache
Cache of RAM File DataMethods in org.apache.commons.vfs2.provider.ram that return FileName Modifier and Type Method Description (package private) FileName
RamFileData. getName()
Methods in org.apache.commons.vfs2.provider.ram with parameters of type FileName Modifier and Type Method Description protected FileSystem
RamFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)
(package private) java.lang.String[]
RamFileSystem. listChildren(FileName name)
Constructors in org.apache.commons.vfs2.provider.ram with parameters of type FileName Constructor Description RamFileData(FileName name)
Constructor.RamFileSystem(FileName rootName, FileSystemOptions fileSystemOptions)
-
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 class
ResourceFileName
A resource file URI.Methods in org.apache.commons.vfs2.provider.res that return FileName Modifier and Type Method Description protected FileName
ResourceFileNameParser. createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
FileName
ResourceFileName. 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 FileSystem
SftpFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)
Creates aFileSystem
. -
Uses of FileName in org.apache.commons.vfs2.provider.tar
Fields in org.apache.commons.vfs2.provider.tar with type parameters of type FileName Modifier and Type Field Description private java.util.Map<FileName,FileObject>
TarFileSystem. cache
Cache doesn't need to be synchronized since it is read-only.Methods in org.apache.commons.vfs2.provider.tar with parameters of type FileName Modifier and Type Method Description protected void
TarFileObject. attachChild(FileName childName)
Attaches a child.protected FileObject
TarFileSystem. getFileFromCache(FileName name)
Returns a cached file.protected void
TarFileSystem. 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 class
UrlFileName
A URL FileName.Methods in org.apache.commons.vfs2.provider.url that return FileName Modifier and Type Method Description FileName
UrlFileNameParser. 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.URL
UrlFileObject. createURL(FileName name)
protected boolean
UrlFileNameParser. isUrlBased(FileName base, java.lang.String fileName)
Guess if the given file name is a URL with host or not.FileName
UrlFileNameParser. 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
Fields in org.apache.commons.vfs2.provider.zip with type parameters of type FileName Modifier and Type Field Description private java.util.Map<FileName,FileObject>
ZipFileSystem. cache
Cache doesn't need to be synchronized since it is read-only.Methods in org.apache.commons.vfs2.provider.zip with parameters of type FileName Modifier and Type Method Description void
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. -
Uses of FileName in org.apache.commons.vfs2.util
Fields in org.apache.commons.vfs2.util declared as FileName Modifier and Type Field Description private FileName
WeakRefFileListener. name
-