Uses of Class
io.roastedroot.zerofs.Directory
-
Uses of Directory in io.roastedroot.zerofs
Fields in io.roastedroot.zerofs declared as DirectoryModifier and TypeFieldDescriptionprivate final DirectoryDirectoryEntry.directoryprivate final DirectoryFileSystemView.workingDirectoryFields in io.roastedroot.zerofs with type parameters of type DirectoryModifier and TypeFieldDescriptionFileFactory.directorySupplierFileTree.rootsMap of root names to root directories.Methods in io.roastedroot.zerofs that return DirectoryModifier and TypeMethodDescription(package private) DirectoryDirectory.copyWithoutContent(int id, FileTime creationTime) Creates a copy of this directory.static DirectoryCreates a new normal directory with the given ID and creation time.FileFactory.createDirectory()Creates a new directory.FileSystemView.createDirectory(ZeroFsPath path, FileAttribute<?>... attrs) Creates a new directory at the given path.static DirectoryDirectory.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) DirectoryReturns the root directory with the given name ornullif no such directory exists.Directory.parent()Returns the parent of this directory.private DirectoryFileTree.toDirectory(File file) Methods in io.roastedroot.zerofs that return types with arguments of type DirectoryModifier and TypeMethodDescriptionFileFactory.directoryCreator()Returns a supplier that creates directories.ZeroFsFileStore.directoryCreator()Returns a supplier that creates a new directory.Methods in io.roastedroot.zerofs with parameters of type DirectoryModifier and TypeMethodDescriptionprivate voidFileSystemView.checkEmpty(Directory dir, Path pathForException) Checks that given directory is empty, throwingDirectoryNotEmptyExceptionif not.private voidFileSystemView.checkNotAncestor(File source, Directory destParent, FileSystemView destView) Checks that source is not an ancestor of dest, throwing an exception if it is.Constructors in io.roastedroot.zerofs with parameters of type DirectoryModifierConstructorDescription(package private)DirectoryEntry(Directory directory, Name name, File file) FileSystemView(ZeroFsFileStore store, Directory workingDirectory, ZeroFsPath workingDirectoryPath) Creates a new file system view.Constructor parameters in io.roastedroot.zerofs with type arguments of type Directory