Uses of Class
com.google.common.jimfs.Directory
-
Uses of Directory in com.google.common.jimfs
Fields in com.google.common.jimfs declared as DirectoryModifier and TypeFieldDescriptionprivate final Directory
DirectoryEntry.directory
private final Directory
FileSystemView.workingDirectory
Fields in com.google.common.jimfs with type parameters of type DirectoryModifier and TypeFieldDescriptionprivate final com.google.common.base.Supplier
<Directory> FileFactory.directorySupplier
FileTree.roots
Map of root names to root directories.Methods in com.google.common.jimfs that return DirectoryModifier and TypeMethodDescription(package private) Directory
Directory.copyWithoutContent
(int id, FileTime creationTime) Creates a copy of this directory.static Directory
Creates a new normal directory with the given ID and creation time.FileFactory.createDirectory()
Creates a new directory.FileSystemView.createDirectory
(JimfsPath path, FileAttribute<?>... attrs) Creates a new directory at the given path.static Directory
Directory.createRoot
(int id, FileTime creationTime, Name name) Creates a new root directory with the given ID, creation time, and name.FileFactory.createRootDirectory
(Name name) Creates a new root directory with the given name.DirectoryEntry.directory()
Returns the directory containing this entry.FileFactory.DirectorySupplier.get()
(package private) @Nullable Directory
Returns the root directory with the given name ornull
if no such directory exists.Directory.parent()
Returns the parent of this directory.private @Nullable Directory
FileTree.toDirectory
(@Nullable File file) Methods in com.google.common.jimfs that return types with arguments of type DirectoryModifier and TypeMethodDescriptioncom.google.common.base.Supplier
<Directory> FileFactory.directoryCreator()
Returns a supplier that creates directories.(package private) com.google.common.base.Supplier
<Directory> JimfsFileStore.directoryCreator()
Returns a supplier that creates a new directory.Methods in com.google.common.jimfs with parameters of type DirectoryModifier and TypeMethodDescriptionprivate void
FileSystemView.checkEmpty
(Directory dir, Path pathForException) Checks that given directory is empty, throwingDirectoryNotEmptyException
if not.private void
FileSystemView.checkNotAncestor
(File source, Directory destParent, FileSystemView destView) Checks that source is not an ancestor of dest, throwing an exception if it is.Constructors in com.google.common.jimfs with parameters of type DirectoryModifierConstructorDescription(package private)
DirectoryEntry
(Directory directory, Name name, @Nullable File file) FileSystemView
(JimfsFileStore store, Directory workingDirectory, JimfsPath workingDirectoryPath) Creates a new file system view.Constructor parameters in com.google.common.jimfs with type arguments of type Directory