Uses of Class
io.roastedroot.zerofs.Name
-
Uses of Name in io.roastedroot.zerofs
Fields in io.roastedroot.zerofs declared as NameModifier and TypeFieldDescription(package private) static final NameName.EMPTYThe empty name.private final NameDirectoryEntry.namestatic final NameName.PARENTThe name to use for a link from a directory to its parent directory.private final NameZeroFsPath.rootstatic final NameName.SELFThe name to use for a link from a directory to itself.Fields in io.roastedroot.zerofs with type parameters of type NameModifier and TypeFieldDescriptionprivate static final Comparator<Name> Name.CANONICAL_COMPARATORprivate static final Comparator<Iterable<Name>> PathService.CANONICAL_NAMES_COMPARATORprivate static final Comparator<Name> PathService.CANONICAL_ROOT_COMPARATORprivate static final Comparator<Name> Name.DISPLAY_COMPARATORprivate static final Comparator<Iterable<Name>> PathService.DISPLAY_NAMES_COMPARATORprivate static final Comparator<Name> PathService.DISPLAY_ROOT_COMPARATORFileTree.EMPTY_PATH_NAMESZeroFsSecureDirectoryStream.DirectoryIterator.fileNamesPollingWatchService.Snapshot.modifiedTimesMaps directory entry names to last modified times.ZeroFsPath.namesprivate final Comparator<Iterable<Name>> PathService.namesComparatorprivate final Comparator<Name> PathService.rootComparatorFileTree.rootsMap of root names to root directories.Methods in io.roastedroot.zerofs that return NameModifier and TypeMethodDescriptionprivate static NameDirectory.checkNotReserved(Name name, String action) Checks that the given name is not "." or "..".static NameCreates a name with the given display representation and the given canonical representation.DirectoryEntry.name()Returns the name of this entry.Returns theNameform of the given string.ZeroFsPath.name()Returns the file name of this path.ZeroFsPath.root()Returns the root name, or null if there is no root.static NameCreates a new name with no normalization done on the given string.Methods in io.roastedroot.zerofs that return types with arguments of type NameModifier and TypeMethodDescription(package private) static Comparator<Name> Name.canonicalComparator()Returns a comparator that orders names by their canonical representation.(package private) static Comparator<Name> Name.displayComparator()Returns a comparator that orders names by their display representation.FileTree.getRootDirectoryNames()Returns the names of the root directories in this tree.ZeroFsFileStore.getRootDirectoryNames()Returns the names of the root directories in this store.Returns theNameforms of the given strings.ZeroFsPath.names()Returns the list of name elements.Directory.snapshot()Creates an immutable sorted snapshot of the names this directory contains, excluding "." and "..".FileSystemView.snapshotModifiedTimes(ZeroFsPath path) Returns a snapshot mapping the names of each file in the directory at the given path to the last modified time of that file.FileSystemView.snapshotWorkingDirectoryEntries()Snapshots the entries of the working directory of this view.Methods in io.roastedroot.zerofs with parameters of type NameModifier and TypeMethodDescriptionprivate static intDirectory.bucketIndex(Name name, int tableLength) Returns the index of the bucket in the array where an entry for the given name should go.private static NameDirectory.checkNotReserved(Name name, String action) Checks that the given name is not "." or "..".PathService.createFileName(Name name) Returns a single filename path with the given name.PathService.createPath(Name root, Iterable<Name> names) Returns a path with the given root (or no root, if null) and the given names.protected final ZeroFsPathPathService.createPathInternal(Name root, Iterable<Name> names) Returns a path with the given root (or no root, if null) and the given names.static DirectoryDirectory.createRoot(int id, FileTime creationTime, Name name) Creates a new root directory with the given ID, creation time, and name.PathService.createRoot(Name root) Returns a root path with the given name.FileFactory.createRootDirectory(Name name) Creates a new root directory with the given name.Returns the entry for the given name in this table or null if no such entry exists.Gets the directory entry for the root with the given name ornullif no such root exists.(package private) DirectoryReturns the root directory with the given name ornullif no such directory exists.private static booleanDirectory.isReserved(Name name) Returns true if the given name is "." or "..".voidLinks the given name to the given file in this directory.private DirectoryEntryFileTree.lookUpLast(File dir, Name name, Set<? super LinkOption> options, int linkDepth) Looks up the last element of a path.(package private) DirectoryEntryRemoves and returns the entry for the given name from the directory.(package private) ZeroFsPathResolves the given name against this path.voidUnlinks the given name from the file it is linked to.Method parameters in io.roastedroot.zerofs with type arguments of type NameModifier and TypeMethodDescriptionPathService.createPath(Name root, Iterable<Name> names) Returns a path with the given root (or no root, if null) and the given names.protected final ZeroFsPathPathService.createPathInternal(Name root, Iterable<Name> names) Returns a path with the given root (or no root, if null) and the given names.PathService.createRelativePath(Iterable<Name> names) Returns a relative path with the given names.private static booleanprivate DirectoryEntryLooks up the given names against the given base file.static String[]Constructors in io.roastedroot.zerofs with parameters of type NameModifierConstructorDescriptionprivate(package private)DirectoryEntry(Directory directory, Name name, File file) ZeroFsPath(PathService pathService, Name root, Name... names) ZeroFsPath(PathService pathService, Name root, List<Name> names) Constructor parameters in io.roastedroot.zerofs with type arguments of type Name