Package | Description |
---|---|
org.apache.commons.vfs |
The public VFS API.
|
org.apache.commons.vfs.cache | |
org.apache.commons.vfs.impl |
The standard VFS implementation.
|
org.apache.commons.vfs.provider |
The File Provider API, and utility classes.
|
Modifier and Type | Field and Description |
---|---|
static NameScope |
NameScope.CHILD
Resolve against the children of the base file.
|
static NameScope |
NameScope.DESCENDENT
Resolve against the descendents of the base file.
|
static NameScope |
NameScope.DESCENDENT_OR_SELF
Resolve against the descendents of the base file.
|
static NameScope |
NameScope.FILE_SYSTEM
Resolve against files in the same file system as the base file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FileName.isDescendent(FileName descendent,
NameScope nameScope)
Determines if another file name is a descendent of this file name.
|
FileObject |
FileObject.resolveFile(java.lang.String name,
NameScope scope)
Finds a file, relative to this file.
|
FileName |
FileSystemManager.resolveName(FileName root,
java.lang.String name,
NameScope scope)
Resolves a name, relative to the "root" file name.
|
Modifier and Type | Method and Description |
---|---|
FileObject |
OnCallRefreshFileObject.resolveFile(java.lang.String name,
NameScope scope) |
Modifier and Type | Method and Description |
---|---|
FileObject |
SynchronizedFileObject.resolveFile(java.lang.String name,
NameScope scope) |
FileObject |
DecoratedFileObject.resolveFile(java.lang.String name,
NameScope scope) |
FileName |
DefaultFileSystemManager.resolveName(FileName base,
java.lang.String name,
NameScope scope)
Resolves a name, relative to the root.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AbstractFileName.checkName(java.lang.String basePath,
java.lang.String path,
NameScope scope)
Checks whether a path fits in a particular scope of another path.
|
boolean |
AbstractFileName.isDescendent(FileName descendent,
NameScope scope)
Determines if another file name is a descendent of this file name.
|
FileObject |
AbstractFileObject.resolveFile(java.lang.String name,
NameScope scope)
Returns a child by name.
|