DirectoryEntry |
Directory.entryInParent() |
Returns the entry linking to this directory in its parent.
|
private @Nullable DirectoryEntry |
FileTree.followSymbolicLink(File dir,
SymbolicLink link,
int linkDepth) |
Returns the directory entry located by the target path of the given symbolic link, resolved
relative to the given directory.
|
@Nullable DirectoryEntry |
Directory.get(Name name) |
Returns the entry for the given name in this table or null if no such entry exists.
|
private @Nullable DirectoryEntry |
FileTree.getRealEntry(DirectoryEntry entry) |
Returns the entry for the file in its parent directory.
|
@Nullable DirectoryEntry |
FileTree.getRoot(Name name) |
Gets the directory entry for the root with the given name or null if no such root
exists.
|
private DirectoryEntry |
FileSystemView.lookUp(JimfsPath path,
java.util.Set<? super java.nio.file.LinkOption> options) |
Looks up the file at the given path without locking.
|
DirectoryEntry |
FileTree.lookUp(File workingDirectory,
JimfsPath path,
java.util.Set<? super java.nio.file.LinkOption> options) |
Returns the result of the file lookup for the given path.
|
private @Nullable DirectoryEntry |
FileTree.lookUp(File dir,
JimfsPath path,
java.util.Set<? super java.nio.file.LinkOption> options,
int linkDepth) |
|
private @Nullable DirectoryEntry |
FileTree.lookUp(File dir,
java.lang.Iterable<Name> names,
java.util.Set<? super java.nio.file.LinkOption> options,
int linkDepth) |
Looks up the given names against the given base file.
|
(package private) DirectoryEntry |
JimfsFileStore.lookUp(File workingDirectory,
JimfsPath path,
java.util.Set<? super java.nio.file.LinkOption> options) |
Looks up the file at the given path using the given link options.
|
private @Nullable DirectoryEntry |
FileTree.lookUpLast(@Nullable File dir,
Name name,
java.util.Set<? super java.nio.file.LinkOption> options,
int linkDepth) |
Looks up the last element of a path.
|
(package private) DirectoryEntry |
FileSystemView.lookUpWithLock(JimfsPath path,
java.util.Set<? super java.nio.file.LinkOption> options) |
Attempt to look up the file at the given path.
|
(package private) DirectoryEntry |
Directory.remove(Name name) |
Removes and returns the entry for the given name from the directory.
|
DirectoryEntry |
DirectoryEntry.requireDirectory(java.nio.file.Path pathForException) |
Checks that this entry exists and links to a directory, throwing an exception if not.
|
DirectoryEntry |
DirectoryEntry.requireDoesNotExist(java.nio.file.Path pathForException) |
Checks that this entry does not exist, throwing an exception if it does.
|
DirectoryEntry |
DirectoryEntry.requireExists(java.nio.file.Path pathForException) |
Checks that this entry exists, throwing an exception if not.
|
DirectoryEntry |
DirectoryEntry.requireSymbolicLink(java.nio.file.Path pathForException) |
Checks that this entry exists and links to a symbolic link, throwing an exception if not.
|