Uses of Class
io.roastedroot.zerofs.Directory
-
-
Uses of Directory in io.roastedroot.zerofs
Fields in io.roastedroot.zerofs declared as Directory Modifier and Type Field Description private DirectoryDirectoryEntry. directoryprivate DirectoryFileSystemView. workingDirectoryFields in io.roastedroot.zerofs with type parameters of type Directory Modifier and Type Field Description private java.util.function.Supplier<Directory>FileFactory. directorySupplierprivate java.util.SortedMap<Name,Directory>FileTree. rootsMap of root names to root directories.Methods in io.roastedroot.zerofs that return Directory Modifier and Type Method Description (package private) DirectoryDirectory. copyWithoutContent(int id, java.nio.file.attribute.FileTime creationTime)Creates a copy of this directory.static DirectoryDirectory. create(int id, java.nio.file.attribute.FileTime creationTime)Creates a new normal directory with the given ID and creation time.DirectoryFileFactory. createDirectory()Creates a new directory.DirectoryFileSystemView. createDirectory(ZeroFsPath path, java.nio.file.attribute.FileAttribute<?>... attrs)Creates a new directory at the given path.static DirectoryDirectory. createRoot(int id, java.nio.file.attribute.FileTime creationTime, Name name)Creates a new root directory with the given ID, creation time, and name.DirectoryFileFactory. createRootDirectory(Name name)Creates a new root directory with the given name.DirectoryDirectoryEntry. directory()Returns the directory containing this entry.DirectoryFileFactory.DirectorySupplier. get()(package private) DirectoryZeroFsFileStore. getRoot(Name name)Returns the root directory with the given name ornullif no such directory exists.DirectoryDirectory. parent()Returns the parent of this directory.private DirectoryFileTree. toDirectory(File file)Methods in io.roastedroot.zerofs that return types with arguments of type Directory Modifier and Type Method Description java.util.function.Supplier<Directory>FileFactory. directoryCreator()Returns a supplier that creates directories.(package private) java.util.function.Supplier<Directory>ZeroFsFileStore. directoryCreator()Returns a supplier that creates a new directory.Methods in io.roastedroot.zerofs with parameters of type Directory Modifier and Type Method Description private voidFileSystemView. checkEmpty(Directory dir, java.nio.file.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 Directory Constructor Description 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 Constructor Description FileTree(java.util.Map<Name,Directory> roots)Creates a new file tree with the given root directories.
-