Package | Description |
---|---|
org.apache.commons.vfs2 |
The public VFS API.
|
org.apache.commons.vfs2.cache |
VFS File caching
|
org.apache.commons.vfs2.impl |
The standard VFS implementation.
|
org.apache.commons.vfs2.provider |
The File Provider API, and utility classes.
|
Modifier and Type | Method | Description |
---|---|---|
static NameScope |
NameScope.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static NameScope[] |
NameScope.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | 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 | Description |
---|---|---|
FileObject |
OnCallRefreshFileObject.resolveFile(java.lang.String name,
NameScope scope) |
Modifier and Type | Method | Description |
---|---|---|
FileObject |
DecoratedFileObject.resolveFile(java.lang.String name,
NameScope scope) |
|
FileObject |
SynchronizedFileObject.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 | 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.
|