Uses of Class
com.google.common.jimfs.DirectoryEntry
-
Uses of DirectoryEntry in com.google.common.jimfs
Classes in com.google.common.jimfs that implement interfaces with type arguments of type DirectoryEntryFields in com.google.common.jimfs declared as DirectoryEntryModifier and TypeFieldDescriptionprivate DirectoryEntryDirectory.entryInParentThe entry linking to this directory in its parent directory.(package private) @Nullable DirectoryEntryDirectoryEntry.nextprivate DirectoryEntry[]Directory.tableMethods in com.google.common.jimfs that return DirectoryEntryModifier and TypeMethodDescriptionDirectory.entryInParent()Returns the entry linking to this directory in its parent.private @Nullable DirectoryEntryFileTree.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 DirectoryEntryReturns the entry for the given name in this table or null if no such entry exists.private @Nullable DirectoryEntryFileTree.getRealEntry(DirectoryEntry entry) Returns the entry for the file in its parent directory.@Nullable DirectoryEntryGets the directory entry for the root with the given name ornullif no such root exists.private DirectoryEntryFileSystemView.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 DirectoryEntryFileTree.lookUp(File dir, JimfsPath path, Set<? super LinkOption> options, int linkDepth) private @Nullable DirectoryEntryLooks up the given names against the given base file.(package private) DirectoryEntryJimfsFileStore.lookUp(File workingDirectory, JimfsPath path, Set<? super LinkOption> options) Looks up the file at the given path using the given link options.private @Nullable DirectoryEntryFileTree.lookUpLast(@Nullable File dir, Name name, Set<? super LinkOption> options, int linkDepth) Looks up the last element of a path.(package private) DirectoryEntryFileSystemView.lookUpWithLock(JimfsPath path, Set<? super LinkOption> options) Attempt to look up the file at the given path.(package private) DirectoryEntryRemoves 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 voidDirectory.addToBucket(int bucketIndex, DirectoryEntry[] table, DirectoryEntry entryToAdd) private voidFileSystemView.delete(DirectoryEntry entry, FileSystemView.DeleteMode deleteMode, JimfsPath pathForException) Deletes the given directory entry from its parent directory.private voidDirectory.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 DirectoryEntryFileTree.getRealEntry(DirectoryEntry entry) Returns the entry for the file in its parent directory.(package private) voidDirectory.linked(DirectoryEntry entry) (package private) voidFile.linked(DirectoryEntry entry) Called when this file has been linked in a directory.(package private) voidDirectory.put(DirectoryEntry entry) Adds the given entry to the directory.private voidDirectory.put(DirectoryEntry entry, boolean overwriteExisting) Adds the given entry to the directory.