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 FileName
FileObject. getName()
Returns the name of this file.FileName
FileName. getParent()
Returns the file name of the parent of this file.FileName
FileName. getRoot()
Finds 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)
Resolve the uri to a filename.Methods in org.apache.commons.vfs2 with parameters of type FileName Modifier and Type Method Description FileObject
FilesCache. getFile(FileSystem filesystem, FileName name)
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)
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 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
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)
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)
-
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 filesytsem.Methods in org.apache.commons.vfs2.impl that return FileName Modifier and Type Method Description FileName
VirtualFileName. createName(java.lang.String absPath, FileType type)
FileName
DecoratedFileObject. getName()
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 filename.Methods in org.apache.commons.vfs2.impl with parameters of type FileName Modifier and Type Method Description 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
LayeredFileName
A file name for layered files.class
URLFileName
A file name that represents URL.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
LayeredFileName. createName(java.lang.String path, FileType type)
Create a FileName.FileName
URLFileName. createName(java.lang.String absPath, FileType type)
Create a FileName.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 filesystem.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 filename.FileName
FileProvider. parseUri(FileName root, java.lang.String uri)
Parse the URI into a FileName.FileName
HostFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)
FileName
LayeredFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)
Parse the base and name into a FileName.FileName
URLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)
FileName
VfsComponentContext. 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 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 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.protected FileSystem
AbstractOriginatingFileProvider. getFileSystem(FileName rootName, 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.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 filename.FileName
FileProvider. parseUri(FileName root, java.lang.String uri)
Parse the URI into a FileName.FileName
HostFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)
FileName
LayeredFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)
Parse the base and name into a FileName.FileName
URLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)
protected void
AbstractFileSystem. removeFileFromCache(FileName name)
Remove a cached file.FileObject
AbstractFileSystem. 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 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 filesystem.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.ftps
Methods in org.apache.commons.vfs2.provider.ftps with parameters of type FileName Modifier and Type Method Description protected FileSystem
FtpsFileProvider. 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 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.http
Methods in org.apache.commons.vfs2.provider.http with parameters of type FileName Modifier and Type Method Description protected FileSystem
HttpFileProvider. 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 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 filesystem.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
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)
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 FileSystem
SftpFileProvider. 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 void
TarFileObject. 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 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 an 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
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.
-