A B C D E F G H I J K L M N O P Q R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractAttributeView - Class in io.roastedroot.zerofs
-
Abstract base class for
FileAttributeViewimplementations. - AbstractAttributeView(FileLookup) - Constructor for class io.roastedroot.zerofs.AbstractAttributeView
- AbstractWatchService - Class in io.roastedroot.zerofs
-
Abstract implementation of
WatchService. - AbstractWatchService() - Constructor for class io.roastedroot.zerofs.AbstractWatchService
- AbstractWatchService.Event<T> - Class in io.roastedroot.zerofs
-
A basic implementation of
WatchEvent. - AbstractWatchService.Key - Class in io.roastedroot.zerofs
-
Implementation of
WatchKeyfor anAbstractWatchService. - AbstractWatchService.Key.State - Enum in io.roastedroot.zerofs
- AclAttributeProvider - Class in io.roastedroot.zerofs
-
Attribute provider that provides the
AclFileAttributeView("acl"). - AclAttributeProvider() - Constructor for class io.roastedroot.zerofs.AclAttributeProvider
- AclAttributeProvider.View - Class in io.roastedroot.zerofs
-
Implementation of
AclFileAttributeView. - addAttributeProvider(AttributeProvider) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Adds an attribute provider for a custom view for the file system to support.
- addBlock(byte[]) - Method in class io.roastedroot.zerofs.RegularFile
-
Adds the given block to the end of this file.
- addCallback(CompletableFuture<R>, CompletionHandler<R, ? super A>, A) - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- addMissingProviders(Map<String, AttributeProvider>) - Static method in class io.roastedroot.zerofs.AttributeService
- addStandardProvider(Map<String, AttributeProvider>, String) - Static method in class io.roastedroot.zerofs.AttributeService
- addToBucket(int, DirectoryEntry[], DirectoryEntry) - Static method in class io.roastedroot.zerofs.Directory
- addWrite(Collection<? extends OpenOption>) - Static method in class io.roastedroot.zerofs.Options
-
Returns an
Setcopy of the givenoptions, addingStandardOpenOption#WRITEif it isn't already present. - ALL - io.roastedroot.zerofs.AttributeCopyOption
-
Copy all attributes on the file.
- ALL_ATTRIBUTES - Static variable in class io.roastedroot.zerofs.AttributeService
- allocate(RegularFile, int) - Method in class io.roastedroot.zerofs.HeapDisk
-
Allocates the given number of blocks and adds them to the given file.
- allocatedBlockCount - Variable in class io.roastedroot.zerofs.HeapDisk
-
The current total number of blocks that are currently allocated to files.
- allowsMultipleRoots - Variable in class io.roastedroot.zerofs.PathType
- allowsMultipleRoots() - Method in class io.roastedroot.zerofs.PathType
-
Returns whether or not this type of path allows multiple root directories.
- ALWAYS_TRUE_FILTER - Static variable in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
-
A stream filter that always returns true.
- ANY - io.roastedroot.zerofs.FileSystemView.DeleteMode
-
Delete any file.
- anyOf(String) - Static method in class io.roastedroot.zerofs.InternalCharMatcher
- append - Variable in class io.roastedroot.zerofs.ZeroFsFileChannel
- append - Variable in class io.roastedroot.zerofs.ZeroFsOutputStream
- append(char) - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form of the given normal character or separator from the glob.
- appendBracketEnd() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form of the end of a glob [] section.
- appendBracketStart() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form of the start of a glob [] section.
- appendCurlyBraceEnd() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form of the end of a glob {} section.
- appendCurlyBraceStart() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form of the start of a glob {} section.
- appendExact(char) - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the given character as-is to the regex.
- appendInBracket(char) - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form of the given character within a glob [] section.
- appendNonSeparator() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form that matches anything except the separators for the path type.
- appendNormal(char) - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form of the given normal character from the glob.
- appendQuestionMark() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form of the glob ? character.
- appendSeparator() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form matching the separators for the path type.
- appendStar() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form of the glob * character.
- appendStarStar() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form of the glob ** pattern.
- appendSubpatternSeparator() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Appends the regex form of the separator (,) within a glob {} section.
- appendToRegex(char, StringBuilder) - Static method in class io.roastedroot.zerofs.PathType
- apply(String) - Method in enum io.roastedroot.zerofs.PathNormalization
-
Applies this normalization to the given string, returning the normalized result.
- archive - Variable in class io.roastedroot.zerofs.DosAttributeProvider.Attributes
- ARRAY_LEN - Static variable in class io.roastedroot.zerofs.Util
- asAsynchronousFileChannel(ExecutorService) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
-
Returns an
AsynchronousFileChannelview of this channel using the given executor for asynchronous operations. - asList() - Method in class io.roastedroot.zerofs.ZeroFsPath
- ATTRIBUTE_PATTERN - Static variable in class io.roastedroot.zerofs.Configuration.Builder
- ATTRIBUTE_SPLITTER - Static variable in class io.roastedroot.zerofs.AttributeService
- AttributeCopyOption - Enum in io.roastedroot.zerofs
-
Options for how to handle copying of file attributes when copying a file.
- AttributeCopyOption() - Constructor for enum io.roastedroot.zerofs.AttributeCopyOption
- AttributeProvider - Class in io.roastedroot.zerofs
-
Abstract provider for handling a specific file attribute view.
- AttributeProvider() - Constructor for class io.roastedroot.zerofs.AttributeProvider
- attributeProviders - Variable in class io.roastedroot.zerofs.Configuration
- attributeProviders - Variable in class io.roastedroot.zerofs.Configuration.Builder
- attributes - Variable in class io.roastedroot.zerofs.File
- attributes - Variable in class io.roastedroot.zerofs.ZeroFsFileStore
- attributes(File) - Method in class io.roastedroot.zerofs.AttributeProvider
-
Returns the set of attributes supported by this view that are present in the given file.
- attributes(File) - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider
- Attributes(File) - Constructor for class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- Attributes(File) - Constructor for class io.roastedroot.zerofs.DosAttributeProvider.Attributes
- Attributes(File) - Constructor for class io.roastedroot.zerofs.PosixAttributeProvider.Attributes
- ATTRIBUTES - Static variable in class io.roastedroot.zerofs.AclAttributeProvider
- ATTRIBUTES - Static variable in class io.roastedroot.zerofs.BasicAttributeProvider
- ATTRIBUTES - Static variable in class io.roastedroot.zerofs.DosAttributeProvider
- ATTRIBUTES - Static variable in class io.roastedroot.zerofs.OwnerAttributeProvider
- ATTRIBUTES - Static variable in class io.roastedroot.zerofs.PosixAttributeProvider
- ATTRIBUTES - Static variable in class io.roastedroot.zerofs.UnixAttributeProvider
- AttributeService - Class in io.roastedroot.zerofs
-
Service providing all attribute related operations for a file store.
- AttributeService(Configuration) - Constructor for class io.roastedroot.zerofs.AttributeService
-
Creates a new attribute service using the given configuration.
- AttributeService(Iterable<? extends AttributeProvider>, Map<String, ?>) - Constructor for class io.roastedroot.zerofs.AttributeService
-
Creates a new attribute service using the given providers and user provided default attribute values.
- AttributeService.SimpleFileAttribute<T> - Class in io.roastedroot.zerofs
-
Simple implementation of
FileAttribute. - attributesType() - Method in class io.roastedroot.zerofs.AttributeProvider
-
Returns the type of file attributes object this provider supports, or null if it doesn't support reading its attributes as an object.
- attributesType() - Method in class io.roastedroot.zerofs.BasicAttributeProvider
- attributesType() - Method in class io.roastedroot.zerofs.DosAttributeProvider
- attributesType() - Method in class io.roastedroot.zerofs.PosixAttributeProvider
- attributeViews - Variable in class io.roastedroot.zerofs.Configuration
- attributeViews - Variable in class io.roastedroot.zerofs.Configuration.Builder
- available() - Method in class io.roastedroot.zerofs.ZeroFsInputStream
B
- BASIC - io.roastedroot.zerofs.AttributeCopyOption
-
Copy only the basic attributes (file times) of the file.
- BasicAttributeProvider - Class in io.roastedroot.zerofs
-
Attribute provider that provides attributes common to all file systems, the
BasicFileAttributeView("basic" or no view prefix), and allows the reading ofBasicFileAttributes. - BasicAttributeProvider() - Constructor for class io.roastedroot.zerofs.BasicAttributeProvider
- BasicAttributeProvider.Attributes - Class in io.roastedroot.zerofs
-
Implementation of
BasicFileAttributes. - BasicAttributeProvider.View - Class in io.roastedroot.zerofs
-
Implementation of
BasicFileAttributeView. - BasicFileAttribute<T> - Class in io.roastedroot.zerofs
- BasicFileAttribute(String, T) - Constructor for class io.roastedroot.zerofs.BasicFileAttribute
- basicView - Variable in class io.roastedroot.zerofs.DosAttributeProvider.View
- basicView - Variable in class io.roastedroot.zerofs.PosixAttributeProvider.View
- beginBlocking() - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
-
Begins a blocking operation, making the operation interruptible.
- blockCache - Variable in class io.roastedroot.zerofs.HeapDisk
-
Cache of free blocks to be allocated to files.
- blockCount - Variable in class io.roastedroot.zerofs.RegularFile
-
Block count for the the file, which also acts as the head of the block list.
- blockCount() - Method in class io.roastedroot.zerofs.RegularFile
-
Returns the number of blocks this file contains.
- blockForWrite(int) - Method in class io.roastedroot.zerofs.RegularFile
-
Gets the block at the given index, expanding to create the block if necessary.
- blockIndex(long) - Method in class io.roastedroot.zerofs.RegularFile
- blockingThreads - Variable in class io.roastedroot.zerofs.ZeroFsFileChannel
-
Set of threads that are currently doing an interruptible blocking operation; that is, doing something that requires acquiring the file's lock.
- blocks - Variable in class io.roastedroot.zerofs.RegularFile
-
Block list for the file.
- blockSize - Variable in class io.roastedroot.zerofs.Configuration
- blockSize - Variable in class io.roastedroot.zerofs.Configuration.Builder
- blockSize - Variable in class io.roastedroot.zerofs.HeapDisk
-
Fixed size of each block for this disk.
- blockSize() - Method in class io.roastedroot.zerofs.HeapDisk
-
Returns the size of blocks created by this disk.
- BRACKET - Static variable in class io.roastedroot.zerofs.GlobToRegex
-
State inside [brackets], but not at the first character inside the brackets.
- BRACKET_FIRST_CHAR - Static variable in class io.roastedroot.zerofs.GlobToRegex
-
State immediately following the reading of a [.
- bucketIndex(Name, int) - Static method in class io.roastedroot.zerofs.Directory
-
Returns the index of the bucket in the array where an entry for the given name should go.
- build() - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Creates a new immutable configuration object from this builder.
- builder - Variable in class io.roastedroot.zerofs.GlobToRegex
- builder(PathType) - Static method in class io.roastedroot.zerofs.Configuration
-
Creates a new mutable
Configurationbuilder using the given path type. - Builder(Configuration) - Constructor for class io.roastedroot.zerofs.Configuration.Builder
- Builder(PathType) - Constructor for class io.roastedroot.zerofs.Configuration.Builder
- bytesToRead(long, long) - Method in class io.roastedroot.zerofs.RegularFile
-
Returns the number of bytes that can be read starting at position
pos(up to a maximum ofmax) or -1 ifposis greater than or equal to the current size.
C
- C1 - Static variable in class io.roastedroot.zerofs.Util
- C2 - Static variable in class io.roastedroot.zerofs.Util
- cancel() - Method in class io.roastedroot.zerofs.AbstractWatchService.Key
- cancelled(AbstractWatchService.Key) - Method in class io.roastedroot.zerofs.AbstractWatchService
-
Called when the given key is cancelled.
- cancelled(AbstractWatchService.Key) - Method in class io.roastedroot.zerofs.PollingWatchService
- canonical - Variable in class io.roastedroot.zerofs.Name
- CANONICAL_COMPARATOR - Static variable in class io.roastedroot.zerofs.Name
- CANONICAL_NAMES_COMPARATOR - Static variable in class io.roastedroot.zerofs.PathService
- CANONICAL_ROOT_COMPARATOR - Static variable in class io.roastedroot.zerofs.PathService
- canonicalComparator() - Static method in class io.roastedroot.zerofs.Name
-
Returns a comparator that orders names by their canonical representation.
- canonicalNormalizations - Variable in class io.roastedroot.zerofs.PathService
- CASE_FOLD_ASCII - io.roastedroot.zerofs.PathNormalization
-
ASCII case folding for simple case insensitive paths.
- CASE_FOLD_UNICODE - io.roastedroot.zerofs.PathNormalization
-
Deprecated.
- CASE_MASK - Static variable in class io.roastedroot.zerofs.Util
- channel - Variable in class io.roastedroot.zerofs.DowngradedSeekableByteChannel
- channel - Variable in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- chars - Variable in class io.roastedroot.zerofs.InternalCharMatcher
- check(WatchKey) - Method in class io.roastedroot.zerofs.AbstractWatchService
-
Returns the given key, throwing an exception if it's the poison.
- checkAccess(ZeroFsPath) - Method in class io.roastedroot.zerofs.FileSystemView
-
Checks access to the file at the given path for the given modes.
- checkAccess(Path, AccessMode...) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- checkAccess(Path, AccessMode...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- checkDeletable(File, FileSystemView.DeleteMode, Path) - Method in class io.roastedroot.zerofs.FileSystemView
-
Checks that the given file can be deleted, throwing an exception if it can't.
- checkEmpty(Directory, Path) - Method in class io.roastedroot.zerofs.FileSystemView
-
Checks that given directory is empty, throwing
DirectoryNotEmptyExceptionif not. - checkLockArguments(long, long, boolean) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- checkMovable(File, ZeroFsPath) - Method in class io.roastedroot.zerofs.FileSystemView
- checkNoneNull(Iterable<?>) - Static method in class io.roastedroot.zerofs.Util
-
Checks that no element in the given iterable is null, throwing NPE if any is.
- checkNormalizationNotSet(PathNormalization, PathNormalization) - Static method in class io.roastedroot.zerofs.Configuration.Builder
- checkNormalizations(List<PathNormalization>) - Method in class io.roastedroot.zerofs.Configuration.Builder
- checkNotAncestor(File, Directory, FileSystemView) - Method in class io.roastedroot.zerofs.FileSystemView
-
Checks that source is not an ancestor of dest, throwing an exception if it is.
- checkNotClosed() - Method in class io.roastedroot.zerofs.ZeroFsInputStream
- checkNotClosed() - Method in class io.roastedroot.zerofs.ZeroFsOutputStream
- checkNotCreate(String, String, boolean) - Static method in class io.roastedroot.zerofs.AttributeProvider
-
Checks that the attribute is not being set by the user on file creation, throwing an unsupported operation exception if it is.
- checkNotNegative(long, String) - Static method in class io.roastedroot.zerofs.Util
-
Checks that the given number is not negative, throwing IAE if it is.
- checkNotReserved(Name, String) - Static method in class io.roastedroot.zerofs.Directory
-
Checks that the given name is not "." or "..".
- checkOpen() - Method in class io.roastedroot.zerofs.AbstractWatchService
-
Checks that the watch service is open, throwing
ClosedWatchServiceExceptionif not. - checkOpen() - Method in class io.roastedroot.zerofs.FileSystemState
-
Checks that the file system is open, throwing
ClosedFileSystemExceptionif it is not. - checkOpen() - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- checkOpen() - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- checkPath(Path) - Static method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- checkPath(Path) - Method in class io.roastedroot.zerofs.ZeroFsPath
- checkPath(Path) - Static method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- checkReadable() - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- checkType(String, String, Object, Class<T>) - Static method in class io.roastedroot.zerofs.AttributeProvider
-
Checks that the given value is of the given type, returning the value if so and throwing an exception if not.
- checkValid(String) - Static method in class io.roastedroot.zerofs.UnixPathType
- checkWatchable(Watchable) - Method in class io.roastedroot.zerofs.PollingWatchService
- checkWritable() - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- clear() - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- clear(byte[][], int, int) - Static method in class io.roastedroot.zerofs.Util
-
Clears (sets to null) all blocks between off (inclusive) and off + len (exclusive) in the given array.
- close() - Method in class io.roastedroot.zerofs.AbstractWatchService
- close() - Method in class io.roastedroot.zerofs.DowngradedDirectoryStream
- close() - Method in class io.roastedroot.zerofs.DowngradedSeekableByteChannel
- close() - Method in class io.roastedroot.zerofs.FileSystemState
-
Closes the file system, runs the
onClosecallback and closes all registered resources. - close() - Method in class io.roastedroot.zerofs.PollingWatchService
- close() - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- close() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
- close() - Method in class io.roastedroot.zerofs.ZeroFsInputStream
- close() - Method in class io.roastedroot.zerofs.ZeroFsOutputStream
- close() - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- closed() - Method in class io.roastedroot.zerofs.File
-
Called when a stream or channel to this file is closed.
- closed() - Method in class io.roastedroot.zerofs.RegularFile
- closedChannelFuture() - Static method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
-
Immediate future indicating that the channel is closed.
- compare(ZeroFsPath, ZeroFsPath) - Method in class io.roastedroot.zerofs.PathService
- compare(Iterable<T>, Iterable<T>) - Method in class io.roastedroot.zerofs.LexicographicalOrdering
- compareTo(Path) - Method in class io.roastedroot.zerofs.ZeroFsPath
- compilePattern(String, Iterable<PathNormalization>) - Static method in enum io.roastedroot.zerofs.PathNormalization
-
Compiles a regex pattern using flags based on the given normalizations.
- CompletableListeningExecutor(ExecutorService) - Constructor for class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel.CompletableListeningExecutor
- Configuration - Class in io.roastedroot.zerofs
-
Immutable configuration for an in-memory file system.
- Configuration(Configuration.Builder) - Constructor for class io.roastedroot.zerofs.Configuration
-
Creates an immutable configuration object from the given builder.
- Configuration.Builder - Class in io.roastedroot.zerofs
-
Mutable builder for
Configurationobjects. - Configuration.OsxHolder - Class in io.roastedroot.zerofs
- Configuration.UnixHolder - Class in io.roastedroot.zerofs
- Configuration.WindowsHolder - Class in io.roastedroot.zerofs
- connect() - Method in class io.roastedroot.zerofs.PathURLConnection
- containsKey(Object) - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- containsValue(Object) - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- contentLock() - Method in class io.roastedroot.zerofs.File
-
Returns the read-write lock for this file's content, or
nullif there is no content lock. - contentLock() - Method in class io.roastedroot.zerofs.RegularFile
- context - Variable in class io.roastedroot.zerofs.AbstractWatchService.Event
- context() - Method in class io.roastedroot.zerofs.AbstractWatchService.Event
- convert() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Converts the glob to a regex one character at a time.
- copy(ZeroFsPath, FileSystemView, ZeroFsPath, Set<CopyOption>, boolean) - Method in class io.roastedroot.zerofs.FileSystemView
-
Copies or moves the file at the given source path to the given dest path.
- copy(Path, Path, CopyOption...) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- copy(Path, Path, CopyOption...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- copy(Path, Path, Set<CopyOption>, boolean) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- copyAttributes(File) - Method in class io.roastedroot.zerofs.File
-
Copies the attributes from this file to the given file.
- copyAttributes(File, File, AttributeCopyOption) - Method in class io.roastedroot.zerofs.AttributeService
-
Copies the attributes of the given file to the given copy file.
- copyBasicAttributes(File) - Method in class io.roastedroot.zerofs.File
-
Copies basic attributes (file times) from this file to the given file.
- copyBlocksTo(RegularFile, int) - Method in class io.roastedroot.zerofs.RegularFile
-
Copies the last
countblocks from this file to the end of the given target file. - copyContentTo(File) - Method in class io.roastedroot.zerofs.File
-
Copies the content of this file to the given file.
- copyContentTo(File) - Method in class io.roastedroot.zerofs.RegularFile
- copyWithoutContent(int, FileTime) - Method in class io.roastedroot.zerofs.Directory
-
Creates a copy of this directory.
- copyWithoutContent(int, FileTime) - Method in class io.roastedroot.zerofs.File
-
Creates a new file of the same type as this file with the given ID and creation time.
- copyWithoutContent(int, FileTime) - Method in class io.roastedroot.zerofs.RegularFile
- copyWithoutContent(int, FileTime) - Method in class io.roastedroot.zerofs.SymbolicLink
- copyWithoutContent(File) - Method in class io.roastedroot.zerofs.FileFactory
-
Creates and returns a copy of the given file.
- copyWithoutContent(File, AttributeCopyOption) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Creates a copy of the given file, copying its attributes as well according to the given
attributeCopyOption. - count - Variable in class io.roastedroot.zerofs.AbstractWatchService.Event
- count - Variable in class io.roastedroot.zerofs.PollingWatchService.ZeroFsThreadFactory
- count() - Method in class io.roastedroot.zerofs.AbstractWatchService.Event
- create(int, FileTime) - Static method in class io.roastedroot.zerofs.Directory
-
Creates a new normal directory with the given ID and creation time.
- create(int, FileTime, HeapDisk) - Static method in class io.roastedroot.zerofs.RegularFile
-
Creates a new regular file with the given ID and using the given disk.
- create(int, FileTime, ZeroFsPath) - Static method in class io.roastedroot.zerofs.SymbolicLink
-
Creates a new symbolic link with the given ID and target.
- create(String, String) - Static method in class io.roastedroot.zerofs.Name
-
Creates a name with the given display representation and the given canonical representation.
- createBlockCache(int) - Method in class io.roastedroot.zerofs.HeapDisk
- createDefaultView(Configuration, ZeroFsFileStore, PathService) - Static method in class io.roastedroot.zerofs.ZeroFsFileSystems
-
Creates the default view of the file system using the given working directory.
- createDirectory() - Method in class io.roastedroot.zerofs.FileFactory
-
Creates a new directory.
- createDirectory(ZeroFsPath, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.FileSystemView
-
Creates a new directory at the given path.
- createDirectory(Path, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- createDirectory(Path, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- createFile(ZeroFsPath, Supplier<? extends File>, boolean, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.FileSystemView
-
Creates a new file at the given path if possible, using the given supplier to create the file.
- createFileName(Name) - Method in class io.roastedroot.zerofs.PathService
-
Returns a single filename path with the given name.
- createFileStore(Configuration, PathService, FileSystemState) - Static method in class io.roastedroot.zerofs.ZeroFsFileSystems
-
Creates the file store for the file system.
- createGroupPrincipal(String) - Static method in class io.roastedroot.zerofs.UserLookupService
-
Creates a
GroupPrincipalfor the given group name. - createInheritedViews(FileLookup, AttributeProvider) - Method in class io.roastedroot.zerofs.AttributeService
- createInheritedViews(FileLookup, AttributeProvider, Map<String, FileAttributeView>) - Method in class io.roastedroot.zerofs.AttributeService
- createLink(Path, Path) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- createPath(Name, Iterable<Name>) - Method in class io.roastedroot.zerofs.PathService
-
Returns a path with the given root (or no root, if null) and the given names.
- createPathInternal(Name, Iterable<Name>) - Method in class io.roastedroot.zerofs.PathService
-
Returns a path with the given root (or no root, if null) and the given names.
- createPathMatcher(String) - Method in class io.roastedroot.zerofs.PathService
-
Returns a
PathMatcherfor the given syntax and pattern as specified byFileSystem.getPathMatcher(String). - createRegularFile() - Method in class io.roastedroot.zerofs.FileFactory
-
Creates a new regular file.
- createRelativePath(Iterable<Name>) - Method in class io.roastedroot.zerofs.PathService
-
Returns a relative path with the given names.
- createRoot(int, FileTime, Name) - Static method in class io.roastedroot.zerofs.Directory
-
Creates a new root directory with the given ID, creation time, and name.
- createRoot(Name) - Method in class io.roastedroot.zerofs.PathService
-
Returns a root path with the given name.
- createRootDirectory(Name) - Method in class io.roastedroot.zerofs.FileFactory
-
Creates a new root directory with the given name.
- createSplitter(char, char...) - Static method in class io.roastedroot.zerofs.PathType
- createSymbolicLink(ZeroFsPath) - Method in class io.roastedroot.zerofs.FileFactory
-
Creates a new symbolic link referencing the given target path.
- createSymbolicLink(ZeroFsPath, ZeroFsPath, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.FileSystemView
-
Creates a new symbolic link at the given path with the given target.
- createSymbolicLink(Path, Path, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- createUserPrincipal(String) - Static method in class io.roastedroot.zerofs.UserLookupService
-
Creates a
UserPrincipalfor the given user name. - creationTime - Variable in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- creationTime - Variable in class io.roastedroot.zerofs.File
- creationTime() - Method in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- CURLY_BRACE - Static variable in class io.roastedroot.zerofs.GlobToRegex
-
State inside {curly braces}.
- currentState() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Returns the current state.
D
- daemon - Variable in class io.roastedroot.zerofs.PollingWatchService.ZeroFsThreadFactory
- decrementLinkCount() - Method in class io.roastedroot.zerofs.File
-
Decrements the link count for this file.
- DEFAULT - Static variable in class io.roastedroot.zerofs.WatchServiceConfiguration
-
The default configuration that's used if the user doesn't provide anything more specific.
- DEFAULT_ACL - Static variable in class io.roastedroot.zerofs.AclAttributeProvider
- DEFAULT_BLOCK_SIZE - Static variable in class io.roastedroot.zerofs.Configuration.Builder
-
8 KB.
- DEFAULT_CONTENT_TYPE - Static variable in class io.roastedroot.zerofs.PathURLConnection
- DEFAULT_GROUP - Static variable in class io.roastedroot.zerofs.PosixAttributeProvider
- DEFAULT_MAX_CACHE_SIZE - Static variable in class io.roastedroot.zerofs.Configuration.Builder
-
Equal to the configured max size.
- DEFAULT_MAX_SIZE - Static variable in class io.roastedroot.zerofs.Configuration.Builder
-
4 GB.
- DEFAULT_OWNER - Static variable in class io.roastedroot.zerofs.OwnerAttributeProvider
- DEFAULT_PERMISSIONS - Static variable in class io.roastedroot.zerofs.PosixAttributeProvider
- DEFAULT_READ - Static variable in class io.roastedroot.zerofs.Options
- DEFAULT_READ_NOFOLLOW_LINKS - Static variable in class io.roastedroot.zerofs.Options
- DEFAULT_WRITE - Static variable in class io.roastedroot.zerofs.Options
- defaultAttributeValues - Variable in class io.roastedroot.zerofs.Configuration.Builder
- defaultAttributeValues - Variable in class io.roastedroot.zerofs.Configuration
- defaultThreadPool - Variable in class io.roastedroot.zerofs.ZeroFsFileSystem
- defaultValues - Variable in class io.roastedroot.zerofs.AttributeService
- defaultValues(Map<String, ?>) - Method in class io.roastedroot.zerofs.AclAttributeProvider
- defaultValues(Map<String, ?>) - Method in class io.roastedroot.zerofs.AttributeProvider
-
Returns a map containing the default attribute values for this provider.
- defaultValues(Map<String, ?>) - Method in class io.roastedroot.zerofs.DosAttributeProvider
- defaultValues(Map<String, ?>) - Method in class io.roastedroot.zerofs.OwnerAttributeProvider
- defaultValues(Map<String, ?>) - Method in class io.roastedroot.zerofs.PosixAttributeProvider
- defaultView - Variable in class io.roastedroot.zerofs.ZeroFsFileSystem
- delegate - Variable in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel.CompletableListeningExecutor
- delete(DirectoryEntry, FileSystemView.DeleteMode, ZeroFsPath) - Method in class io.roastedroot.zerofs.FileSystemView
-
Deletes the given directory entry from its parent directory.
- delete(String) - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider.View
- delete(Path) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- delete(Path) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- deleteAttribute(String, String) - Method in class io.roastedroot.zerofs.File
-
Deletes the given attribute from the given view.
- deleteContents() - Method in class io.roastedroot.zerofs.RegularFile
-
Deletes the contents of this file.
- deleted - Variable in class io.roastedroot.zerofs.RegularFile
- deleted() - Method in class io.roastedroot.zerofs.File
-
Called when (a single link to) this file is deleted.
- deleted() - Method in class io.roastedroot.zerofs.RegularFile
-
Marks this file as deleted.
- deleteDirectory(Path) - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- deleteFile(ZeroFsPath, FileSystemView.DeleteMode) - Method in class io.roastedroot.zerofs.FileSystemView
-
Deletes the file at the given absolute path.
- deleteFile(Path) - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- DeleteMode() - Constructor for enum io.roastedroot.zerofs.FileSystemView.DeleteMode
- directory - Variable in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- directory - Variable in class io.roastedroot.zerofs.DirectoryEntry
- directory() - Method in class io.roastedroot.zerofs.DirectoryEntry
-
Returns the directory containing this entry.
- Directory - Class in io.roastedroot.zerofs
-
A table of directory entries.
- Directory(int, FileTime) - Constructor for class io.roastedroot.zerofs.Directory
- Directory(int, FileTime, Name) - Constructor for class io.roastedroot.zerofs.Directory
- DIRECTORY_ONLY - io.roastedroot.zerofs.FileSystemView.DeleteMode
-
Only delete directory files.
- directoryCreator() - Method in class io.roastedroot.zerofs.FileFactory
-
Returns a supplier that creates directories.
- directoryCreator() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns a supplier that creates a new directory.
- DirectoryEntry - Class in io.roastedroot.zerofs
-
Entry in a directory, containing references to the directory itself, the file the entry links to and the name of the entry.
- DirectoryEntry(Directory, Name, File) - Constructor for class io.roastedroot.zerofs.DirectoryEntry
- DirectoryIterator() - Constructor for class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream.DirectoryIterator
- directorySupplier - Variable in class io.roastedroot.zerofs.FileFactory
- DirectorySupplier() - Constructor for class io.roastedroot.zerofs.FileFactory.DirectorySupplier
- disk - Variable in class io.roastedroot.zerofs.FileFactory
- disk - Variable in class io.roastedroot.zerofs.RegularFile
- disk - Variable in class io.roastedroot.zerofs.ZeroFsFileStore
- display - Variable in class io.roastedroot.zerofs.Name
- DISPLAY_COMPARATOR - Static variable in class io.roastedroot.zerofs.Name
- DISPLAY_NAMES_COMPARATOR - Static variable in class io.roastedroot.zerofs.PathService
- DISPLAY_ROOT_COMPARATOR - Static variable in class io.roastedroot.zerofs.PathService
- displayComparator() - Static method in class io.roastedroot.zerofs.Name
-
Returns a comparator that orders names by their display representation.
- displayName - Variable in class io.roastedroot.zerofs.Configuration.Builder
- displayName - Variable in class io.roastedroot.zerofs.Configuration
- displayNormalizations - Variable in class io.roastedroot.zerofs.PathService
- divide(long, long) - Static method in class io.roastedroot.zerofs.HeapDisk
- DO_NOTHING - Static variable in class io.roastedroot.zerofs.ZeroFsFileSystems
- DosAttributeProvider - Class in io.roastedroot.zerofs
-
Attribute provider that provides the
DosFileAttributeView("dos") and allows the reading ofDosFileAttributes. - DosAttributeProvider() - Constructor for class io.roastedroot.zerofs.DosAttributeProvider
- DosAttributeProvider.Attributes - Class in io.roastedroot.zerofs
-
Implementation of
DosFileAttributes. - DosAttributeProvider.View - Class in io.roastedroot.zerofs
-
Implementation of
DosFileAttributeView. - DowngradedDirectoryStream - Class in io.roastedroot.zerofs
-
A thin wrapper around a
SecureDirectoryStreamthat exists only to implementDirectoryStreamand NOT implementSecureDirectoryStream. - DowngradedDirectoryStream(SecureDirectoryStream<Path>) - Constructor for class io.roastedroot.zerofs.DowngradedDirectoryStream
- DowngradedSeekableByteChannel - Class in io.roastedroot.zerofs
-
A thin wrapper around a
FileChannelthat exists only to implementSeekableByteChannelbut NOT extendFileChannel. - DowngradedSeekableByteChannel(FileChannel) - Constructor for class io.roastedroot.zerofs.DowngradedSeekableByteChannel
- DRIVE_LETTER_ROOT - Static variable in class io.roastedroot.zerofs.WindowsPathType
-
Pattern for matching normal C:\ drive letter root syntax.
E
- elementOrder - Variable in class io.roastedroot.zerofs.LexicographicalOrdering
- EMPTY - Static variable in class io.roastedroot.zerofs.Name
-
The empty name.
- EMPTY_PATH_NAMES - Static variable in class io.roastedroot.zerofs.FileTree
- emptyPath - Variable in class io.roastedroot.zerofs.PathService
- emptyPath() - Method in class io.roastedroot.zerofs.PathService
-
Returns an empty path which has a single name, the empty string.
- emptyPath() - Method in class io.roastedroot.zerofs.PathType
-
Returns an empty path.
- endBlocking(boolean) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
-
Ends a blocking operation, throwing an exception if the thread was interrupted while blocking or if the channel was closed from another thread.
- endsWith(String) - Method in class io.roastedroot.zerofs.ZeroFsPath
- endsWith(Path) - Method in class io.roastedroot.zerofs.ZeroFsPath
- enqueue(AbstractWatchService.Key) - Method in class io.roastedroot.zerofs.AbstractWatchService
-
Enqueues the given key if the watch service is open; does nothing otherwise.
- entryCount - Variable in class io.roastedroot.zerofs.Directory
- entryCount() - Method in class io.roastedroot.zerofs.Directory
-
Returns the number of entries in this directory.
- entryInParent - Variable in class io.roastedroot.zerofs.Directory
-
The entry linking to this directory in its parent directory.
- entryInParent() - Method in class io.roastedroot.zerofs.Directory
-
Returns the entry linking to this directory in its parent.
- entrySet() - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- equalityUsesCanonicalForm - Variable in class io.roastedroot.zerofs.PathService
- equals(Object) - Method in class io.roastedroot.zerofs.AbstractWatchService.Event
- equals(Object) - Method in class io.roastedroot.zerofs.DirectoryEntry
- equals(Object) - Method in class io.roastedroot.zerofs.LexicographicalOrdering
- equals(Object) - Method in class io.roastedroot.zerofs.Name
- equals(Object) - Method in class io.roastedroot.zerofs.UserLookupService.ZeroFsGroupPrincipal
- equals(Object) - Method in class io.roastedroot.zerofs.UserLookupService.ZeroFsUserPrincipal
- equals(Object) - Method in class io.roastedroot.zerofs.ZeroFsPath
- ESCAPE - Static variable in class io.roastedroot.zerofs.GlobToRegex
-
State following the reading of a single \.
- Event(WatchEvent.Kind<T>, int, T) - Constructor for class io.roastedroot.zerofs.AbstractWatchService.Event
- events - Variable in class io.roastedroot.zerofs.AbstractWatchService.Key
- executor - Variable in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- exists() - Method in class io.roastedroot.zerofs.DirectoryEntry
-
Returns
trueif and only if this entry represents an existing file. - expandIfNecessary(int) - Method in class io.roastedroot.zerofs.RegularFile
- expandIfNeeded() - Method in class io.roastedroot.zerofs.Directory
F
- factory - Variable in class io.roastedroot.zerofs.ZeroFsFileStore
- FakeFileLock(AsynchronousFileChannel, long, long, boolean) - Constructor for class io.roastedroot.zerofs.ZeroFsFileChannel.FakeFileLock
- FakeFileLock(FileChannel, long, long, boolean) - Constructor for class io.roastedroot.zerofs.ZeroFsFileChannel.FakeFileLock
- Feature - Enum in io.roastedroot.zerofs
-
Optional file system features that may be supported or unsupported by a ZeroFs file system instance.
- Feature() - Constructor for enum io.roastedroot.zerofs.Feature
- file - Variable in class io.roastedroot.zerofs.DirectoryEntry
- file - Variable in class io.roastedroot.zerofs.ZeroFsFileChannel
- file - Variable in class io.roastedroot.zerofs.ZeroFsInputStream
- file - Variable in class io.roastedroot.zerofs.ZeroFsOutputStream
- file() - Method in class io.roastedroot.zerofs.DirectoryEntry
-
Returns the file this entry links to.
- File - Class in io.roastedroot.zerofs
-
A file object, containing both the file's metadata and content.
- File(int, FileTime) - Constructor for class io.roastedroot.zerofs.File
- FILE_CHANNEL - io.roastedroot.zerofs.Feature
-
Feature controlling support for
FileChannel. - FILE_SYSTEM_KEY - Static variable in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
-
Env map key that maps to the already-created
FileSysteminstance innewFileSystem. - FileFactory - Class in io.roastedroot.zerofs
-
Factory for creating new files and copying files.
- FileFactory(HeapDisk, FileTimeSource) - Constructor for class io.roastedroot.zerofs.FileFactory
-
Creates a new file factory using the given disk for regular files and the given time source.
- FileFactory.DirectorySupplier - Class in io.roastedroot.zerofs
- FileFactory.RegularFileSupplier - Class in io.roastedroot.zerofs
- FileFactory.SymbolicLinkSupplier - Class in io.roastedroot.zerofs
- fileKey - Variable in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- fileKey() - Method in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- FileLookup - Interface in io.roastedroot.zerofs
-
Callback for looking up a file.
- fileNames - Variable in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream.DirectoryIterator
- fileOrNull() - Method in class io.roastedroot.zerofs.DirectoryEntry
-
Returns the file this entry links to or
nullif the file does not exist - fileStore - Variable in class io.roastedroot.zerofs.ZeroFsFileSystem
- fileSystem - Variable in class io.roastedroot.zerofs.PathService
- fileSystems - Static variable in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
-
Cache of file systems that have been created but not closed.
- fileSystemState - Variable in class io.roastedroot.zerofs.PollingWatchService
- fileSystemState - Variable in class io.roastedroot.zerofs.ZeroFsFileChannel
- fileSystemState - Variable in class io.roastedroot.zerofs.ZeroFsInputStream
- fileSystemState - Variable in class io.roastedroot.zerofs.ZeroFsOutputStream
- fileSystemState - Variable in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- FileSystemState - Class in io.roastedroot.zerofs
-
Object that manages the open/closed state of a file system, ensuring that all open resources are closed when the file system is closed and that file system methods throw an exception when the file system has been closed.
- FileSystemState(FileTimeSource, Runnable) - Constructor for class io.roastedroot.zerofs.FileSystemState
- FileSystemView - Class in io.roastedroot.zerofs
-
View of a file system with a specific working directory.
- FileSystemView(ZeroFsFileStore, Directory, ZeroFsPath) - Constructor for class io.roastedroot.zerofs.FileSystemView
-
Creates a new file system view.
- FileSystemView.DeleteMode - Enum in io.roastedroot.zerofs
-
Mode for deleting.
- fileTimeSource - Variable in class io.roastedroot.zerofs.Configuration.Builder
- fileTimeSource - Variable in class io.roastedroot.zerofs.Configuration
- fileTimeSource - Variable in class io.roastedroot.zerofs.FileFactory
- fileTimeSource - Variable in class io.roastedroot.zerofs.FileSystemState
- FileTimeSource - Interface in io.roastedroot.zerofs
-
A source of the current time as a
FileTime, to enable fake time sources for testing. - FileTree - Class in io.roastedroot.zerofs
-
The tree of directories and files for the file system.
- FileTree(Map<Name, Directory>) - Constructor for class io.roastedroot.zerofs.FileTree
-
Creates a new file tree with the given root directories.
- filter - Variable in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- finish(GlobToRegex) - Method in class io.roastedroot.zerofs.GlobToRegex.State
-
Called after all characters have been read.
- finished - Variable in class io.roastedroot.zerofs.ZeroFsInputStream
- firstNonNull(T, T) - Static method in class io.roastedroot.zerofs.PathURLConnection
- fixedAttributes() - Method in class io.roastedroot.zerofs.AclAttributeProvider
- fixedAttributes() - Method in class io.roastedroot.zerofs.AttributeProvider
-
Returns the set of attributes that are always available from this provider.
- fixedAttributes() - Method in class io.roastedroot.zerofs.BasicAttributeProvider
- fixedAttributes() - Method in class io.roastedroot.zerofs.DosAttributeProvider
- fixedAttributes() - Method in class io.roastedroot.zerofs.OwnerAttributeProvider
- fixedAttributes() - Method in class io.roastedroot.zerofs.PosixAttributeProvider
- fixedAttributes() - Method in class io.roastedroot.zerofs.UnixAttributeProvider
- fixedAttributes() - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider
- FOLLOW_LINKS - Static variable in class io.roastedroot.zerofs.Options
-
Empty LinkOption set.
- followSymbolicLink(File, SymbolicLink, int) - Method in class io.roastedroot.zerofs.FileTree
-
Returns the directory entry located by the target path of the given symbolic link, resolved relative to the given directory.
- force(boolean) - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- force(boolean) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- forcePut(DirectoryEntry) - Method in class io.roastedroot.zerofs.Directory
-
Adds the given entry to the directory, overwriting an existing entry with the same name if such an entry exists.
- forCurrentPlatform() - Static method in class io.roastedroot.zerofs.Configuration
-
Returns a default configuration appropriate to the current operating system.
- free(RegularFile) - Method in class io.roastedroot.zerofs.HeapDisk
-
Frees all blocks in the given file.
- free(RegularFile, int) - Method in class io.roastedroot.zerofs.HeapDisk
-
Frees the last
countblocks from the given file. - fromRegex(String, Iterable<PathNormalization>) - Static method in class io.roastedroot.zerofs.PathMatchers
- fromUri(URI) - Method in class io.roastedroot.zerofs.PathService
-
Converts the path of the given URI into a path for this file system.
- fromUri(URI) - Method in class io.roastedroot.zerofs.PathType
-
Parses a path from the given URI.
G
- get() - Method in class io.roastedroot.zerofs.FileFactory.DirectorySupplier
- get() - Method in class io.roastedroot.zerofs.FileFactory.RegularFileSupplier
- get() - Method in class io.roastedroot.zerofs.FileFactory.SymbolicLinkSupplier
- get(byte[], int, byte[], int, int) - Static method in class io.roastedroot.zerofs.RegularFile
-
Reads len bytes starting at the given offset in the given block into the given slice of the given byte array.
- get(byte[], int, ByteBuffer, int) - Static method in class io.roastedroot.zerofs.RegularFile
-
Reads len bytes starting at the given offset in the given block into the given byte buffer.
- get(File, String) - Method in class io.roastedroot.zerofs.AclAttributeProvider
- get(File, String) - Method in class io.roastedroot.zerofs.AttributeProvider
-
Returns the value of the given attribute in the given file or null if the attribute is not supported by this provider.
- get(File, String) - Method in class io.roastedroot.zerofs.BasicAttributeProvider
- get(File, String) - Method in class io.roastedroot.zerofs.DosAttributeProvider
- get(File, String) - Method in class io.roastedroot.zerofs.OwnerAttributeProvider
- get(File, String) - Method in class io.roastedroot.zerofs.PosixAttributeProvider
- get(File, String) - Method in class io.roastedroot.zerofs.UnixAttributeProvider
- get(File, String) - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider
- get(Name) - Method in class io.roastedroot.zerofs.Directory
-
Returns the entry for the given name in this table or null if no such entry exists.
- get(Object) - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- get(String) - Static method in class io.roastedroot.zerofs.StandardAttributeProviders
-
Returns the attribute provider for the given view, or
nullif the given view is not one of the attribute views this supports. - getAcl() - Method in class io.roastedroot.zerofs.AclAttributeProvider.View
- getAttribute(File, String) - Method in class io.roastedroot.zerofs.AttributeService
-
Gets the value of the given attribute for the given file.
- getAttribute(File, String, String) - Method in class io.roastedroot.zerofs.AttributeService
-
Gets the value of the given attribute for the given view and file.
- getAttribute(String) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
- getAttribute(String, String) - Method in class io.roastedroot.zerofs.File
-
Gets the value of the given attribute in the given view.
- getAttributeInternal(File, String, String) - Method in class io.roastedroot.zerofs.AttributeService
- getAttributeKeys() - Method in class io.roastedroot.zerofs.File
-
Returns the attribute keys contained in the attributes map for the file.
- getAttributeNames(String) - Static method in class io.roastedroot.zerofs.AttributeService
- getAttributeNames(String) - Method in class io.roastedroot.zerofs.File
-
Returns the names of the attributes contained in the given attribute view in the file's attributes table.
- getBlock(int) - Method in class io.roastedroot.zerofs.RegularFile
-
Gets the block at the given index in this file.
- getCopyOptions(CopyOption...) - Static method in class io.roastedroot.zerofs.Options
-
Returns an immutable set of the given options for a copy.
- getCreationTime() - Method in class io.roastedroot.zerofs.File
-
Gets the creation time of the file.
- getDefaultThreadPool() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
-
Returns a default thread pool to use for asynchronous file channels when users do not provide an executor themselves.
- getDefaultValue(String, Map<String, ?>) - Static method in class io.roastedroot.zerofs.DosAttributeProvider
- getDefaultView() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
-
Returns the default view for this file system.
- getDefaultView(ZeroFsPath) - Static method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
-
Returns the default file system view for the given path.
- getExecutor() - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel.CompletableListeningExecutor
- getFileAttributeView(FileLookup, Class<? extends FileAttributeView>, Map<String, FileAttributeView>) - Method in class io.roastedroot.zerofs.AttributeService
- getFileAttributeView(FileLookup, Class<V>) - Method in class io.roastedroot.zerofs.AttributeService
-
Returns an attribute view of the given type for the given file lookup callback, or
nullif the view type is not supported. - getFileAttributeView(FileLookup, Class<V>) - Method in class io.roastedroot.zerofs.FileSystemView
-
Returns a file attribute view using the given lookup callback.
- getFileAttributeView(FileLookup, Class<V>) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns an attribute view of the given type for the given file lookup callback, or
nullif the view type is not supported. - getFileAttributeView(ZeroFsPath, Class<V>, Set<? super LinkOption>) - Method in class io.roastedroot.zerofs.FileSystemView
-
Returns a file attribute view for the given path in this view.
- getFileAttributeView(Class<V>) - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- getFileName() - Method in class io.roastedroot.zerofs.ZeroFsPath
- getFileStore() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
-
Returns the file store for this file system.
- getFileStore(Path) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- getFileStore(Path) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- getFileStoreAttributeView(Class<V>) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
- getFileStores() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
- getFileSystem() - Method in class io.roastedroot.zerofs.PathService
-
Returns the file system this service is for.
- getFileSystem() - Method in class io.roastedroot.zerofs.ZeroFsPath
- getFileSystem(URI) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- getFileSystem(URI) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- getFileSystem(Path) - Static method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
-
Gets the file system for the given path.
- getHeaderField(String) - Method in class io.roastedroot.zerofs.PathURLConnection
- getHeaderFields() - Method in class io.roastedroot.zerofs.PathURLConnection
- getHostAddress(URL) - Method in class io.roastedroot.zerofs.Handler
- getInputStream() - Method in class io.roastedroot.zerofs.PathURLConnection
- getLastAccessTime() - Method in class io.roastedroot.zerofs.File
-
Gets the last access time of the file.
- getLastModifiedTime() - Method in class io.roastedroot.zerofs.File
-
Gets the last modified time of the file.
- getLinkOptions(LinkOption...) - Static method in class io.roastedroot.zerofs.Options
-
Returns an immutable set of link options.
- getMoveOptions(CopyOption...) - Static method in class io.roastedroot.zerofs.Options
-
Returns an immutable set of the given options for a move.
- getName() - Method in class io.roastedroot.zerofs.UserLookupService.NamedPrincipal
- getName(int) - Method in class io.roastedroot.zerofs.ZeroFsPath
- getNameCount() - Method in class io.roastedroot.zerofs.ZeroFsPath
- getOptionsForChannel(Set<? extends OpenOption>) - Static method in class io.roastedroot.zerofs.Options
-
Returns an immutable set of open options for opening a new file channel.
- getOptionsForInputStream(OpenOption...) - Static method in class io.roastedroot.zerofs.Options
-
Returns an immutable set of open options for opening a new input stream.
- getOptionsForOutputStream(OpenOption...) - Static method in class io.roastedroot.zerofs.Options
-
Returns an immutable set of open options for opening a new output stream.
- getOrCreateRegularFile(ZeroFsPath, Set<OpenOption>, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.FileSystemView
-
Gets the regular file at the given path, creating it if it doesn't exist and the given options specify that it should be created.
- getOrCreateRegularFileWithWriteLock(ZeroFsPath, Set<OpenOption>, FileAttribute<?>[]) - Method in class io.roastedroot.zerofs.FileSystemView
-
Gets or creates a new regular file with a write lock (assuming the file does not exist).
- getOtherSeparators() - Method in class io.roastedroot.zerofs.PathType
-
Returns the other separators that are recognized when parsing a path.
- getOwner() - Method in class io.roastedroot.zerofs.AclAttributeProvider.View
- getOwner() - Method in class io.roastedroot.zerofs.OwnerAttributeProvider.View
- getOwner() - Method in class io.roastedroot.zerofs.PosixAttributeProvider.View
- getParent() - Method in class io.roastedroot.zerofs.ZeroFsPath
- getPath(String, String...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
- getPath(URI) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- getPath(URI) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- getPathMatcher(String) - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
- getPathMatcher(String, String, Set<PathNormalization>) - Static method in class io.roastedroot.zerofs.PathMatchers
-
Gets a
PathMatcherfor the given syntax and pattern as specified byFileSystem.getPathMatcher(java.lang.String). - getPathService() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
-
Returns the path service for this file system.
- getProviders(Configuration) - Static method in class io.roastedroot.zerofs.AttributeService
- getRealEntry(DirectoryEntry) - Method in class io.roastedroot.zerofs.FileTree
-
Returns the entry for the file in its parent directory.
- getRoot() - Method in class io.roastedroot.zerofs.ZeroFsPath
- getRoot(Name) - Method in class io.roastedroot.zerofs.FileTree
-
Gets the directory entry for the root with the given name or
nullif no such root exists. - getRoot(Name) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns the root directory with the given name or
nullif no such directory exists. - getRootDirectories() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
- getRootDirectoryNames() - Method in class io.roastedroot.zerofs.FileTree
-
Returns the names of the root directories in this tree.
- getRootDirectoryNames() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns the names of the root directories in this store.
- getScheme() - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- getScheme() - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- getSeparator() - Method in class io.roastedroot.zerofs.PathService
-
Returns the default path separator.
- getSeparator() - Method in class io.roastedroot.zerofs.PathType
-
Returns the canonical separator for this path type.
- getSeparator() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
- getSingleAttribute(String) - Static method in class io.roastedroot.zerofs.AttributeService
- getStoredBytes(String) - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider.View
- getSystemZeroFsProvider() - Static method in class io.roastedroot.zerofs.ZeroFs
-
Returns the system-loaded instance of
SystemZeroFsFileSystemProviderornullif it could not be found or loaded. - getTotalSpace() - Method in class io.roastedroot.zerofs.HeapDisk
-
Returns the total size of this disk.
- getTotalSpace() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
- getUnallocatedSpace() - Method in class io.roastedroot.zerofs.HeapDisk
-
Returns the current number of unallocated bytes on this disk.
- getUnallocatedSpace() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
- getUniqueId(Object) - Method in class io.roastedroot.zerofs.UnixAttributeProvider
-
Returns an ID that is guaranteed to be the same for any invocation with equal objects.
- getUri() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
-
Returns the URI for this file system.
- getUsableSpace() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
- getUserPrincipalLookupService() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
- getViewName(String) - Static method in class io.roastedroot.zerofs.AttributeService
- getWorkingDirectory() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
-
Returns the working directory path for this file system.
- getWorkingDirectoryPath() - Method in class io.roastedroot.zerofs.FileSystemView
-
Returns the path of the working directory at the time this view was created.
- getZeroFsFileSystem() - Method in class io.roastedroot.zerofs.ZeroFsPath
-
Equivalent to
ZeroFsPath.getFileSystem()but with a return type ofZeroFsFileSystem. - glob - Variable in class io.roastedroot.zerofs.GlobToRegex
- GlobToRegex - Class in io.roastedroot.zerofs
-
Translates globs to regex patterns.
- GlobToRegex(String, String) - Constructor for class io.roastedroot.zerofs.GlobToRegex
- GlobToRegex.State - Class in io.roastedroot.zerofs
-
Converter state.
- group - Variable in class io.roastedroot.zerofs.PosixAttributeProvider.Attributes
- group() - Method in class io.roastedroot.zerofs.PosixAttributeProvider.Attributes
H
- Handler - Class in io.roastedroot.zerofs
-
URLStreamHandlerimplementation for zerofs. - Handler() - Constructor for class io.roastedroot.zerofs.Handler
-
Deprecated.Not intended to be called directly; this class is only for use by Java itself.
- hash(ZeroFsPath) - Method in class io.roastedroot.zerofs.PathService
-
Creates a hash code for the given path.
- hashCode() - Method in class io.roastedroot.zerofs.AbstractWatchService.Event
- hashCode() - Method in class io.roastedroot.zerofs.DirectoryEntry
- hashCode() - Method in class io.roastedroot.zerofs.LexicographicalOrdering
- hashCode() - Method in class io.roastedroot.zerofs.Name
- hashCode() - Method in class io.roastedroot.zerofs.UserLookupService.NamedPrincipal
- hashCode() - Method in class io.roastedroot.zerofs.ZeroFsPath
- hasNext() - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream.DirectoryIterator
- headers - Variable in class io.roastedroot.zerofs.PathURLConnection
- HeapDisk - Class in io.roastedroot.zerofs
-
A resizable pseudo-disk acting as a shared space for storing file data.
- HeapDisk(int, int, int) - Constructor for class io.roastedroot.zerofs.HeapDisk
-
Creates a new disk with the given
blockSize,maxBlockCountandmaxCachedBlockCount. - HeapDisk(Configuration) - Constructor for class io.roastedroot.zerofs.HeapDisk
-
Creates a new disk using settings from the given configuration.
- hidden - Variable in class io.roastedroot.zerofs.DosAttributeProvider.Attributes
- HTTP_DATE_FORMAT - Static variable in class io.roastedroot.zerofs.PathURLConnection
I
- id - Variable in class io.roastedroot.zerofs.File
- id() - Method in class io.roastedroot.zerofs.File
-
Returns the ID of this file.
- idCache - Variable in class io.roastedroot.zerofs.UnixAttributeProvider
- idGenerator - Variable in class io.roastedroot.zerofs.FileFactory
- implCloseChannel() - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- incrementLinkCount() - Method in class io.roastedroot.zerofs.File
-
Increments the link count for this file.
- index - Variable in class io.roastedroot.zerofs.GlobToRegex
- INHERITED_VIEWS - Static variable in class io.roastedroot.zerofs.AclAttributeProvider
- INHERITED_VIEWS - Static variable in class io.roastedroot.zerofs.DosAttributeProvider
- INHERITED_VIEWS - Static variable in class io.roastedroot.zerofs.PosixAttributeProvider
- INHERITED_VIEWS - Static variable in class io.roastedroot.zerofs.UnixAttributeProvider
- inherits() - Method in class io.roastedroot.zerofs.AclAttributeProvider
- inherits() - Method in class io.roastedroot.zerofs.AttributeProvider
-
Returns the names of other providers that this provider inherits attributes from.
- inherits() - Method in class io.roastedroot.zerofs.DosAttributeProvider
- inherits() - Method in class io.roastedroot.zerofs.PosixAttributeProvider
- inherits() - Method in class io.roastedroot.zerofs.UnixAttributeProvider
- INITIAL_CAPACITY - Static variable in class io.roastedroot.zerofs.Directory
- INITIAL_RESIZE_THRESHOLD - Static variable in class io.roastedroot.zerofs.Directory
- instance() - Static method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
-
Returns the singleton instance of this provider.
- INSTANCE - io.roastedroot.zerofs.SystemFileTimeSource
- INSTANCE - Static variable in class io.roastedroot.zerofs.UnixPathType
-
Unix path type.
- INSTANCE - Static variable in class io.roastedroot.zerofs.WindowsPathType
-
Windows path type.
- INSTANCE - Static variable in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- InternalCharMatcher - Class in io.roastedroot.zerofs
-
Simple replacement for the real CharMatcher until it's out of @Beta.
- InternalCharMatcher(String) - Constructor for class io.roastedroot.zerofs.InternalCharMatcher
- interval - Variable in class io.roastedroot.zerofs.PollingWatchService
- interval - Variable in class io.roastedroot.zerofs.WatchServiceConfiguration.PollingConfig
- invalidType(String, String, Object, Class<?>...) - Static method in class io.roastedroot.zerofs.AttributeProvider
-
Throws an illegal argument exception indicating that the given value is not one of the expected types for the given attribute.
- io.roastedroot.zerofs - package io.roastedroot.zerofs
- isAbsolute() - Method in class io.roastedroot.zerofs.PathType.ParseResult
-
Returns whether or not this result is an absolute path.
- isAbsolute() - Method in class io.roastedroot.zerofs.ZeroFsPath
- isArchive() - Method in class io.roastedroot.zerofs.DosAttributeProvider.Attributes
- isDirectory() - Method in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- isDirectory() - Method in class io.roastedroot.zerofs.File
-
Returns whether or not this file is a directory.
- isEmpty() - Method in class io.roastedroot.zerofs.Directory
-
Returns true if this directory has no entries other than those to itself and its parent.
- isEmpty() - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- isEmpty(List<Name>) - Static method in class io.roastedroot.zerofs.FileTree
- isEmptyPath() - Method in class io.roastedroot.zerofs.ZeroFsPath
-
Returns whether or not this is the empty path, with no root and a single, empty string, name.
- isHidden() - Method in class io.roastedroot.zerofs.DosAttributeProvider.Attributes
- isHidden(Path) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- isHidden(Path) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- isNormal() - Method in class io.roastedroot.zerofs.ZeroFsPath
-
Returns whether or not this path is in a normalized form.
- isOpen() - Method in class io.roastedroot.zerofs.AbstractWatchService
-
Returns whether or not this watch service is open.
- isOpen() - Method in class io.roastedroot.zerofs.DowngradedSeekableByteChannel
- isOpen() - Method in class io.roastedroot.zerofs.FileSystemState
-
Returns whether or not the file system is open.
- isOpen() - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- isOpen() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
- isOpen() - Method in class io.roastedroot.zerofs.ZeroFsInputStream
- isOpen() - Method in class io.roastedroot.zerofs.ZeroFsOutputStream
- isOther() - Method in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- isPolling() - Method in class io.roastedroot.zerofs.PollingWatchService
- isReadOnly() - Method in class io.roastedroot.zerofs.DosAttributeProvider.Attributes
- isReadOnly() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
- isReadOnly() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
-
Returns
false; currently, cannot create a read-only file system. - isRegexReserved(char) - Static method in class io.roastedroot.zerofs.PathType
- isRegularFile() - Method in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- isRegularFile() - Method in class io.roastedroot.zerofs.File
-
Returns whether or not this file is a regular file.
- isReserved(char) - Static method in class io.roastedroot.zerofs.WindowsPathType
-
Checks if c is one of the reserved characters that aren't allowed in Windows file names.
- isReserved(Name) - Static method in class io.roastedroot.zerofs.Directory
-
Returns true if the given name is "." or "..".
- isRoot() - Method in class io.roastedroot.zerofs.PathType.ParseResult
-
Returns whether or not this result represents a root path.
- isRootDirectory() - Method in class io.roastedroot.zerofs.File
-
Returns whether or not this file is a root directory of the file system.
- isSameFile(ZeroFsPath, FileSystemView, ZeroFsPath) - Method in class io.roastedroot.zerofs.FileSystemView
-
Returns whether or not the two given paths locate the same file.
- isSameFile(Path, Path) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- isSameFile(Path, Path) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- isSameFileSystem(FileSystemView) - Method in class io.roastedroot.zerofs.FileSystemView
-
Returns whether or not this view and the given view belong to the same file system.
- isSameFileSystem(Path) - Method in class io.roastedroot.zerofs.PollingWatchService
- isSymbolicLink() - Method in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- isSymbolicLink() - Method in class io.roastedroot.zerofs.File
-
Returns whether or not this file is a symbolic link.
- isSystem() - Method in class io.roastedroot.zerofs.DosAttributeProvider.Attributes
- isUpperCase(char) - Static method in class io.roastedroot.zerofs.Util
- isValid() - Method in class io.roastedroot.zerofs.AbstractWatchService.Key
- isValid() - Method in class io.roastedroot.zerofs.ZeroFsFileChannel.FakeFileLock
- isValidFileSystemUri(URI) - Static method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
-
Returns whether or not the given URI is valid as a base file system URI.
- iterator - Variable in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- iterator() - Method in class io.roastedroot.zerofs.Directory
- iterator() - Method in class io.roastedroot.zerofs.DowngradedDirectoryStream
- iterator() - Method in class io.roastedroot.zerofs.ZeroFsPath
- iterator() - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
J
- JAVA_PROTOCOL_HANDLER_PACKAGES - Static variable in class io.roastedroot.zerofs.Handler
- join(String[]) - Method in class io.roastedroot.zerofs.PathType
-
Returns the path splitter for this path type.
K
- key - Variable in class io.roastedroot.zerofs.WeakValueConcurrentMap.WeakValue
- Key(AbstractWatchService, Watchable, Iterable<? extends WatchEvent.Kind<?>>) - Constructor for class io.roastedroot.zerofs.AbstractWatchService.Key
- keySet() - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- kind - Variable in class io.roastedroot.zerofs.AbstractWatchService.Event
- kind() - Method in class io.roastedroot.zerofs.AbstractWatchService.Event
L
- lastAccessTime - Variable in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- lastAccessTime - Variable in class io.roastedroot.zerofs.File
- lastAccessTime() - Method in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- lastModifiedTime - Variable in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- lastModifiedTime - Variable in class io.roastedroot.zerofs.File
- lastModifiedTime() - Method in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- length(int, long) - Method in class io.roastedroot.zerofs.RegularFile
- length(long) - Method in class io.roastedroot.zerofs.RegularFile
- LexicographicalOrdering<T> - Class in io.roastedroot.zerofs
- LexicographicalOrdering(Comparator<? super T>) - Constructor for class io.roastedroot.zerofs.LexicographicalOrdering
- link(Name, File) - Method in class io.roastedroot.zerofs.Directory
-
Links the given name to the given file in this directory.
- link(ZeroFsPath, FileSystemView, ZeroFsPath) - Method in class io.roastedroot.zerofs.FileSystemView
-
Creates a hard link at the given link path to the regular file at the given path.
- linked(DirectoryEntry) - Method in class io.roastedroot.zerofs.Directory
- linked(DirectoryEntry) - Method in class io.roastedroot.zerofs.File
-
Called when this file has been linked in a directory.
- links - Variable in class io.roastedroot.zerofs.File
- links() - Method in class io.roastedroot.zerofs.File
-
Returns the current count of links to this file.
- LINKS - io.roastedroot.zerofs.Feature
-
Feature controlling support for hard links to regular files.
- list() - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider.View
- lock - Variable in class io.roastedroot.zerofs.RegularFile
- lock(long, long, boolean) - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- lock(long, long, boolean) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- lock(long, long, boolean, A, CompletionHandler<FileLock, ? super A>) - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- lockBoth(Lock, Lock) - Static method in class io.roastedroot.zerofs.FileSystemView
-
Acquires both write locks in a way that attempts to avoid the possibility of deadlock.
- lockSourceAndCopy(File, File) - Method in class io.roastedroot.zerofs.FileSystemView
-
Locks source and copy files before copying content.
- LOGGER - Static variable in class io.roastedroot.zerofs.ZeroFs
- lookup - Variable in class io.roastedroot.zerofs.AbstractAttributeView
- lookup() - Method in interface io.roastedroot.zerofs.FileLookup
-
Looks up the file.
- lookUp(File, ZeroFsPath, Set<? super LinkOption>) - Method in class io.roastedroot.zerofs.FileTree
-
Returns the result of the file lookup for the given path.
- lookUp(File, ZeroFsPath, Set<? super LinkOption>) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Looks up the file at the given path using the given link options.
- lookUp(File, ZeroFsPath, Set<? super LinkOption>, int) - Method in class io.roastedroot.zerofs.FileTree
- lookUp(File, Iterable<Name>, Set<? super LinkOption>, int) - Method in class io.roastedroot.zerofs.FileTree
-
Looks up the given names against the given base file.
- lookUp(ZeroFsPath, Set<? super LinkOption>) - Method in class io.roastedroot.zerofs.FileSystemView
-
Looks up the file at the given path without locking.
- lookupFile() - Method in class io.roastedroot.zerofs.AbstractAttributeView
-
Looks up the file to get or set attributes on.
- lookUpLast(File, Name, Set<? super LinkOption>, int) - Method in class io.roastedroot.zerofs.FileTree
-
Looks up the last element of a path.
- lookupPrincipalByGroupName(String) - Method in class io.roastedroot.zerofs.UserLookupService
- lookupPrincipalByName(String) - Method in class io.roastedroot.zerofs.UserLookupService
- lookUpRegularFile(ZeroFsPath, Set<OpenOption>) - Method in class io.roastedroot.zerofs.FileSystemView
-
Looks up the regular file at the given path, throwing an exception if the file isn't a regular file.
- lookUpWithLock(ZeroFsPath, Set<? super LinkOption>) - Method in class io.roastedroot.zerofs.FileSystemView
-
Attempt to look up the file at the given path.
M
- map - Variable in class io.roastedroot.zerofs.WeakValueConcurrentMap
- map(FileChannel.MapMode, long, long) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- matches(char) - Method in class io.roastedroot.zerofs.InternalCharMatcher
- matches(Path) - Method in class io.roastedroot.zerofs.PathMatchers.RegexPathMatcher
- MAX_QUEUE_SIZE - Static variable in class io.roastedroot.zerofs.AbstractWatchService.Key
- MAX_SYMBOLIC_LINK_DEPTH - Static variable in class io.roastedroot.zerofs.FileTree
-
Doesn't much matter, but this number comes from MIN_ELOOP_THRESHOLD here
- maxBlockCount - Variable in class io.roastedroot.zerofs.HeapDisk
-
Maximum total number of blocks that the disk may contain at any time.
- maxCachedBlockCount - Variable in class io.roastedroot.zerofs.HeapDisk
-
Maximum total number of unused blocks that may be cached for reuse at any time.
- maxCacheSize - Variable in class io.roastedroot.zerofs.Configuration.Builder
- maxCacheSize - Variable in class io.roastedroot.zerofs.Configuration
- maxSize - Variable in class io.roastedroot.zerofs.Configuration.Builder
- maxSize - Variable in class io.roastedroot.zerofs.Configuration
- modifiedTimes - Variable in class io.roastedroot.zerofs.PollingWatchService.Snapshot
-
Maps directory entry names to last modified times.
- move(Path, Path, CopyOption...) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- move(Path, Path, CopyOption...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- move(Path, SecureDirectoryStream<Path>, Path) - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
N
- name - Variable in class io.roastedroot.zerofs.AttributeService.SimpleFileAttribute
- name - Variable in class io.roastedroot.zerofs.BasicFileAttribute
- name - Variable in class io.roastedroot.zerofs.DirectoryEntry
- name - Variable in class io.roastedroot.zerofs.UserLookupService.NamedPrincipal
- name() - Method in class io.roastedroot.zerofs.AclAttributeProvider
- name() - Method in class io.roastedroot.zerofs.AclAttributeProvider.View
- name() - Method in class io.roastedroot.zerofs.AttributeProvider
-
Returns the view name that's used to get attributes from this provider.
- name() - Method in class io.roastedroot.zerofs.AttributeService.SimpleFileAttribute
- name() - Method in class io.roastedroot.zerofs.BasicAttributeProvider
- name() - Method in class io.roastedroot.zerofs.BasicAttributeProvider.View
- name() - Method in class io.roastedroot.zerofs.BasicFileAttribute
- name() - Method in class io.roastedroot.zerofs.DirectoryEntry
-
Returns the name of this entry.
- name() - Method in class io.roastedroot.zerofs.DosAttributeProvider
- name() - Method in class io.roastedroot.zerofs.DosAttributeProvider.View
- name() - Method in class io.roastedroot.zerofs.OwnerAttributeProvider
- name() - Method in class io.roastedroot.zerofs.OwnerAttributeProvider.View
- name() - Method in class io.roastedroot.zerofs.PosixAttributeProvider
- name() - Method in class io.roastedroot.zerofs.PosixAttributeProvider.View
- name() - Method in class io.roastedroot.zerofs.UnixAttributeProvider
- name() - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider
- name() - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider.View
- name() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
- name() - Method in class io.roastedroot.zerofs.ZeroFsPath
-
Returns the file name of this path.
- name(String) - Method in class io.roastedroot.zerofs.PathService
-
Returns the
Nameform of the given string. - Name - Class in io.roastedroot.zerofs
-
Immutable representation of a file name.
- Name(String, String) - Constructor for class io.roastedroot.zerofs.Name
- nameCanonicalNormalization - Variable in class io.roastedroot.zerofs.Configuration.Builder
- nameCanonicalNormalization - Variable in class io.roastedroot.zerofs.Configuration
- nameDisplayNormalization - Variable in class io.roastedroot.zerofs.Configuration.Builder
- nameDisplayNormalization - Variable in class io.roastedroot.zerofs.Configuration
- NamedPrincipal(String) - Constructor for class io.roastedroot.zerofs.UserLookupService.NamedPrincipal
- nameFormat - Variable in class io.roastedroot.zerofs.PollingWatchService.ZeroFsThreadFactory
- names - Variable in class io.roastedroot.zerofs.PathType.ParseResult
- names - Variable in class io.roastedroot.zerofs.ZeroFsPath
- names() - Method in class io.roastedroot.zerofs.PathType.ParseResult
-
Returns the parsed name elements.
- names() - Method in class io.roastedroot.zerofs.ZeroFsPath
-
Returns the list of name elements.
- names(String[]) - Method in class io.roastedroot.zerofs.PathService
-
Returns the
Nameforms of the given strings. - namesComparator - Variable in class io.roastedroot.zerofs.PathService
- newAsynchronousFileChannel(Path, Set<? extends OpenOption>, ExecutorService, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- newDirectoryStream(ZeroFsPath, DirectoryStream.Filter<? super Path>, Set<? super LinkOption>, ZeroFsPath) - Method in class io.roastedroot.zerofs.FileSystemView
-
Creates a new directory stream for the directory located by the given path.
- newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- newDirectoryStream(Path, LinkOption...) - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- newFileChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- newFileSystem() - Static method in class io.roastedroot.zerofs.ZeroFs
-
Creates a new in-memory file system with a default configuration appropriate to the current operating system.
- newFileSystem(Configuration) - Static method in class io.roastedroot.zerofs.ZeroFs
-
Creates a new in-memory file system with the given configuration.
- newFileSystem(ZeroFsFileSystemProvider, URI, Configuration) - Static method in class io.roastedroot.zerofs.ZeroFsFileSystems
-
Initialize and configure a new file system with the given provider and URI, using the given configuration.
- newFileSystem(String) - Static method in class io.roastedroot.zerofs.ZeroFs
-
Creates a new in-memory file system with a default configuration appropriate to the current operating system.
- newFileSystem(String, Configuration) - Static method in class io.roastedroot.zerofs.ZeroFs
-
Creates a new in-memory file system with the given configuration.
- newFileSystem(URI, Configuration) - Static method in class io.roastedroot.zerofs.ZeroFs
- newFileSystem(URI, Map<String, ?>) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- newFileSystem(URI, Map<String, ?>) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- newFileSystem(Path, Map<String, ?>) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- newFileSystem(Path, Map<String, ?>) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- newInputStream(Path, OpenOption...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- newOutputStream(Path, OpenOption...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- newRandomFileSystemName() - Static method in class io.roastedroot.zerofs.ZeroFs
- newThread(Runnable) - Method in class io.roastedroot.zerofs.PollingWatchService.ZeroFsThreadFactory
- newWatchService() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
- newWatchService(FileSystemView, PathService) - Method in class io.roastedroot.zerofs.WatchServiceConfiguration
-
Creates a new
AbstractWatchServiceimplementation. - newWatchService(FileSystemView, PathService) - Method in class io.roastedroot.zerofs.WatchServiceConfiguration.PollingConfig
- newZeroFsFileChannel(ZeroFsPath, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- next - Variable in class io.roastedroot.zerofs.DirectoryEntry
- next() - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream.DirectoryIterator
- nextFileId() - Method in class io.roastedroot.zerofs.FileFactory
- nextPath - Variable in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream.DirectoryIterator
- nextPathReady - Variable in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream.DirectoryIterator
- nextPowerOf2(int) - Static method in class io.roastedroot.zerofs.Util
-
Returns the next power of 2 >= n.
- NFC - io.roastedroot.zerofs.PathNormalization
-
Unicode composed normalization (form NFC).
- NFD - io.roastedroot.zerofs.PathNormalization
-
Unicode decomposed normalization (form NFD).
- NO_ATTRS - Static variable in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- NOFOLLOW_LINKS - Static variable in class io.roastedroot.zerofs.Options
-
Set containing LinkOption.NOFOLLOW_LINKS.
- NON_DIRECTORY_ONLY - io.roastedroot.zerofs.FileSystemView.DeleteMode
-
Only delete non-directory files.
- NONE - io.roastedroot.zerofs.AttributeCopyOption
-
Do not copy any of the file's attributes.
- NONE - io.roastedroot.zerofs.PathNormalization
-
No normalization.
- NORMAL - Static variable in class io.roastedroot.zerofs.GlobToRegex
-
Normal state.
- normalize() - Method in class io.roastedroot.zerofs.ZeroFsPath
- normalize(String, Iterable<PathNormalization>) - Static method in enum io.roastedroot.zerofs.PathNormalization
-
Applies the given normalizations to the given string in order, returning the normalized result.
- NOT_EMPTY - Static variable in class io.roastedroot.zerofs.PathService
- now() - Method in class io.roastedroot.zerofs.FileSystemState
-
Returns the current
FileTime. - now() - Method in class io.roastedroot.zerofs.FileSystemView
- now() - Method in interface io.roastedroot.zerofs.FileTimeSource
-
Returns the current time according to this source as a
FileTime. - now() - Method in enum io.roastedroot.zerofs.SystemFileTimeSource
- NULL_ARRAY - Static variable in class io.roastedroot.zerofs.Util
O
- offsetInBlock(long) - Method in class io.roastedroot.zerofs.RegularFile
- onClose - Variable in class io.roastedroot.zerofs.FileSystemState
- open - Variable in class io.roastedroot.zerofs.AbstractWatchService
- open - Variable in class io.roastedroot.zerofs.FileSystemState
- open - Variable in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- open(RegularFile, Set<OpenOption>) - Static method in class io.roastedroot.zerofs.FileSystemView
-
Opens the given regular file with the given options, truncating it if necessary and incrementing its open count.
- openConnection(URL) - Method in class io.roastedroot.zerofs.Handler
- openCount - Variable in class io.roastedroot.zerofs.RegularFile
- opened() - Method in class io.roastedroot.zerofs.File
-
Called when a stream or channel to this file is opened.
- opened() - Method in class io.roastedroot.zerofs.RegularFile
- Options - Class in io.roastedroot.zerofs
-
Utility methods for normalizing user-provided options arrays and sets to canonical immutable sets of options.
- Options() - Constructor for class io.roastedroot.zerofs.Options
- OS_X - Static variable in class io.roastedroot.zerofs.Configuration.OsxHolder
- osX() - Static method in class io.roastedroot.zerofs.Configuration
-
Returns the default configuration for a Mac OS X-like file system.
- OsxHolder() - Constructor for class io.roastedroot.zerofs.Configuration.OsxHolder
- otherSeparators - Variable in class io.roastedroot.zerofs.PathType
- overflow - Variable in class io.roastedroot.zerofs.AbstractWatchService.Key
- overflowEvent(int) - Static method in class io.roastedroot.zerofs.AbstractWatchService.Key
- owner - Variable in class io.roastedroot.zerofs.PosixAttributeProvider.Attributes
- owner() - Method in class io.roastedroot.zerofs.PosixAttributeProvider.Attributes
- OwnerAttributeProvider - Class in io.roastedroot.zerofs
-
Attribute provider that provides the
FileOwnerAttributeView("owner"). - OwnerAttributeProvider() - Constructor for class io.roastedroot.zerofs.OwnerAttributeProvider
- OwnerAttributeProvider.View - Class in io.roastedroot.zerofs
-
Implementation of
FileOwnerAttributeView. - ownerView - Variable in class io.roastedroot.zerofs.AclAttributeProvider.View
- ownerView - Variable in class io.roastedroot.zerofs.PosixAttributeProvider.View
P
- parent() - Method in class io.roastedroot.zerofs.Directory
-
Returns the parent of this directory.
- PARENT - Static variable in class io.roastedroot.zerofs.Name
-
The name to use for a link from a directory to its parent directory.
- parseDriveRoot(String) - Method in class io.roastedroot.zerofs.WindowsPathType
-
Parses a normal drive-letter root, e.g.
- parsePath(String) - Method in class io.roastedroot.zerofs.PathType
-
Parses the given strings as a path.
- parsePath(String) - Method in class io.roastedroot.zerofs.UnixPathType
- parsePath(String) - Method in class io.roastedroot.zerofs.WindowsPathType
- parsePath(String, String...) - Method in class io.roastedroot.zerofs.PathService
-
Parses the given strings as a path.
- ParseResult(String, String[]) - Constructor for class io.roastedroot.zerofs.PathType.ParseResult
- parseUncRoot(String, String) - Method in class io.roastedroot.zerofs.WindowsPathType
-
Parse the root of a UNC-style path, throwing an exception if the path does not start with a valid UNC root.
- parseUriPath(String) - Method in class io.roastedroot.zerofs.PathType
-
Parses a path from the given URI path.
- parseUriPath(String) - Method in class io.roastedroot.zerofs.UnixPathType
- parseUriPath(String) - Method in class io.roastedroot.zerofs.WindowsPathType
- path() - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- pathEqualityUsesCanonicalForm - Variable in class io.roastedroot.zerofs.Configuration.Builder
- pathEqualityUsesCanonicalForm - Variable in class io.roastedroot.zerofs.Configuration
- PathMatchers - Class in io.roastedroot.zerofs
-
PathMatcherfactory for any file system. - PathMatchers() - Constructor for class io.roastedroot.zerofs.PathMatchers
- PathMatchers.RegexPathMatcher - Class in io.roastedroot.zerofs
-
PathMatcherthat matches thetoString()form of aPathagainst a regexPattern. - PathNormalization - Enum in io.roastedroot.zerofs
-
Normalizations that can be applied to names in paths.
- PathNormalization(int) - Constructor for enum io.roastedroot.zerofs.PathNormalization
- pathService - Variable in class io.roastedroot.zerofs.PollingWatchService
- pathService - Variable in class io.roastedroot.zerofs.ZeroFsFileSystem
- pathService - Variable in class io.roastedroot.zerofs.ZeroFsPath
- PathService - Class in io.roastedroot.zerofs
-
Service for creating
ZeroFsPathinstances and handling other path-related operations. - PathService(Configuration) - Constructor for class io.roastedroot.zerofs.PathService
- PathService(PathType, Iterable<PathNormalization>, Iterable<PathNormalization>, boolean) - Constructor for class io.roastedroot.zerofs.PathService
- pathType - Variable in class io.roastedroot.zerofs.Configuration.Builder
- pathType - Variable in class io.roastedroot.zerofs.Configuration
- PathType - Class in io.roastedroot.zerofs
-
An object defining a specific type of path.
- PathType(boolean, char, char...) - Constructor for class io.roastedroot.zerofs.PathType
- PathType.ParseResult - Class in io.roastedroot.zerofs
-
Simple result of parsing a path.
- PathURLConnection - Class in io.roastedroot.zerofs
-
URLConnectionimplementation. - PathURLConnection(URL) - Constructor for class io.roastedroot.zerofs.PathURLConnection
- pattern - Variable in class io.roastedroot.zerofs.PathMatchers.RegexPathMatcher
- patternFlags - Variable in enum io.roastedroot.zerofs.PathNormalization
- patternFlags() - Method in enum io.roastedroot.zerofs.PathNormalization
-
Returns the flags that should be used when creating a regex
Patternin order to approximate this normalization. - permissions - Variable in class io.roastedroot.zerofs.PosixAttributeProvider.Attributes
- permissions() - Method in class io.roastedroot.zerofs.PosixAttributeProvider.Attributes
- poison - Variable in class io.roastedroot.zerofs.AbstractWatchService
- poll() - Method in class io.roastedroot.zerofs.AbstractWatchService
- poll(long, TimeUnit) - Method in class io.roastedroot.zerofs.AbstractWatchService
- pollEvents() - Method in class io.roastedroot.zerofs.AbstractWatchService.Key
- polling(long, TimeUnit) - Static method in class io.roastedroot.zerofs.WatchServiceConfiguration
-
Returns a configuration for a
WatchServicethat polls watched directories for changes everyintervalof the giventimeUnit(e.g. - PollingConfig(long, TimeUnit) - Constructor for class io.roastedroot.zerofs.WatchServiceConfiguration.PollingConfig
- pollingFuture - Variable in class io.roastedroot.zerofs.PollingWatchService
- pollingService - Variable in class io.roastedroot.zerofs.PollingWatchService
- pollingTask - Variable in class io.roastedroot.zerofs.PollingWatchService
- PollingWatchService - Class in io.roastedroot.zerofs
-
Implementation of
WatchServicethat polls for changes to directories at registered paths. - PollingWatchService(FileSystemView, PathService, FileSystemState, long, TimeUnit) - Constructor for class io.roastedroot.zerofs.PollingWatchService
- PollingWatchService.Snapshot - Class in io.roastedroot.zerofs
-
Snapshot of the state of a directory at a particular moment.
- PollingWatchService.ZeroFsThreadFactory - Class in io.roastedroot.zerofs
- popState() - Method in class io.roastedroot.zerofs.GlobToRegex
-
Returns to the previous state.
- pos - Variable in class io.roastedroot.zerofs.ZeroFsInputStream
- pos - Variable in class io.roastedroot.zerofs.ZeroFsOutputStream
- position - Variable in class io.roastedroot.zerofs.ZeroFsFileChannel
- position() - Method in class io.roastedroot.zerofs.DowngradedSeekableByteChannel
- position() - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- position(long) - Method in class io.roastedroot.zerofs.DowngradedSeekableByteChannel
- position(long) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- PosixAttributeProvider - Class in io.roastedroot.zerofs
-
Attribute provider that provides the
PosixFileAttributeView("posix") and allows reading ofPosixFileAttributes. - PosixAttributeProvider() - Constructor for class io.roastedroot.zerofs.PosixAttributeProvider
- PosixAttributeProvider.Attributes - Class in io.roastedroot.zerofs
-
Implementation of
PosixFileAttributes. - PosixAttributeProvider.View - Class in io.roastedroot.zerofs
-
Implementation of
PosixFileAttributeView. - post(WatchEvent<?>) - Method in class io.roastedroot.zerofs.AbstractWatchService.Key
-
Posts the given event to this key.
- postChanges(PollingWatchService.Snapshot, AbstractWatchService.Key) - Method in class io.roastedroot.zerofs.PollingWatchService.Snapshot
-
Posts events to the given key based on the kinds of events it subscribes to and what events have occurred between this state and the given new state.
- prepareForWrite(long, long) - Method in class io.roastedroot.zerofs.RegularFile
-
Prepares for a write of len bytes starting at position pos.
- prepareNext() - Method in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream.DirectoryIterator
- process(GlobToRegex, char) - Method in class io.roastedroot.zerofs.GlobToRegex.State
-
Process the next character with the current state, transitioning the converter to a new state if necessary.
- processQueue() - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- provider - Variable in class io.roastedroot.zerofs.ZeroFsFileSystem
- provider() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
- PROVIDERS - Static variable in class io.roastedroot.zerofs.StandardAttributeProviders
- providersByAttributesType - Variable in class io.roastedroot.zerofs.AttributeService
- providersByName - Variable in class io.roastedroot.zerofs.AttributeService
- providersByViewType - Variable in class io.roastedroot.zerofs.AttributeService
- pushState(GlobToRegex.State) - Method in class io.roastedroot.zerofs.GlobToRegex
-
Enters the given state.
- put(byte[], int, byte[], int, int) - Static method in class io.roastedroot.zerofs.RegularFile
-
Puts the given slice of the given array at the given offset in the given block.
- put(byte[], int, ByteBuffer) - Static method in class io.roastedroot.zerofs.RegularFile
-
Puts the contents of the given byte buffer at the given offset in the given block.
- put(DirectoryEntry) - Method in class io.roastedroot.zerofs.Directory
-
Adds the given entry to the directory.
- put(DirectoryEntry, boolean) - Method in class io.roastedroot.zerofs.Directory
-
Adds the given entry to the directory.
- put(K, V) - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- putAll(Map<? extends K, ? extends V>) - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- putAll(Map<String, Map<String, Object>>) - Method in class io.roastedroot.zerofs.File
- putIfAbsent(K, V) - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
Q
- queue - Variable in class io.roastedroot.zerofs.AbstractWatchService
- queue - Variable in class io.roastedroot.zerofs.WeakValueConcurrentMap
- queuedKeys() - Method in class io.roastedroot.zerofs.AbstractWatchService
R
- read - Variable in class io.roastedroot.zerofs.ZeroFsFileChannel
- read() - Method in class io.roastedroot.zerofs.ZeroFsInputStream
- read(byte[]) - Method in class io.roastedroot.zerofs.ZeroFsInputStream
- read(byte[], int, int) - Method in class io.roastedroot.zerofs.ZeroFsInputStream
- read(long) - Method in class io.roastedroot.zerofs.RegularFile
-
Reads the byte at position
posin this file as an unsigned integer in the range 0-255. - read(long, byte[], int, int) - Method in class io.roastedroot.zerofs.RegularFile
-
Reads up to
lenbytes starting at positionposin this file to the given byte array starting at offsetoff. - read(long, Iterable<ByteBuffer>) - Method in class io.roastedroot.zerofs.RegularFile
-
Reads up to the total
remaining()number of bytes in each ofbufsstarting at positionposin this file to the given buffers, in order. - read(long, ByteBuffer) - Method in class io.roastedroot.zerofs.RegularFile
-
Reads up to
buf.remaining()bytes starting at positionposin this file to the given buffer. - read(String, ByteBuffer) - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider.View
- read(ByteBuffer) - Method in class io.roastedroot.zerofs.DowngradedSeekableByteChannel
- read(ByteBuffer) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- read(ByteBuffer[], int, int) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- read(ByteBuffer, long) - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- read(ByteBuffer, long) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- read(ByteBuffer, long, A, CompletionHandler<Integer, ? super A>) - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- readAll(File, AttributeProvider, Map<String, Object>) - Static method in class io.roastedroot.zerofs.AttributeService
- readAttributes() - Method in class io.roastedroot.zerofs.BasicAttributeProvider.View
- readAttributes() - Method in class io.roastedroot.zerofs.DosAttributeProvider.View
- readAttributes() - Method in class io.roastedroot.zerofs.PosixAttributeProvider.View
- readAttributes(File) - Method in class io.roastedroot.zerofs.AttributeProvider
-
Reads this provider's attributes from the given file as an attributes object.
- readAttributes(File) - Method in class io.roastedroot.zerofs.BasicAttributeProvider
- readAttributes(File) - Method in class io.roastedroot.zerofs.DosAttributeProvider
- readAttributes(File) - Method in class io.roastedroot.zerofs.PosixAttributeProvider
- readAttributes(File, Class<A>) - Method in class io.roastedroot.zerofs.AttributeService
-
Returns attributes of the given file as an object of the given type.
- readAttributes(File, Class<A>) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns attributes of the given file as an object of the given type.
- readAttributes(File, String) - Method in class io.roastedroot.zerofs.AttributeService
-
Implements
Files.readAttributes(Path, String, LinkOption...). - readAttributes(File, String) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns a map containing the attributes described by the given string mapped to their values.
- readAttributes(ZeroFsPath, Class<A>, Set<? super LinkOption>) - Method in class io.roastedroot.zerofs.FileSystemView
-
Reads attributes of the file located by the given path in this view as an object.
- readAttributes(ZeroFsPath, String, Set<? super LinkOption>) - Method in class io.roastedroot.zerofs.FileSystemView
-
Reads attributes of the file located by the given path in this view as a map.
- readAttributes(Path, Class<A>, LinkOption...) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- readAttributes(Path, Class<A>, LinkOption...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- readAttributes(Path, String, LinkOption...) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- readAttributes(Path, String, LinkOption...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- readInternal(byte[], int, int) - Method in class io.roastedroot.zerofs.ZeroFsInputStream
- readLock - Variable in class io.roastedroot.zerofs.ZeroFsFileStore
- readLock() - Method in class io.roastedroot.zerofs.RegularFile
-
Returns the read lock for this file.
- readLock() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns the read lock for this store.
- readOnly - Variable in class io.roastedroot.zerofs.DosAttributeProvider.Attributes
- readSymbolicLink(ZeroFsPath) - Method in class io.roastedroot.zerofs.FileSystemView
-
Returns the target of the symbolic link at the given path.
- readSymbolicLink(Path) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- READY - io.roastedroot.zerofs.AbstractWatchService.Key.State
- REGEX_RESERVED - Static variable in class io.roastedroot.zerofs.GlobToRegex
- RegexPathMatcher(Pattern) - Constructor for class io.roastedroot.zerofs.PathMatchers.RegexPathMatcher
- regexReservedChars - Static variable in class io.roastedroot.zerofs.PathType
- register() - Static method in class io.roastedroot.zerofs.Handler
-
Registers this handler by adding the package
com.google.commonto the system property"java.protocol.handler.pkgs". - register(C) - Method in class io.roastedroot.zerofs.FileSystemState
-
Registers the given resource to be closed when the file system is closed.
- register(Class<? extends URLStreamHandler>) - Static method in class io.roastedroot.zerofs.Handler
-
Generic method that would allow registration of any properly placed
Handlerclass. - register(Watchable, Iterable<? extends WatchEvent.Kind<?>>) - Method in class io.roastedroot.zerofs.AbstractWatchService
-
Registers the given watchable with this service, returning a new watch key for it.
- register(Watchable, Iterable<? extends WatchEvent.Kind<?>>) - Method in class io.roastedroot.zerofs.PollingWatchService
- register(WatchService, WatchEvent.Kind<?>...) - Method in class io.roastedroot.zerofs.ZeroFsPath
- register(WatchService, WatchEvent.Kind<?>[], WatchEvent.Modifier...) - Method in class io.roastedroot.zerofs.ZeroFsPath
- registering - Variable in class io.roastedroot.zerofs.FileSystemState
-
Count of resources currently in the process of being registered.
- regularFile - Variable in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- RegularFile - Class in io.roastedroot.zerofs
-
A mutable, resizable store for bytes.
- RegularFile(int, FileTime, HeapDisk, byte[][], int, long) - Constructor for class io.roastedroot.zerofs.RegularFile
- regularFileCreator() - Method in class io.roastedroot.zerofs.FileFactory
-
Returns a supplier that creates regular files.
- regularFileCreator() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns a supplier that creates a new regular file.
- regularFileSupplier - Variable in class io.roastedroot.zerofs.FileFactory
- RegularFileSupplier() - Constructor for class io.roastedroot.zerofs.FileFactory.RegularFileSupplier
- relativize(Path) - Method in class io.roastedroot.zerofs.ZeroFsPath
- release() - Method in class io.roastedroot.zerofs.ZeroFsFileChannel.FakeFileLock
- remove(Name) - Method in class io.roastedroot.zerofs.Directory
-
Removes and returns the entry for the given name from the directory.
- remove(Object) - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- remove(Object, Object) - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- removeFileSystemRunnable(URI) - Static method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
-
Returns a runnable that, when run, removes the file system with the given URI from this provider.
- removeFileSystemRunnable(URI) - Static method in class io.roastedroot.zerofs.ZeroFsFileSystems
-
Returns a
Runnablethat will remove the file system with the givenURIfrom the system provider's cache when called. - replace(K, V) - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- replace(K, V, V) - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- requireDirectory(Path) - Method in class io.roastedroot.zerofs.DirectoryEntry
-
Checks that this entry exists and links to a directory, throwing an exception if not.
- requireDoesNotExist(Path) - Method in class io.roastedroot.zerofs.DirectoryEntry
-
Checks that this entry does not exist, throwing an exception if it does.
- requireExists(Path) - Method in class io.roastedroot.zerofs.DirectoryEntry
-
Checks that this entry exists, throwing an exception if not.
- requireSymbolicLink(Path) - Method in class io.roastedroot.zerofs.DirectoryEntry
-
Checks that this entry exists and links to a symbolic link, throwing an exception if not.
- reset() - Method in class io.roastedroot.zerofs.AbstractWatchService.Key
- resizeThreshold - Variable in class io.roastedroot.zerofs.Directory
- resolve(Name) - Method in class io.roastedroot.zerofs.ZeroFsPath
-
Resolves the given name against this path.
- resolve(String) - Method in class io.roastedroot.zerofs.ZeroFsPath
- resolve(Path) - Method in class io.roastedroot.zerofs.ZeroFsPath
- resolveSibling(String) - Method in class io.roastedroot.zerofs.ZeroFsPath
- resolveSibling(Path) - Method in class io.roastedroot.zerofs.ZeroFsPath
- resources - Variable in class io.roastedroot.zerofs.FileSystemState
- root - Variable in class io.roastedroot.zerofs.PathType.ParseResult
- root - Variable in class io.roastedroot.zerofs.ZeroFsPath
- root() - Method in class io.roastedroot.zerofs.PathType.ParseResult
-
Returns the parsed root element, or null if there was no root.
- root() - Method in class io.roastedroot.zerofs.ZeroFsPath
-
Returns the root name, or null if there is no root.
- rootComparator - Variable in class io.roastedroot.zerofs.PathService
- roots - Variable in class io.roastedroot.zerofs.Configuration.Builder
- roots - Variable in class io.roastedroot.zerofs.Configuration
- roots - Variable in class io.roastedroot.zerofs.FileTree
-
Map of root names to root directories.
S
- saturatedCast(long) - Static method in class io.roastedroot.zerofs.ZeroFsInputStream
- SECURE_DIRECTORY_STREAM - io.roastedroot.zerofs.Feature
-
Feature controlling support for
SecureDirectoryStream. - secureDirectoryStream - Variable in class io.roastedroot.zerofs.DowngradedDirectoryStream
- SELF - Static variable in class io.roastedroot.zerofs.Name
-
The name to use for a link from a directory to itself.
- separator - Variable in class io.roastedroot.zerofs.PathType
- separatorMatcher - Variable in class io.roastedroot.zerofs.GlobToRegex
- separators - Variable in class io.roastedroot.zerofs.GlobToRegex
- set(File, String, String, Object, boolean) - Method in class io.roastedroot.zerofs.AclAttributeProvider
- set(File, String, String, Object, boolean) - Method in class io.roastedroot.zerofs.AttributeProvider
-
Sets the value of the given attribute in the given file object.
- set(File, String, String, Object, boolean) - Method in class io.roastedroot.zerofs.BasicAttributeProvider
- set(File, String, String, Object, boolean) - Method in class io.roastedroot.zerofs.DosAttributeProvider
- set(File, String, String, Object, boolean) - Method in class io.roastedroot.zerofs.OwnerAttributeProvider
- set(File, String, String, Object, boolean) - Method in class io.roastedroot.zerofs.PosixAttributeProvider
- set(File, String, String, Object, boolean) - Method in class io.roastedroot.zerofs.UnixAttributeProvider
- set(File, String, String, Object, boolean) - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider
- setAcl(List<AclEntry>) - Method in class io.roastedroot.zerofs.AclAttributeProvider.View
- setArchive(boolean) - Method in class io.roastedroot.zerofs.DosAttributeProvider.View
- setAttribute(File, String, Object) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Sets the given attribute to the given value for the given file.
- setAttribute(File, String, Object, boolean) - Method in class io.roastedroot.zerofs.AttributeService
-
Sets the value of the given attribute to the given value for the given file.
- setAttribute(ZeroFsPath, String, Object, Set<? super LinkOption>) - Method in class io.roastedroot.zerofs.FileSystemView
-
Sets the given attribute to the given value on the file located by the given path in this view.
- setAttribute(String, String, Object) - Method in class io.roastedroot.zerofs.File
-
Sets the given attribute in the given view to the given value.
- setAttribute(Path, String, Object, LinkOption...) - Method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- setAttribute(Path, String, Object, LinkOption...) - Method in class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- setAttributeInternal(File, String, String, Object, boolean) - Method in class io.roastedroot.zerofs.AttributeService
- setAttributeViews(String, String...) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Sets the attribute views the file system should support.
- setBlockSize(int) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Sets the block size (in bytes) for the file system to use.
- setCreationTime(FileTime) - Method in class io.roastedroot.zerofs.File
-
Sets the creation time of the file.
- setDefaultAttributeValue(String, Object) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Sets the default value to use for the given file attribute when creating new files.
- setDisplayName(String) - Method in class io.roastedroot.zerofs.Configuration.Builder
- setFileSystem(FileSystem) - Method in class io.roastedroot.zerofs.PathService
-
Sets the file system to use for created paths.
- setFileTimes(FileTime, FileTime, FileTime) - Method in class io.roastedroot.zerofs.File
- setFileTimeSource(FileTimeSource) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Sets the
FileTimeSourcethat will supply the current time for this file system. - setGroup(GroupPrincipal) - Method in class io.roastedroot.zerofs.PosixAttributeProvider.View
- setHidden(boolean) - Method in class io.roastedroot.zerofs.DosAttributeProvider.View
- setInitialAttributes(File, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.AttributeService
-
Sets all initial attributes for the given file, including the given attributes if possible.
- setInitialAttributes(File, FileAttribute<?>...) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Sets initial attributes on the given file.
- setLastAccessTime(FileTime) - Method in class io.roastedroot.zerofs.File
-
Sets the last access time of the file.
- setLastModifiedTime(FileTime) - Method in class io.roastedroot.zerofs.File
-
Sets the last modified time of the file.
- setMaxCacheSize(long) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Sets the maximum amount of unused space (in bytes) in the file system's in-memory file storage that should be cached for reuse.
- setMaxSize(long) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Sets the maximum size (in bytes) for the file system's in-memory file storage.
- setNameCanonicalNormalization(PathNormalization, PathNormalization...) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Returns the normalizations that will be applied to the canonical form of filenames in the file system.
- setNameDisplayNormalization(PathNormalization, PathNormalization...) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Sets the normalizations that will be applied to the display form of filenames.
- setOwner(UserPrincipal) - Method in class io.roastedroot.zerofs.AclAttributeProvider.View
- setOwner(UserPrincipal) - Method in class io.roastedroot.zerofs.OwnerAttributeProvider.View
- setOwner(UserPrincipal) - Method in class io.roastedroot.zerofs.PosixAttributeProvider.View
- setPathEqualityUsesCanonicalForm(boolean) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Sets whether
Pathobjects in the file system use the canonical form (true) or the display form (false) of filenames for determining equality of two paths. - setPermissions(Set<PosixFilePermission>) - Method in class io.roastedroot.zerofs.PosixAttributeProvider.View
- setReadOnly(boolean) - Method in class io.roastedroot.zerofs.DosAttributeProvider.View
- setRoots(String, String...) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Sets the roots for the file system.
- setSupportedFeatures(Feature...) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Sets the given features to be supported by the file system.
- setSystem(boolean) - Method in class io.roastedroot.zerofs.DosAttributeProvider.View
- setTimes(FileTime, FileTime, FileTime) - Method in class io.roastedroot.zerofs.BasicAttributeProvider.View
- setTimes(FileTime, FileTime, FileTime) - Method in class io.roastedroot.zerofs.DosAttributeProvider.View
- setTimes(FileTime, FileTime, FileTime) - Method in class io.roastedroot.zerofs.PosixAttributeProvider.View
- setWatchServiceConfiguration(WatchServiceConfiguration) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Sets the configuration that
WatchServiceinstances created by the file system should use. - setWorkingDirectory(String) - Method in class io.roastedroot.zerofs.Configuration.Builder
-
Sets the path to the working directory for the file system.
- shutdown() - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel.CompletableListeningExecutor
- signal() - Method in class io.roastedroot.zerofs.AbstractWatchService.Key
-
Sets the state to SIGNALLED and enqueues this key with the watcher if it was previously in the READY state.
- SIGNALLED - io.roastedroot.zerofs.AbstractWatchService.Key.State
- simple(String) - Static method in class io.roastedroot.zerofs.Name
-
Creates a new name with no normalization done on the given string.
- SimpleFileAttribute(String, T) - Constructor for class io.roastedroot.zerofs.AttributeService.SimpleFileAttribute
- size - Variable in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- size - Variable in class io.roastedroot.zerofs.RegularFile
- size() - Method in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- size() - Method in class io.roastedroot.zerofs.DowngradedSeekableByteChannel
- size() - Method in class io.roastedroot.zerofs.File
-
Returns the size, in bytes, of this file's content.
- size() - Method in class io.roastedroot.zerofs.RegularFile
- size() - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- size() - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- size() - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- size(String) - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider.View
- sizeWithoutLocking() - Method in class io.roastedroot.zerofs.RegularFile
-
Gets the current size of this file in bytes.
- skip(long) - Method in class io.roastedroot.zerofs.ZeroFsInputStream
- smearHash(int) - Static method in class io.roastedroot.zerofs.Util
- snapshot() - Method in class io.roastedroot.zerofs.Directory
-
Creates an immutable sorted snapshot of the names this directory contains, excluding "." and "..".
- Snapshot(Map<Name, FileTime>) - Constructor for class io.roastedroot.zerofs.PollingWatchService.Snapshot
- snapshotModifiedTimes(ZeroFsPath) - Method in class io.roastedroot.zerofs.FileSystemView
-
Returns a snapshot mapping the names of each file in the directory at the given path to the last modified time of that file.
- snapshots - Variable in class io.roastedroot.zerofs.PollingWatchService
-
Map of keys to the most recent directory snapshot for each key.
- snapshotWorkingDirectoryEntries() - Method in class io.roastedroot.zerofs.FileSystemView
-
Snapshots the entries of the working directory of this view.
- split(String) - Method in class io.roastedroot.zerofs.PathType
-
Returns the path splitter for this path type.
- splitter - Variable in class io.roastedroot.zerofs.PathType
- StandardAttributeProviders - Class in io.roastedroot.zerofs
-
Static registry of
AttributeProviderimplementations for the standard set of file attribute views ZeroFs supports. - StandardAttributeProviders() - Constructor for class io.roastedroot.zerofs.StandardAttributeProviders
- STAR - Static variable in class io.roastedroot.zerofs.GlobToRegex
-
State following the reading of a single *.
- startPolling() - Method in class io.roastedroot.zerofs.PollingWatchService
- startsWith(String) - Method in class io.roastedroot.zerofs.ZeroFsPath
- startsWith(Path) - Method in class io.roastedroot.zerofs.ZeroFsPath
- startsWith(List<?>, List<?>) - Static method in class io.roastedroot.zerofs.ZeroFsPath
-
Returns true if list starts with all elements of other in the same order.
- state - Variable in class io.roastedroot.zerofs.AbstractWatchService.Key
- state - Variable in class io.roastedroot.zerofs.ZeroFsFileStore
- state() - Method in class io.roastedroot.zerofs.AbstractWatchService.Key
-
Gets the current state of this key, State.READY or SIGNALLED.
- state() - Method in class io.roastedroot.zerofs.FileSystemView
-
Returns the file system state.
- state() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns the file system state object.
- State() - Constructor for enum io.roastedroot.zerofs.AbstractWatchService.Key.State
- State() - Constructor for class io.roastedroot.zerofs.GlobToRegex.State
- states - Variable in class io.roastedroot.zerofs.GlobToRegex
- stopPolling() - Method in class io.roastedroot.zerofs.PollingWatchService
- store - Variable in class io.roastedroot.zerofs.FileSystemView
- stream - Variable in class io.roastedroot.zerofs.PathURLConnection
- stringIsNullOrEmpty(String) - Static method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
- submit(Runnable) - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel.CompletableListeningExecutor
- submit(Callable<T>) - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel.CompletableListeningExecutor
- subpath(int, int) - Method in class io.roastedroot.zerofs.ZeroFsPath
- subscribedTypes - Variable in class io.roastedroot.zerofs.AbstractWatchService.Key
- subscribesTo(WatchEvent.Kind<?>) - Method in class io.roastedroot.zerofs.AbstractWatchService.Key
-
Gets whether or not this key is subscribed to the given type of event.
- supportedFeatures - Variable in class io.roastedroot.zerofs.Configuration.Builder
- supportedFeatures - Variable in class io.roastedroot.zerofs.Configuration
- supportedFeatures - Variable in class io.roastedroot.zerofs.ZeroFsFileStore
- supportedFileAttributeViews() - Method in class io.roastedroot.zerofs.AttributeService
-
Implements
FileSystem.supportedFileAttributeViews(). - supportedFileAttributeViews() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns the file attribute views supported by this store.
- supportedFileAttributeViews() - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
- supports(String) - Method in class io.roastedroot.zerofs.AttributeProvider
-
Returns whether or not this provider supports the given attribute directly.
- supports(String) - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider
- supportsFeature(Feature) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns whether or not the given feature is supported by this file store.
- supportsFileAttributeView(Class<? extends FileAttributeView>) - Method in class io.roastedroot.zerofs.AttributeService
-
Implements
FileStore.supportsFileAttributeView(Class). - supportsFileAttributeView(Class<? extends FileAttributeView>) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
- supportsFileAttributeView(String) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
- supportsGroups - Variable in class io.roastedroot.zerofs.UserLookupService
- SYMBOLIC_LINKS - io.roastedroot.zerofs.Feature
-
Feature controlling support for symbolic links.
- symbolicLink - Variable in class io.roastedroot.zerofs.BasicAttributeProvider.Attributes
- SymbolicLink - Class in io.roastedroot.zerofs
-
A symbolic link file, containing a path.
- SymbolicLink(int, FileTime, ZeroFsPath) - Constructor for class io.roastedroot.zerofs.SymbolicLink
- symbolicLinkCreator(ZeroFsPath) - Method in class io.roastedroot.zerofs.FileFactory
-
Returns a supplier that creates a symbolic links to the given path.
- symbolicLinkCreator(ZeroFsPath) - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns a supplier that creates a new symbolic link with the given target.
- SymbolicLinkSupplier(ZeroFsPath) - Constructor for class io.roastedroot.zerofs.FileFactory.SymbolicLinkSupplier
- syntaxError(String) - Method in class io.roastedroot.zerofs.GlobToRegex
-
Throws a
PatternSyntaxException. - system - Variable in class io.roastedroot.zerofs.DosAttributeProvider.Attributes
- SystemFileTimeSource - Enum in io.roastedroot.zerofs
-
Implementation of of
FileTimeSourcethat gets the current time from the system. - SystemFileTimeSource() - Constructor for enum io.roastedroot.zerofs.SystemFileTimeSource
- systemProvider - Static variable in class io.roastedroot.zerofs.ZeroFs
-
The system-loaded instance of
SystemZeroFsFileSystemProvider, ornullif it could not be found or loaded. - SystemZeroFsFileSystemProvider - Class in io.roastedroot.zerofs
-
FileSystemProviderimplementation for ZeroFs that is loaded by the system as a service. - SystemZeroFsFileSystemProvider() - Constructor for class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
-
Deprecated.Not intended to be called directly; this class is only for use by Java itself.
T
- table - Variable in class io.roastedroot.zerofs.Directory
- take() - Method in class io.roastedroot.zerofs.AbstractWatchService
- takeSnapshot(ZeroFsPath) - Method in class io.roastedroot.zerofs.PollingWatchService
- target - Variable in class io.roastedroot.zerofs.FileFactory.SymbolicLinkSupplier
- target - Variable in class io.roastedroot.zerofs.SymbolicLink
- target() - Method in class io.roastedroot.zerofs.SymbolicLink
-
Returns the target path of this symbolic link.
- THREAD_FACTORY - Static variable in class io.roastedroot.zerofs.PollingWatchService
-
Thread factory for polling threads, which should be daemon threads so as not to keep the VM running if the user doesn't close the watch service or the file system.
- timeUnit - Variable in class io.roastedroot.zerofs.PollingWatchService
- timeUnit - Variable in class io.roastedroot.zerofs.WatchServiceConfiguration.PollingConfig
- toAbsolutePath() - Method in class io.roastedroot.zerofs.ZeroFsPath
- toAcl(List<?>) - Static method in class io.roastedroot.zerofs.AclAttributeProvider
- toArray(List<Name>) - Static method in class io.roastedroot.zerofs.Util
- toBlockCount(long, int) - Static method in class io.roastedroot.zerofs.HeapDisk
-
Returns the nearest multiple of
blockSizethat is <=size. - toBuilder() - Method in class io.roastedroot.zerofs.Configuration
-
Returns a new mutable builder that initially contains the same settings as this configuration.
- toDirectory(File) - Method in class io.roastedroot.zerofs.FileTree
- toFile() - Method in class io.roastedroot.zerofs.ZeroFsPath
- toFileSystemUri(URI) - Static method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
-
Returns the given URI with any path, query or fragment stripped off.
- toLowerCase(String) - Static method in class io.roastedroot.zerofs.Util
- toMode(Set<PosixFilePermission>) - Static method in class io.roastedroot.zerofs.UnixAttributeProvider
- toPath(PathType.ParseResult) - Method in class io.roastedroot.zerofs.PathService
- toPath(URI) - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
-
Converts the given URI into a path in this file system.
- toPath(FileSystem, URI) - Static method in class io.roastedroot.zerofs.SystemZeroFsFileSystemProvider
-
Invokes the
toPath(URI)method on the givenFileSystem. - toPermissions(Set<?>) - Static method in class io.roastedroot.zerofs.PosixAttributeProvider
- toRealPath(ZeroFsPath, PathService, Set<? super LinkOption>) - Method in class io.roastedroot.zerofs.FileSystemView
-
Gets the real path to the file located by the given path.
- toRealPath(LinkOption...) - Method in class io.roastedroot.zerofs.ZeroFsPath
- toRegex(String, String) - Static method in class io.roastedroot.zerofs.GlobToRegex
-
Converts the given glob to a regular expression pattern.
- toString() - Method in class io.roastedroot.zerofs.AbstractWatchService.Event
- toString() - Method in class io.roastedroot.zerofs.Configuration
- toString() - Method in class io.roastedroot.zerofs.DirectoryEntry
- toString() - Method in class io.roastedroot.zerofs.File
- toString() - Method in class io.roastedroot.zerofs.LexicographicalOrdering
- toString() - Method in class io.roastedroot.zerofs.Name
- toString() - Method in class io.roastedroot.zerofs.PathMatchers.RegexPathMatcher
- toString() - Method in class io.roastedroot.zerofs.PathType
- toString() - Method in enum io.roastedroot.zerofs.SystemFileTimeSource
- toString() - Method in class io.roastedroot.zerofs.UserLookupService.NamedPrincipal
- toString() - Method in class io.roastedroot.zerofs.WatchServiceConfiguration.PollingConfig
- toString() - Method in class io.roastedroot.zerofs.ZeroFsPath
- toString(ZeroFsPath) - Method in class io.roastedroot.zerofs.PathService
-
Returns the string form of the given path.
- toString(String, String[]) - Method in class io.roastedroot.zerofs.PathType
-
Returns the string form of the given path.
- toString(String, String[]) - Method in class io.roastedroot.zerofs.UnixPathType
- toString(String, String[]) - Method in class io.roastedroot.zerofs.WindowsPathType
- toUri() - Method in class io.roastedroot.zerofs.ZeroFsPath
- toUri(ZeroFsPath) - Method in class io.roastedroot.zerofs.ZeroFsFileSystem
-
Gets the URI of the given path in this file system.
- toUri(URI, ZeroFsPath) - Method in class io.roastedroot.zerofs.PathService
-
Returns the URI for the given path.
- toUri(URI, String, String[], boolean) - Method in class io.roastedroot.zerofs.PathType
-
Creates a URI for the path with the given root and names in the file system with the given URI.
- toUri(URI, String, List<String>, boolean) - Method in class io.roastedroot.zerofs.PathType
- toUri(URL) - Static method in class io.roastedroot.zerofs.PathURLConnection
- toUriPath(String, String[], boolean) - Method in class io.roastedroot.zerofs.PathType
-
Returns the string form of the given path for use in the path part of a URI.
- toUriPath(String, String[], boolean) - Method in class io.roastedroot.zerofs.UnixPathType
- toUriPath(String, String[], boolean) - Method in class io.roastedroot.zerofs.WindowsPathType
- TRAILING_SPACES - Static variable in class io.roastedroot.zerofs.WindowsPathType
-
Pattern for matching trailing spaces in file names.
- transferBlocksTo(RegularFile, int) - Method in class io.roastedroot.zerofs.RegularFile
-
Transfers the last
countblocks from this file to the end of the given target file. - transferFrom(ReadableByteChannel, long, long) - Method in class io.roastedroot.zerofs.RegularFile
-
Transfers up to
countbytes from the given channel to this file starting at positionpos. - transferFrom(ReadableByteChannel, long, long) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- transferTo(long, long, WritableByteChannel) - Method in class io.roastedroot.zerofs.RegularFile
-
Transfers up to
countbytes to the given channel starting at positionposin this file. - transferTo(long, long, WritableByteChannel) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- tree - Variable in class io.roastedroot.zerofs.ZeroFsFileStore
- truncate(long) - Method in class io.roastedroot.zerofs.DowngradedSeekableByteChannel
- truncate(long) - Method in class io.roastedroot.zerofs.RegularFile
-
Truncates this file to the given
size. - truncate(long) - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- truncate(long) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- truncateBlocks(int) - Method in class io.roastedroot.zerofs.RegularFile
-
Truncates the blocks of this file to the given block count.
- tryLock(long, long, boolean) - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- tryLock(long, long, boolean) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- type - Variable in class io.roastedroot.zerofs.PathService
- type() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
U
- uidGenerator - Variable in class io.roastedroot.zerofs.UnixAttributeProvider
- UNC_ROOT - Static variable in class io.roastedroot.zerofs.WindowsPathType
-
Pattern for matching UNC \\host\share root syntax.
- unix() - Static method in class io.roastedroot.zerofs.Configuration
-
Returns the default configuration for a UNIX-like file system.
- unix() - Static method in class io.roastedroot.zerofs.PathType
-
Returns a Unix-style path type.
- UNIX - Static variable in class io.roastedroot.zerofs.Configuration.UnixHolder
- UnixAttributeProvider - Class in io.roastedroot.zerofs
-
Attribute provider that provides the "unix" attribute view.
- UnixAttributeProvider() - Constructor for class io.roastedroot.zerofs.UnixAttributeProvider
- UnixFileAttributeView - Interface in io.roastedroot.zerofs
-
Dummy view interface for the "unix" view, which doesn't have a public view interface.
- UnixHolder() - Constructor for class io.roastedroot.zerofs.Configuration.UnixHolder
- UnixPathType - Class in io.roastedroot.zerofs
-
Unix-style path type.
- UnixPathType() - Constructor for class io.roastedroot.zerofs.UnixPathType
- unlink(Name) - Method in class io.roastedroot.zerofs.Directory
-
Unlinks the given name from the file it is linked to.
- unlinked() - Method in class io.roastedroot.zerofs.Directory
- unlinked() - Method in class io.roastedroot.zerofs.File
-
Called when this file has been unlinked from a directory, either for a move or delete.
- unlockSourceAndCopy(File, File) - Method in class io.roastedroot.zerofs.FileSystemView
-
Unlocks source and copy files after copying content.
- unregister(Closeable) - Method in class io.roastedroot.zerofs.FileSystemState
-
Unregisters the given resource.
- unsettable(String, String, boolean) - Static method in class io.roastedroot.zerofs.AttributeProvider
-
Throws a runtime exception indicating that the given attribute cannot be set.
- uri - Variable in class io.roastedroot.zerofs.ZeroFsFileSystem
- URI_SCHEME - Static variable in class io.roastedroot.zerofs.ZeroFs
-
The URI scheme for the ZeroFs file system ("zerofs").
- UserDefinedAttributeProvider - Class in io.roastedroot.zerofs
-
Attribute provider that provides the
UserDefinedFileAttributeView("user"). - UserDefinedAttributeProvider() - Constructor for class io.roastedroot.zerofs.UserDefinedAttributeProvider
- UserDefinedAttributeProvider.View - Class in io.roastedroot.zerofs
-
Implementation of
UserDefinedFileAttributeView. - userDefinedAttributes(File) - Static method in class io.roastedroot.zerofs.UserDefinedAttributeProvider
- userLookupService - Variable in class io.roastedroot.zerofs.ZeroFsFileSystem
- UserLookupService - Class in io.roastedroot.zerofs
-
UserPrincipalLookupServiceimplementation. - UserLookupService(boolean) - Constructor for class io.roastedroot.zerofs.UserLookupService
- UserLookupService.NamedPrincipal - Class in io.roastedroot.zerofs
-
Base class for
UserPrincipalandGroupPrincipalimplementations. - UserLookupService.ZeroFsGroupPrincipal - Class in io.roastedroot.zerofs
-
GroupPrincipalimplementation. - UserLookupService.ZeroFsUserPrincipal - Class in io.roastedroot.zerofs
-
UserPrincipalimplementation. - Util - Class in io.roastedroot.zerofs
-
Miscellaneous static utility methods.
- Util() - Constructor for class io.roastedroot.zerofs.Util
V
- valid - Variable in class io.roastedroot.zerofs.AbstractWatchService.Key
- valid - Variable in class io.roastedroot.zerofs.ZeroFsFileChannel.FakeFileLock
- value - Variable in class io.roastedroot.zerofs.AttributeService.SimpleFileAttribute
- value - Variable in class io.roastedroot.zerofs.BasicFileAttribute
- value() - Method in class io.roastedroot.zerofs.AttributeService.SimpleFileAttribute
- value() - Method in class io.roastedroot.zerofs.BasicFileAttribute
- valueOf(String) - Static method in enum io.roastedroot.zerofs.AbstractWatchService.Key.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.roastedroot.zerofs.AttributeCopyOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.roastedroot.zerofs.Feature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.roastedroot.zerofs.FileSystemView.DeleteMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.roastedroot.zerofs.PathNormalization
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.roastedroot.zerofs.SystemFileTimeSource
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.roastedroot.zerofs.AbstractWatchService.Key.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.roastedroot.zerofs.AttributeCopyOption
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.roastedroot.zerofs.Feature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.roastedroot.zerofs.FileSystemView.DeleteMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.roastedroot.zerofs.PathNormalization
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.roastedroot.zerofs.SystemFileTimeSource
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class io.roastedroot.zerofs.WeakValueConcurrentMap
- view - Variable in class io.roastedroot.zerofs.PollingWatchService
- view - Variable in class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- view(FileLookup, Map<String, FileAttributeView>) - Method in class io.roastedroot.zerofs.AclAttributeProvider
- view(FileLookup, Map<String, FileAttributeView>) - Method in class io.roastedroot.zerofs.AttributeProvider
-
Returns a view of the file located by the given lookup callback.
- view(FileLookup, Map<String, FileAttributeView>) - Method in class io.roastedroot.zerofs.BasicAttributeProvider
- view(FileLookup, Map<String, FileAttributeView>) - Method in class io.roastedroot.zerofs.DosAttributeProvider
- view(FileLookup, Map<String, FileAttributeView>) - Method in class io.roastedroot.zerofs.OwnerAttributeProvider
- view(FileLookup, Map<String, FileAttributeView>) - Method in class io.roastedroot.zerofs.PosixAttributeProvider
- view(FileLookup, Map<String, FileAttributeView>) - Method in class io.roastedroot.zerofs.UnixAttributeProvider
- view(FileLookup, Map<String, FileAttributeView>) - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider
- View(FileLookup) - Constructor for class io.roastedroot.zerofs.BasicAttributeProvider.View
- View(FileLookup) - Constructor for class io.roastedroot.zerofs.OwnerAttributeProvider.View
- View(FileLookup) - Constructor for class io.roastedroot.zerofs.UserDefinedAttributeProvider.View
- View(FileLookup, BasicFileAttributeView) - Constructor for class io.roastedroot.zerofs.DosAttributeProvider.View
- View(FileLookup, BasicFileAttributeView, FileOwnerAttributeView) - Constructor for class io.roastedroot.zerofs.PosixAttributeProvider.View
- View(FileLookup, FileOwnerAttributeView) - Constructor for class io.roastedroot.zerofs.AclAttributeProvider.View
- viewType() - Method in class io.roastedroot.zerofs.AclAttributeProvider
- viewType() - Method in class io.roastedroot.zerofs.AttributeProvider
-
Returns the type of the view interface that this provider supports.
- viewType() - Method in class io.roastedroot.zerofs.BasicAttributeProvider
- viewType() - Method in class io.roastedroot.zerofs.DosAttributeProvider
- viewType() - Method in class io.roastedroot.zerofs.OwnerAttributeProvider
- viewType() - Method in class io.roastedroot.zerofs.PosixAttributeProvider
- viewType() - Method in class io.roastedroot.zerofs.UnixAttributeProvider
- viewType() - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider
W
- watchable - Variable in class io.roastedroot.zerofs.AbstractWatchService.Key
- watchable() - Method in class io.roastedroot.zerofs.AbstractWatchService.Key
- watcher - Variable in class io.roastedroot.zerofs.AbstractWatchService.Key
- watchServiceConfig - Variable in class io.roastedroot.zerofs.Configuration.Builder
- watchServiceConfig - Variable in class io.roastedroot.zerofs.Configuration
- watchServiceConfig - Variable in class io.roastedroot.zerofs.ZeroFsFileSystem
- WatchServiceConfiguration - Class in io.roastedroot.zerofs
-
Configuration for the
WatchServiceimplementation used by a file system. - WatchServiceConfiguration() - Constructor for class io.roastedroot.zerofs.WatchServiceConfiguration
- WatchServiceConfiguration.PollingConfig - Class in io.roastedroot.zerofs
-
Implementation for
WatchServiceConfiguration.polling(long, java.util.concurrent.TimeUnit). - WeakValue(K, V, ReferenceQueue<V>) - Constructor for class io.roastedroot.zerofs.WeakValueConcurrentMap.WeakValue
- WeakValueConcurrentMap<K,V> - Class in io.roastedroot.zerofs
- WeakValueConcurrentMap() - Constructor for class io.roastedroot.zerofs.WeakValueConcurrentMap
- WeakValueConcurrentMap.WeakValue<K,V> - Class in io.roastedroot.zerofs
- windows() - Static method in class io.roastedroot.zerofs.Configuration
-
Returns the default configuration for a Windows-like file system.
- windows() - Static method in class io.roastedroot.zerofs.PathType
-
Returns a Windows-style path type.
- WINDOWS - Static variable in class io.roastedroot.zerofs.Configuration.WindowsHolder
- WindowsHolder() - Constructor for class io.roastedroot.zerofs.Configuration.WindowsHolder
- WindowsPathType - Class in io.roastedroot.zerofs
-
Windows-style path type.
- WindowsPathType() - Constructor for class io.roastedroot.zerofs.WindowsPathType
- WORKING_DIR_WITH_DRIVE - Static variable in class io.roastedroot.zerofs.WindowsPathType
-
Matches the C:foo\bar path format, which has a root (C:) and names (foo\bar) and matches a path relative to the working directory on that drive.
- workingDirectory - Variable in class io.roastedroot.zerofs.Configuration.Builder
- workingDirectory - Variable in class io.roastedroot.zerofs.Configuration
- workingDirectory - Variable in class io.roastedroot.zerofs.FileSystemView
- workingDirectoryPath - Variable in class io.roastedroot.zerofs.FileSystemView
- write - Variable in class io.roastedroot.zerofs.ZeroFsFileChannel
- write(byte[]) - Method in class io.roastedroot.zerofs.ZeroFsOutputStream
- write(byte[], int, int) - Method in class io.roastedroot.zerofs.ZeroFsOutputStream
- write(int) - Method in class io.roastedroot.zerofs.ZeroFsOutputStream
- write(long, byte) - Method in class io.roastedroot.zerofs.RegularFile
-
Writes the given byte to this file at position
pos. - write(long, byte[], int, int) - Method in class io.roastedroot.zerofs.RegularFile
-
Writes
lenbytes starting at offsetoffin the given byte array to this file starting at positionpos. - write(long, Iterable<ByteBuffer>) - Method in class io.roastedroot.zerofs.RegularFile
-
Writes all available bytes from each buffer in
bufs, in order, to this file starting at positionpos. - write(long, ByteBuffer) - Method in class io.roastedroot.zerofs.RegularFile
-
Writes all available bytes from buffer
bufto this file starting at positionpos. - write(String, ByteBuffer) - Method in class io.roastedroot.zerofs.UserDefinedAttributeProvider.View
- write(ByteBuffer) - Method in class io.roastedroot.zerofs.DowngradedSeekableByteChannel
- write(ByteBuffer) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- write(ByteBuffer[], int, int) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- write(ByteBuffer, long) - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- write(ByteBuffer, long) - Method in class io.roastedroot.zerofs.ZeroFsFileChannel
- write(ByteBuffer, long, A, CompletionHandler<Integer, ? super A>) - Method in class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- writeInternal(byte[], int, int) - Method in class io.roastedroot.zerofs.ZeroFsOutputStream
- writeLock - Variable in class io.roastedroot.zerofs.ZeroFsFileStore
- writeLock() - Method in class io.roastedroot.zerofs.RegularFile
-
Returns the write lock for this file.
- writeLock() - Method in class io.roastedroot.zerofs.ZeroFsFileStore
-
Returns the write lock for this store.
Z
- zero(byte[], int, int) - Static method in class io.roastedroot.zerofs.RegularFile
-
Zeroes len bytes in the given block starting at the given offset.
- zero(byte[], int, int) - Static method in class io.roastedroot.zerofs.Util
-
Zeroes all bytes between off (inclusive) and off + len (exclusive) in the given array.
- ZERO_ARRAY - Static variable in class io.roastedroot.zerofs.Util
- ZeroFs - Class in io.roastedroot.zerofs
- ZeroFs() - Constructor for class io.roastedroot.zerofs.ZeroFs
- ZeroFsAsynchronousFileChannel - Class in io.roastedroot.zerofs
-
AsynchronousFileChannelimplementation that delegates to aZeroFsFileChannel. - ZeroFsAsynchronousFileChannel(ZeroFsFileChannel, ExecutorService) - Constructor for class io.roastedroot.zerofs.ZeroFsAsynchronousFileChannel
- ZeroFsAsynchronousFileChannel.CompletableListeningExecutor - Class in io.roastedroot.zerofs
- ZeroFsFileChannel - Class in io.roastedroot.zerofs
-
A
FileChannelimplementation that reads and writes to aRegularFileobject. - ZeroFsFileChannel(RegularFile, Set<OpenOption>, FileSystemState) - Constructor for class io.roastedroot.zerofs.ZeroFsFileChannel
- ZeroFsFileChannel.FakeFileLock - Class in io.roastedroot.zerofs
-
A file lock that does nothing, since only one JVM process has access to this file system.
- ZeroFsFileStore - Class in io.roastedroot.zerofs
-
FileStoreimplementation which provides methods for file creation, lookup and attribute handling. - ZeroFsFileStore(FileTree, FileFactory, HeapDisk, AttributeService, Set<Feature>, FileSystemState) - Constructor for class io.roastedroot.zerofs.ZeroFsFileStore
- ZeroFsFileSystem - Class in io.roastedroot.zerofs
-
FileSystemimplementation for ZeroFs. - ZeroFsFileSystem(ZeroFsFileSystemProvider, URI, ZeroFsFileStore, PathService, FileSystemView, WatchServiceConfiguration) - Constructor for class io.roastedroot.zerofs.ZeroFsFileSystem
- ZeroFsFileSystemProvider - Class in io.roastedroot.zerofs
-
FileSystemProviderimplementation for ZeroFs. - ZeroFsFileSystemProvider() - Constructor for class io.roastedroot.zerofs.ZeroFsFileSystemProvider
- ZeroFsFileSystems - Class in io.roastedroot.zerofs
-
Initializes and configures new file system instances.
- ZeroFsFileSystems() - Constructor for class io.roastedroot.zerofs.ZeroFsFileSystems
- ZeroFsGroupPrincipal(String) - Constructor for class io.roastedroot.zerofs.UserLookupService.ZeroFsGroupPrincipal
- ZeroFsInputStream - Class in io.roastedroot.zerofs
-
InputStreamfor reading from a file'sRegularFile. - ZeroFsInputStream(RegularFile, FileSystemState) - Constructor for class io.roastedroot.zerofs.ZeroFsInputStream
- ZeroFsOutputStream - Class in io.roastedroot.zerofs
-
OutputStreamfor writing to aRegularFile. - ZeroFsOutputStream(RegularFile, boolean, FileSystemState) - Constructor for class io.roastedroot.zerofs.ZeroFsOutputStream
- ZeroFsPath - Class in io.roastedroot.zerofs
-
ZeroFs implementation of
Path. - ZeroFsPath(PathService, Name, Name...) - Constructor for class io.roastedroot.zerofs.ZeroFsPath
- ZeroFsPath(PathService, Name, List<Name>) - Constructor for class io.roastedroot.zerofs.ZeroFsPath
- ZeroFsSecureDirectoryStream - Class in io.roastedroot.zerofs
-
Secure directory stream implementation that uses a
FileSystemViewwith the stream's directory as its working directory. - ZeroFsSecureDirectoryStream(FileSystemView, DirectoryStream.Filter<? super Path>, FileSystemState) - Constructor for class io.roastedroot.zerofs.ZeroFsSecureDirectoryStream
- ZeroFsSecureDirectoryStream.DirectoryIterator - Class in io.roastedroot.zerofs
- ZeroFsThreadFactory(String, boolean) - Constructor for class io.roastedroot.zerofs.PollingWatchService.ZeroFsThreadFactory
- ZeroFsUserPrincipal(String) - Constructor for class io.roastedroot.zerofs.UserLookupService.ZeroFsUserPrincipal
All Classes All Packages