Uses of Class
com.google.common.jimfs.DirectoryEntry
-
Uses of DirectoryEntry in com.google.common.jimfs
Fields in com.google.common.jimfs declared as DirectoryEntryModifier and TypeFieldDescriptionprivate DirectoryEntry
Directory.entryInParent
The entry linking to this directory in its parent directory.(package private) @Nullable DirectoryEntry
DirectoryEntry.next
private DirectoryEntry[]
Directory.table
Methods in com.google.common.jimfs that return DirectoryEntryModifier and TypeMethodDescriptionDirectory.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
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
Gets the directory entry for the root with the given name ornull
if no such root exists.private DirectoryEntry
FileSystemView.lookUp
(JimfsPath path, Set<? super LinkOption> options) Looks up the file at the given path without locking.FileTree.lookUp
(File workingDirectory, JimfsPath path, Set<? super LinkOption> options) Returns the result of the file lookup for the given path.private @Nullable DirectoryEntry
FileTree.lookUp
(File dir, JimfsPath path, Set<? super LinkOption> options, int linkDepth) private @Nullable DirectoryEntry
Looks up the given names against the given base file.(package private) DirectoryEntry
JimfsFileStore.lookUp
(File workingDirectory, JimfsPath path, Set<? super 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, Set<? super LinkOption> options, int linkDepth) Looks up the last element of a path.(package private) DirectoryEntry
FileSystemView.lookUpWithLock
(JimfsPath path, Set<? super LinkOption> options) Attempt to look up the file at the given path.(package private) DirectoryEntry
Removes and returns the entry for the given name from the directory.DirectoryEntry.requireDirectory
(Path pathForException) Checks that this entry exists and links to a directory, throwing an exception if not.DirectoryEntry.requireDoesNotExist
(Path pathForException) Checks that this entry does not exist, throwing an exception if it does.DirectoryEntry.requireExists
(Path pathForException) Checks that this entry exists, throwing an exception if not.DirectoryEntry.requireSymbolicLink
(Path pathForException) Checks that this entry exists and links to a symbolic link, throwing an exception if not.Methods in com.google.common.jimfs that return types with arguments of type DirectoryEntryMethods in com.google.common.jimfs with parameters of type DirectoryEntryModifier and TypeMethodDescriptionprivate static void
Directory.addToBucket
(int bucketIndex, DirectoryEntry[] table, DirectoryEntry entryToAdd) private void
FileSystemView.delete
(DirectoryEntry entry, FileSystemView.DeleteMode deleteMode, JimfsPath pathForException) Deletes the given directory entry from its parent directory.private void
Directory.forcePut
(DirectoryEntry entry) Adds the given entry to the directory, overwriting an existing entry with the same name if such an entry exists.private @Nullable DirectoryEntry
FileTree.getRealEntry
(DirectoryEntry entry) Returns the entry for the file in its parent directory.(package private) void
Directory.linked
(DirectoryEntry entry) (package private) void
File.linked
(DirectoryEntry entry) Called when this file has been linked in a directory.(package private) void
Directory.put
(DirectoryEntry entry) Adds the given entry to the directory.private void
Directory.put
(DirectoryEntry entry, boolean overwriteExisting) Adds the given entry to the directory.