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

A

AbstractAttributeView - Class in com.google.common.jimfs
Abstract base class for FileAttributeView implementations.
AbstractAttributeView(FileLookup) - Constructor for class com.google.common.jimfs.AbstractAttributeView
 
AbstractWatchService - Class in com.google.common.jimfs
Abstract implementation of WatchService.
AbstractWatchService() - Constructor for class com.google.common.jimfs.AbstractWatchService
 
AbstractWatchService.Event<T> - Class in com.google.common.jimfs
A basic implementation of WatchEvent.
AbstractWatchService.Key - Class in com.google.common.jimfs
Implementation of WatchKey for an AbstractWatchService.
AbstractWatchService.Key.State - Enum in com.google.common.jimfs
 
AclAttributeProvider - Class in com.google.common.jimfs
Attribute provider that provides the AclFileAttributeView ("acl").
AclAttributeProvider() - Constructor for class com.google.common.jimfs.AclAttributeProvider
 
AclAttributeProvider.View - Class in com.google.common.jimfs
Implementation of AclFileAttributeView.
addAttributeProvider(AttributeProvider) - Method in class com.google.common.jimfs.Configuration.Builder
Adds an attribute provider for a custom view for the file system to support.
addBlock(byte[]) - Method in class com.google.common.jimfs.RegularFile
Adds the given block to the end of this file.
addCallback(ListenableFuture<R>, CompletionHandler<R, ? super A>, A) - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
addMissingProviders(Map<String, AttributeProvider>) - Static method in class com.google.common.jimfs.AttributeService
 
addStandardProvider(Map<String, AttributeProvider>, String) - Static method in class com.google.common.jimfs.AttributeService
 
addToBucket(int, DirectoryEntry[], DirectoryEntry) - Static method in class com.google.common.jimfs.Directory
 
addWrite(Collection<? extends OpenOption>) - Static method in class com.google.common.jimfs.Options
Returns an ImmutableSet copy of the given options, adding StandardOpenOption#WRITE if it isn't already present.
ALL - com.google.common.jimfs.AttributeCopyOption
Copy all attributes on the file.
ALL_ATTRIBUTES - Static variable in class com.google.common.jimfs.AttributeService
 
allocate(RegularFile, int) - Method in class com.google.common.jimfs.HeapDisk
Allocates the given number of blocks and adds them to the given file.
allocatedBlockCount - Variable in class com.google.common.jimfs.HeapDisk
The current total number of blocks that are currently allocated to files.
allowsMultipleRoots - Variable in class com.google.common.jimfs.PathType
 
allowsMultipleRoots() - Method in class com.google.common.jimfs.PathType
Returns whether or not this type of path allows multiple root directories.
ALWAYS_TRUE_FILTER - Static variable in class com.google.common.jimfs.JimfsSecureDirectoryStream
A stream filter that always returns true.
ANY - com.google.common.jimfs.FileSystemView.DeleteMode
Delete any file.
anyOf(String) - Static method in class com.google.common.jimfs.InternalCharMatcher
 
append - Variable in class com.google.common.jimfs.JimfsFileChannel
 
append - Variable in class com.google.common.jimfs.JimfsOutputStream
 
append(char) - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form of the given normal character or separator from the glob.
appendBracketEnd() - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form of the end of a glob [] section.
appendBracketStart() - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form of the start of a glob [] section.
appendCurlyBraceEnd() - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form of the end of a glob {} section.
appendCurlyBraceStart() - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form of the start of a glob {} section.
appendExact(char) - Method in class com.google.common.jimfs.GlobToRegex
Appends the given character as-is to the regex.
appendInBracket(char) - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form of the given character within a glob [] section.
appendNonSeparator() - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form that matches anything except the separators for the path type.
appendNormal(char) - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form of the given normal character from the glob.
appendQuestionMark() - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form of the glob ? character.
appendSeparator() - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form matching the separators for the path type.
appendStar() - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form of the glob * character.
appendStarStar() - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form of the glob ** pattern.
appendSubpatternSeparator() - Method in class com.google.common.jimfs.GlobToRegex
Appends the regex form of the separator (,) within a glob {} section.
appendToRegex(char, StringBuilder) - Static method in class com.google.common.jimfs.PathType
 
apply(String) - Method in enum com.google.common.jimfs.PathNormalization
Applies this normalization to the given string, returning the normalized result.
archive - Variable in class com.google.common.jimfs.DosAttributeProvider.Attributes
 
ARRAY_LEN - Static variable in class com.google.common.jimfs.Util
 
asAsynchronousFileChannel(ExecutorService) - Method in class com.google.common.jimfs.JimfsFileChannel
Returns an AsynchronousFileChannel view of this channel using the given executor for asynchronous operations.
asList() - Method in class com.google.common.jimfs.JimfsPath
 
attachment - Variable in class com.google.common.jimfs.JimfsAsynchronousFileChannel.CompletionHandlerCallback
 
ATTRIBUTE_PATTERN - Static variable in class com.google.common.jimfs.Configuration.Builder
 
ATTRIBUTE_SPLITTER - Static variable in class com.google.common.jimfs.AttributeService
 
AttributeCopyOption - Enum in com.google.common.jimfs
Options for how to handle copying of file attributes when copying a file.
AttributeCopyOption() - Constructor for enum com.google.common.jimfs.AttributeCopyOption
 
AttributeProvider - Class in com.google.common.jimfs
Abstract provider for handling a specific file attribute view.
AttributeProvider() - Constructor for class com.google.common.jimfs.AttributeProvider
 
attributeProviders - Variable in class com.google.common.jimfs.Configuration
 
attributeProviders - Variable in class com.google.common.jimfs.Configuration.Builder
 
attributes - Variable in class com.google.common.jimfs.File
 
attributes - Variable in class com.google.common.jimfs.JimfsFileStore
 
attributes(File) - Method in class com.google.common.jimfs.AttributeProvider
Returns the set of attributes supported by this view that are present in the given file.
attributes(File) - Method in class com.google.common.jimfs.UserDefinedAttributeProvider
 
Attributes(File) - Constructor for class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
Attributes(File) - Constructor for class com.google.common.jimfs.DosAttributeProvider.Attributes
 
Attributes(File) - Constructor for class com.google.common.jimfs.PosixAttributeProvider.Attributes
 
ATTRIBUTES - Static variable in class com.google.common.jimfs.AclAttributeProvider
 
ATTRIBUTES - Static variable in class com.google.common.jimfs.BasicAttributeProvider
 
ATTRIBUTES - Static variable in class com.google.common.jimfs.DosAttributeProvider
 
ATTRIBUTES - Static variable in class com.google.common.jimfs.OwnerAttributeProvider
 
ATTRIBUTES - Static variable in class com.google.common.jimfs.PosixAttributeProvider
 
ATTRIBUTES - Static variable in class com.google.common.jimfs.UnixAttributeProvider
 
AttributeService - Class in com.google.common.jimfs
Service providing all attribute related operations for a file store.
AttributeService(Configuration) - Constructor for class com.google.common.jimfs.AttributeService
Creates a new attribute service using the given configuration.
AttributeService(Iterable<? extends AttributeProvider>, Map<String, ?>) - Constructor for class com.google.common.jimfs.AttributeService
Creates a new attribute service using the given providers and user provided default attribute values.
AttributeService.SimpleFileAttribute<T> - Class in com.google.common.jimfs
Simple implementation of FileAttribute.
attributesType() - Method in class com.google.common.jimfs.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 com.google.common.jimfs.BasicAttributeProvider
 
attributesType() - Method in class com.google.common.jimfs.DosAttributeProvider
 
attributesType() - Method in class com.google.common.jimfs.PosixAttributeProvider
 
attributeViews - Variable in class com.google.common.jimfs.Configuration
 
attributeViews - Variable in class com.google.common.jimfs.Configuration.Builder
 
available() - Method in class com.google.common.jimfs.JimfsInputStream
 

B

BASIC - com.google.common.jimfs.AttributeCopyOption
Copy only the basic attributes (file times) of the file.
BasicAttributeProvider - Class in com.google.common.jimfs
Attribute provider that provides attributes common to all file systems, the BasicFileAttributeView ("basic" or no view prefix), and allows the reading of BasicFileAttributes.
BasicAttributeProvider() - Constructor for class com.google.common.jimfs.BasicAttributeProvider
 
BasicAttributeProvider.Attributes - Class in com.google.common.jimfs
Implementation of BasicFileAttributes.
BasicAttributeProvider.View - Class in com.google.common.jimfs
Implementation of BasicFileAttributeView.
basicView - Variable in class com.google.common.jimfs.DosAttributeProvider.View
 
basicView - Variable in class com.google.common.jimfs.PosixAttributeProvider.View
 
beginBlocking() - Method in class com.google.common.jimfs.JimfsFileChannel
Begins a blocking operation, making the operation interruptible.
blockCache - Variable in class com.google.common.jimfs.HeapDisk
Cache of free blocks to be allocated to files.
blockCount - Variable in class com.google.common.jimfs.RegularFile
Block count for the the file, which also acts as the head of the block list.
blockCount() - Method in class com.google.common.jimfs.RegularFile
Returns the number of blocks this file contains.
blockForWrite(int) - Method in class com.google.common.jimfs.RegularFile
Gets the block at the given index, expanding to create the block if necessary.
blockIndex(long) - Method in class com.google.common.jimfs.RegularFile
 
blockingThreads - Variable in class com.google.common.jimfs.JimfsFileChannel
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 com.google.common.jimfs.RegularFile
Block list for the file.
blockSize - Variable in class com.google.common.jimfs.Configuration
 
blockSize - Variable in class com.google.common.jimfs.Configuration.Builder
 
blockSize - Variable in class com.google.common.jimfs.HeapDisk
Fixed size of each block for this disk.
blockSize() - Method in class com.google.common.jimfs.HeapDisk
Returns the size of blocks created by this disk.
BRACKET - Static variable in class com.google.common.jimfs.GlobToRegex
State inside [brackets], but not at the first character inside the brackets.
BRACKET_FIRST_CHAR - Static variable in class com.google.common.jimfs.GlobToRegex
State immediately following the reading of a [.
bucketIndex(Name, int) - Static method in class com.google.common.jimfs.Directory
Returns the index of the bucket in the array where an entry for the given name should go.
build() - Method in class com.google.common.jimfs.Configuration.Builder
Creates a new immutable configuration object from this builder.
builder - Variable in class com.google.common.jimfs.GlobToRegex
 
builder(PathType) - Static method in class com.google.common.jimfs.Configuration
Creates a new mutable Configuration builder using the given path type.
Builder(Configuration) - Constructor for class com.google.common.jimfs.Configuration.Builder
 
Builder(PathType) - Constructor for class com.google.common.jimfs.Configuration.Builder
 
bytesToRead(long, long) - Method in class com.google.common.jimfs.RegularFile
Returns the number of bytes that can be read starting at position pos (up to a maximum of max) or -1 if pos is greater than or equal to the current size.

C

C1 - Static variable in class com.google.common.jimfs.Util
 
C2 - Static variable in class com.google.common.jimfs.Util
 
cancel() - Method in class com.google.common.jimfs.AbstractWatchService.Key
 
cancelled(AbstractWatchService.Key) - Method in class com.google.common.jimfs.AbstractWatchService
Called when the given key is cancelled.
cancelled(AbstractWatchService.Key) - Method in class com.google.common.jimfs.PollingWatchService
 
canonical - Variable in class com.google.common.jimfs.Name
 
CANONICAL_NAMES_ORDERING - Static variable in class com.google.common.jimfs.PathService
 
CANONICAL_ORDERING - Static variable in class com.google.common.jimfs.Name
 
CANONICAL_ROOT_ORDERING - Static variable in class com.google.common.jimfs.PathService
 
canonicalNormalizations - Variable in class com.google.common.jimfs.PathService
 
canonicalOrdering() - Static method in class com.google.common.jimfs.Name
Returns an ordering that orders names by their canonical representation.
CASE_FOLD_ASCII - com.google.common.jimfs.PathNormalization
ASCII case folding for simple case insensitive paths.
CASE_FOLD_UNICODE - com.google.common.jimfs.PathNormalization
Unicode case folding for case insensitive paths.
channel - Variable in class com.google.common.jimfs.DowngradedSeekableByteChannel
 
channel - Variable in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
chars - Variable in class com.google.common.jimfs.InternalCharMatcher
 
check(WatchKey) - Method in class com.google.common.jimfs.AbstractWatchService
Returns the given key, throwing an exception if it's the poison.
checkAccess(JimfsPath) - Method in class com.google.common.jimfs.FileSystemView
Checks access to the file at the given path for the given modes.
checkAccess(Path, AccessMode...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
checkAccess(Path, AccessMode...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
checkDeletable(File, FileSystemView.DeleteMode, Path) - Method in class com.google.common.jimfs.FileSystemView
Checks that the given file can be deleted, throwing an exception if it can't.
checkEmpty(Directory, Path) - Method in class com.google.common.jimfs.FileSystemView
Checks that given directory is empty, throwing DirectoryNotEmptyException if not.
checkLockArguments(long, long, boolean) - Method in class com.google.common.jimfs.JimfsFileChannel
 
checkMovable(File, JimfsPath) - Method in class com.google.common.jimfs.FileSystemView
 
checkNoneNull(Iterable<?>) - Static method in class com.google.common.jimfs.Util
Checks that no element in the given iterable is null, throwing NPE if any is.
checkNormalizationNotSet(PathNormalization, PathNormalization) - Static method in class com.google.common.jimfs.Configuration.Builder
 
checkNormalizations(List<PathNormalization>) - Method in class com.google.common.jimfs.Configuration.Builder
 
checkNotAncestor(File, Directory, FileSystemView) - Method in class com.google.common.jimfs.FileSystemView
Checks that source is not an ancestor of dest, throwing an exception if it is.
checkNotClosed() - Method in class com.google.common.jimfs.JimfsInputStream
 
checkNotClosed() - Method in class com.google.common.jimfs.JimfsOutputStream
 
checkNotCreate(String, String, boolean) - Static method in class com.google.common.jimfs.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 com.google.common.jimfs.Util
Checks that the given number is not negative, throwing IAE if it is.
checkNotReserved(Name, String) - Static method in class com.google.common.jimfs.Directory
Checks that the given name is not "." or "..".
checkOpen() - Method in class com.google.common.jimfs.AbstractWatchService
Checks that the watch service is open, throwing ClosedWatchServiceException if not.
checkOpen() - Method in class com.google.common.jimfs.FileSystemState
Checks that the file system is open, throwing ClosedFileSystemException if it is not.
checkOpen() - Method in class com.google.common.jimfs.JimfsFileChannel
 
checkOpen() - Method in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
checkPath(Path) - Static method in class com.google.common.jimfs.JimfsFileSystemProvider
 
checkPath(Path) - Method in class com.google.common.jimfs.JimfsPath
 
checkPath(Path) - Static method in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
checkReadable() - Method in class com.google.common.jimfs.JimfsFileChannel
 
checkType(String, String, Object, Class<T>) - Static method in class com.google.common.jimfs.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 com.google.common.jimfs.UnixPathType
 
checkWatchable(Watchable) - Method in class com.google.common.jimfs.PollingWatchService
 
checkWritable() - Method in class com.google.common.jimfs.JimfsFileChannel
 
clear(byte[][], int, int) - Static method in class com.google.common.jimfs.Util
Clears (sets to null) all blocks between off (inclusive) and off + len (exclusive) in the given array.
clear(Buffer) - Static method in class com.google.common.jimfs.Java8Compatibility
 
close() - Method in class com.google.common.jimfs.AbstractWatchService
 
close() - Method in class com.google.common.jimfs.DowngradedDirectoryStream
 
close() - Method in class com.google.common.jimfs.DowngradedSeekableByteChannel
 
close() - Method in class com.google.common.jimfs.FileSystemState
Closes the file system, runs the onClose callback and closes all registered resources.
close() - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
close() - Method in class com.google.common.jimfs.JimfsFileSystem
 
close() - Method in class com.google.common.jimfs.JimfsInputStream
 
close() - Method in class com.google.common.jimfs.JimfsOutputStream
 
close() - Method in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
close() - Method in class com.google.common.jimfs.PollingWatchService
 
closed() - Method in class com.google.common.jimfs.File
Called when a stream or channel to this file is closed.
closed() - Method in class com.google.common.jimfs.RegularFile
 
closedChannelFuture() - Static method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
Immediate future indicating that the channel is closed.
com.google.common.jimfs - package com.google.common.jimfs
Package containing the Jimfs file system API and implementation.
compare(JimfsPath, JimfsPath) - Method in class com.google.common.jimfs.PathService
 
compareTo(Path) - Method in class com.google.common.jimfs.JimfsPath
 
compilePattern(String, Iterable<PathNormalization>) - Static method in enum com.google.common.jimfs.PathNormalization
Compiles a regex pattern using flags based on the given normalizations.
completionHandler - Variable in class com.google.common.jimfs.JimfsAsynchronousFileChannel.CompletionHandlerCallback
 
CompletionHandlerCallback(ListenableFuture<R>, CompletionHandler<R, ? super A>, A) - Constructor for class com.google.common.jimfs.JimfsAsynchronousFileChannel.CompletionHandlerCallback
 
computeNext() - Method in class com.google.common.jimfs.JimfsSecureDirectoryStream.DirectoryIterator
 
Configuration - Class in com.google.common.jimfs
Immutable configuration for an in-memory file system.
Configuration(Configuration.Builder) - Constructor for class com.google.common.jimfs.Configuration
Creates an immutable configuration object from the given builder.
Configuration.Builder - Class in com.google.common.jimfs
Mutable builder for Configuration objects.
Configuration.OsxHolder - Class in com.google.common.jimfs
 
Configuration.UnixHolder - Class in com.google.common.jimfs
 
Configuration.WindowsHolder - Class in com.google.common.jimfs
 
connect() - Method in class com.google.common.jimfs.PathURLConnection
 
contentLock() - Method in class com.google.common.jimfs.File
Returns the read-write lock for this file's content, or null if there is no content lock.
contentLock() - Method in class com.google.common.jimfs.RegularFile
 
context - Variable in class com.google.common.jimfs.AbstractWatchService.Event
 
context() - Method in class com.google.common.jimfs.AbstractWatchService.Event
 
convert() - Method in class com.google.common.jimfs.GlobToRegex
Converts the glob to a regex one character at a time.
copy(JimfsPath, FileSystemView, JimfsPath, Set<CopyOption>, boolean) - Method in class com.google.common.jimfs.FileSystemView
Copies or moves the file at the given source path to the given dest path.
copy(Path, Path, ImmutableSet<CopyOption>, boolean) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
copy(Path, Path, CopyOption...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
copy(Path, Path, CopyOption...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
copyAttributes(File) - Method in class com.google.common.jimfs.File
Copies the attributes from this file to the given file.
copyAttributes(File, File, AttributeCopyOption) - Method in class com.google.common.jimfs.AttributeService
Copies the attributes of the given file to the given copy file.
copyBasicAttributes(File) - Method in class com.google.common.jimfs.File
Copies basic attributes (file times) from this file to the given file.
copyBlocksTo(RegularFile, int) - Method in class com.google.common.jimfs.RegularFile
Copies the last count blocks from this file to the end of the given target file.
copyContentTo(File) - Method in class com.google.common.jimfs.File
Copies the content of this file to the given file.
copyContentTo(File) - Method in class com.google.common.jimfs.RegularFile
 
copyWithoutContent(int, FileTime) - Method in class com.google.common.jimfs.Directory
Creates a copy of this directory.
copyWithoutContent(int, FileTime) - Method in class com.google.common.jimfs.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 com.google.common.jimfs.RegularFile
 
copyWithoutContent(int, FileTime) - Method in class com.google.common.jimfs.SymbolicLink
 
copyWithoutContent(File) - Method in class com.google.common.jimfs.FileFactory
Creates and returns a copy of the given file.
copyWithoutContent(File, AttributeCopyOption) - Method in class com.google.common.jimfs.JimfsFileStore
Creates a copy of the given file, copying its attributes as well according to the given attributeCopyOption.
count - Variable in class com.google.common.jimfs.AbstractWatchService.Event
 
count() - Method in class com.google.common.jimfs.AbstractWatchService.Event
 
create(int, FileTime) - Static method in class com.google.common.jimfs.Directory
Creates a new normal directory with the given ID and creation time.
create(int, FileTime, HeapDisk) - Static method in class com.google.common.jimfs.RegularFile
Creates a new regular file with the given ID and using the given disk.
create(int, FileTime, JimfsPath) - Static method in class com.google.common.jimfs.SymbolicLink
Creates a new symbolic link with the given ID and target.
create(String, String) - Static method in class com.google.common.jimfs.Name
Creates a name with the given display representation and the given canonical representation.
createBlockCache(int) - Method in class com.google.common.jimfs.HeapDisk
 
createDefaultView(Configuration, JimfsFileStore, PathService) - Static method in class com.google.common.jimfs.JimfsFileSystems
Creates the default view of the file system using the given working directory.
createDirectory() - Method in class com.google.common.jimfs.FileFactory
Creates a new directory.
createDirectory(JimfsPath, FileAttribute<?>...) - Method in class com.google.common.jimfs.FileSystemView
Creates a new directory at the given path.
createDirectory(Path, FileAttribute<?>...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
createDirectory(Path, FileAttribute<?>...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
createFile(JimfsPath, Supplier<? extends File>, boolean, FileAttribute<?>...) - Method in class com.google.common.jimfs.FileSystemView
Creates a new file at the given path if possible, using the given supplier to create the file.
createFileName(Name) - Method in class com.google.common.jimfs.PathService
Returns a single filename path with the given name.
createFileStore(Configuration, PathService, FileSystemState) - Static method in class com.google.common.jimfs.JimfsFileSystems
Creates the file store for the file system.
createGroupPrincipal(String) - Static method in class com.google.common.jimfs.UserLookupService
Creates a GroupPrincipal for the given group name.
createInheritedViews(FileLookup, AttributeProvider) - Method in class com.google.common.jimfs.AttributeService
 
createInheritedViews(FileLookup, AttributeProvider, Map<String, FileAttributeView>) - Method in class com.google.common.jimfs.AttributeService
 
createLink(Path, Path) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
createPath(Name, Iterable<Name>) - Method in class com.google.common.jimfs.PathService
Returns a path with the given root (or no root, if null) and the given names.
createPathInternal(Name, Iterable<Name>) - Method in class com.google.common.jimfs.PathService
Returns a path with the given root (or no root, if null) and the given names.
createPathMatcher(String) - Method in class com.google.common.jimfs.PathService
Returns a PathMatcher for the given syntax and pattern as specified by FileSystem.getPathMatcher(String).
createRegularFile() - Method in class com.google.common.jimfs.FileFactory
Creates a new regular file.
createRelativePath(Iterable<Name>) - Method in class com.google.common.jimfs.PathService
Returns a relative path with the given names.
createRoot(int, FileTime, Name) - Static method in class com.google.common.jimfs.Directory
Creates a new root directory with the given ID, creation time, and name.
createRoot(Name) - Method in class com.google.common.jimfs.PathService
Returns a root path with the given name.
createRootDirectory(Name) - Method in class com.google.common.jimfs.FileFactory
Creates a new root directory with the given name.
createSplitter(char, char...) - Static method in class com.google.common.jimfs.PathType
 
createSymbolicLink(JimfsPath) - Method in class com.google.common.jimfs.FileFactory
Creates a new symbolic link referencing the given target path.
createSymbolicLink(JimfsPath, JimfsPath, FileAttribute<?>...) - Method in class com.google.common.jimfs.FileSystemView
Creates a new symbolic link at the given path with the given target.
createSymbolicLink(Path, Path, FileAttribute<?>...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
createUserPrincipal(String) - Static method in class com.google.common.jimfs.UserLookupService
Creates a UserPrincipal for the given user name.
creationTime - Variable in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
creationTime - Variable in class com.google.common.jimfs.File
 
creationTime() - Method in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
CURLY_BRACE - Static variable in class com.google.common.jimfs.GlobToRegex
State inside {curly braces}.
currentState() - Method in class com.google.common.jimfs.GlobToRegex
Returns the current state.

D

decrementLinkCount() - Method in class com.google.common.jimfs.File
Decrements the link count for this file.
DEFAULT - Static variable in class com.google.common.jimfs.WatchServiceConfiguration
The default configuration that's used if the user doesn't provide anything more specific.
DEFAULT_ACL - Static variable in class com.google.common.jimfs.AclAttributeProvider
 
DEFAULT_BLOCK_SIZE - Static variable in class com.google.common.jimfs.Configuration.Builder
8 KB.
DEFAULT_CONTENT_TYPE - Static variable in class com.google.common.jimfs.PathURLConnection
 
DEFAULT_GROUP - Static variable in class com.google.common.jimfs.PosixAttributeProvider
 
DEFAULT_MAX_CACHE_SIZE - Static variable in class com.google.common.jimfs.Configuration.Builder
Equal to the configured max size.
DEFAULT_MAX_SIZE - Static variable in class com.google.common.jimfs.Configuration.Builder
4 GB.
DEFAULT_OWNER - Static variable in class com.google.common.jimfs.OwnerAttributeProvider
 
DEFAULT_PERMISSIONS - Static variable in class com.google.common.jimfs.PosixAttributeProvider
 
DEFAULT_READ - Static variable in class com.google.common.jimfs.Options
 
DEFAULT_READ_NOFOLLOW_LINKS - Static variable in class com.google.common.jimfs.Options
 
DEFAULT_WRITE - Static variable in class com.google.common.jimfs.Options
 
defaultAttributeValues - Variable in class com.google.common.jimfs.Configuration.Builder
 
defaultAttributeValues - Variable in class com.google.common.jimfs.Configuration
 
defaultThreadPool - Variable in class com.google.common.jimfs.JimfsFileSystem
 
defaultValues - Variable in class com.google.common.jimfs.AttributeService
 
defaultValues(Map<String, ?>) - Method in class com.google.common.jimfs.AclAttributeProvider
 
defaultValues(Map<String, ?>) - Method in class com.google.common.jimfs.AttributeProvider
Returns a map containing the default attribute values for this provider.
defaultValues(Map<String, ?>) - Method in class com.google.common.jimfs.DosAttributeProvider
 
defaultValues(Map<String, ?>) - Method in class com.google.common.jimfs.OwnerAttributeProvider
 
defaultValues(Map<String, ?>) - Method in class com.google.common.jimfs.PosixAttributeProvider
 
defaultView - Variable in class com.google.common.jimfs.JimfsFileSystem
 
delete(DirectoryEntry, FileSystemView.DeleteMode, JimfsPath) - Method in class com.google.common.jimfs.FileSystemView
Deletes the given directory entry from its parent directory.
delete(String) - Method in class com.google.common.jimfs.UserDefinedAttributeProvider.View
 
delete(Path) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
delete(Path) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
deleteAttribute(String, String) - Method in class com.google.common.jimfs.File
Deletes the given attribute from the given view.
deleteContents() - Method in class com.google.common.jimfs.RegularFile
Deletes the contents of this file.
deleted - Variable in class com.google.common.jimfs.RegularFile
 
deleted() - Method in class com.google.common.jimfs.File
Called when (a single link to) this file is deleted.
deleted() - Method in class com.google.common.jimfs.RegularFile
Marks this file as deleted.
deleteDirectory(Path) - Method in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
deleteFile(JimfsPath, FileSystemView.DeleteMode) - Method in class com.google.common.jimfs.FileSystemView
Deletes the file at the given absolute path.
deleteFile(Path) - Method in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
DeleteMode() - Constructor for enum com.google.common.jimfs.FileSystemView.DeleteMode
 
directory - Variable in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
directory - Variable in class com.google.common.jimfs.DirectoryEntry
 
directory() - Method in class com.google.common.jimfs.DirectoryEntry
Returns the directory containing this entry.
Directory - Class in com.google.common.jimfs
A table of directory entries.
Directory(int, FileTime) - Constructor for class com.google.common.jimfs.Directory
 
Directory(int, FileTime, Name) - Constructor for class com.google.common.jimfs.Directory
 
DIRECTORY_ONLY - com.google.common.jimfs.FileSystemView.DeleteMode
Only delete directory files.
directoryCreator() - Method in class com.google.common.jimfs.FileFactory
Returns a supplier that creates directories.
directoryCreator() - Method in class com.google.common.jimfs.JimfsFileStore
Returns a supplier that creates a new directory.
DirectoryEntry - Class in com.google.common.jimfs
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 com.google.common.jimfs.DirectoryEntry
 
DirectoryIterator() - Constructor for class com.google.common.jimfs.JimfsSecureDirectoryStream.DirectoryIterator
 
directorySupplier - Variable in class com.google.common.jimfs.FileFactory
 
DirectorySupplier() - Constructor for class com.google.common.jimfs.FileFactory.DirectorySupplier
 
disk - Variable in class com.google.common.jimfs.FileFactory
 
disk - Variable in class com.google.common.jimfs.JimfsFileStore
 
disk - Variable in class com.google.common.jimfs.RegularFile
 
display - Variable in class com.google.common.jimfs.Name
 
DISPLAY_NAMES_ORDERING - Static variable in class com.google.common.jimfs.PathService
 
DISPLAY_ORDERING - Static variable in class com.google.common.jimfs.Name
 
DISPLAY_ROOT_ORDERING - Static variable in class com.google.common.jimfs.PathService
 
displayName - Variable in class com.google.common.jimfs.Configuration.Builder
 
displayName - Variable in class com.google.common.jimfs.Configuration
 
displayNormalizations - Variable in class com.google.common.jimfs.PathService
 
displayOrdering() - Static method in class com.google.common.jimfs.Name
Returns an ordering that orders names by their display representation.
DO_NOTHING - Static variable in class com.google.common.jimfs.JimfsFileSystems
 
DosAttributeProvider - Class in com.google.common.jimfs
Attribute provider that provides the DosFileAttributeView ("dos") and allows the reading of DosFileAttributes.
DosAttributeProvider() - Constructor for class com.google.common.jimfs.DosAttributeProvider
 
DosAttributeProvider.Attributes - Class in com.google.common.jimfs
Implementation of DosFileAttributes.
DosAttributeProvider.View - Class in com.google.common.jimfs
Implementation of DosFileAttributeView.
DowngradedDirectoryStream - Class in com.google.common.jimfs
A thin wrapper around a SecureDirectoryStream that exists only to implement DirectoryStream and NOT implement SecureDirectoryStream.
DowngradedDirectoryStream(SecureDirectoryStream<Path>) - Constructor for class com.google.common.jimfs.DowngradedDirectoryStream
 
DowngradedSeekableByteChannel - Class in com.google.common.jimfs
A thin wrapper around a FileChannel that exists only to implement SeekableByteChannel but NOT extend FileChannel.
DowngradedSeekableByteChannel(FileChannel) - Constructor for class com.google.common.jimfs.DowngradedSeekableByteChannel
 
DRIVE_LETTER_ROOT - Static variable in class com.google.common.jimfs.WindowsPathType
Pattern for matching normal C:\ drive letter root syntax.

E

EMPTY - Static variable in class com.google.common.jimfs.Name
The empty name.
EMPTY_PATH_NAMES - Static variable in class com.google.common.jimfs.FileTree
 
emptyPath - Variable in class com.google.common.jimfs.PathService
 
emptyPath() - Method in class com.google.common.jimfs.PathService
Returns an empty path which has a single name, the empty string.
emptyPath() - Method in class com.google.common.jimfs.PathType
Returns an empty path.
endBlocking(boolean) - Method in class com.google.common.jimfs.JimfsFileChannel
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 com.google.common.jimfs.JimfsPath
 
endsWith(Path) - Method in class com.google.common.jimfs.JimfsPath
 
enqueue(AbstractWatchService.Key) - Method in class com.google.common.jimfs.AbstractWatchService
Enqueues the given key if the watch service is open; does nothing otherwise.
entryCount - Variable in class com.google.common.jimfs.Directory
 
entryCount() - Method in class com.google.common.jimfs.Directory
Returns the number of entries in this directory.
entryInParent - Variable in class com.google.common.jimfs.Directory
The entry linking to this directory in its parent directory.
entryInParent() - Method in class com.google.common.jimfs.Directory
Returns the entry linking to this directory in its parent.
equalityUsesCanonicalForm - Variable in class com.google.common.jimfs.PathService
 
equals(Object) - Method in class com.google.common.jimfs.JimfsPath
 
equals(Object) - Method in class com.google.common.jimfs.Name
 
equals(Object) - Method in class com.google.common.jimfs.AbstractWatchService.Event
 
equals(Object) - Method in class com.google.common.jimfs.DirectoryEntry
 
equals(Object) - Method in class com.google.common.jimfs.UserLookupService.JimfsGroupPrincipal
 
equals(Object) - Method in class com.google.common.jimfs.UserLookupService.JimfsUserPrincipal
 
ESCAPE - Static variable in class com.google.common.jimfs.GlobToRegex
State following the reading of a single \.
Event(WatchEvent.Kind<T>, int, T) - Constructor for class com.google.common.jimfs.AbstractWatchService.Event
 
events - Variable in class com.google.common.jimfs.AbstractWatchService.Key
 
executor - Variable in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
exists() - Method in class com.google.common.jimfs.DirectoryEntry
Returns true if and only if this entry represents an existing file.
expandIfNecessary(int) - Method in class com.google.common.jimfs.RegularFile
 
expandIfNeeded() - Method in class com.google.common.jimfs.Directory
 

F

factory - Variable in class com.google.common.jimfs.JimfsFileStore
 
FakeFileLock(AsynchronousFileChannel, long, long, boolean) - Constructor for class com.google.common.jimfs.JimfsFileChannel.FakeFileLock
 
FakeFileLock(FileChannel, long, long, boolean) - Constructor for class com.google.common.jimfs.JimfsFileChannel.FakeFileLock
 
Feature - Enum in com.google.common.jimfs
Optional file system features that may be supported or unsupported by a Jimfs file system instance.
Feature() - Constructor for enum com.google.common.jimfs.Feature
 
file - Variable in class com.google.common.jimfs.DirectoryEntry
 
file - Variable in class com.google.common.jimfs.JimfsFileChannel
 
file - Variable in class com.google.common.jimfs.JimfsInputStream
 
file - Variable in class com.google.common.jimfs.JimfsOutputStream
 
file() - Method in class com.google.common.jimfs.DirectoryEntry
Returns the file this entry links to.
File - Class in com.google.common.jimfs
A file object, containing both the file's metadata and content.
File(int, FileTime) - Constructor for class com.google.common.jimfs.File
 
FILE_CHANNEL - com.google.common.jimfs.Feature
Feature controlling support for FileChannel.
FILE_SYSTEM_KEY - Static variable in class com.google.common.jimfs.SystemJimfsFileSystemProvider
Env map key that maps to the already-created FileSystem instance in newFileSystem.
FileFactory - Class in com.google.common.jimfs
Factory for creating new files and copying files.
FileFactory(HeapDisk, FileTimeSource) - Constructor for class com.google.common.jimfs.FileFactory
Creates a new file factory using the given disk for regular files and the given time source.
FileFactory.DirectorySupplier - Class in com.google.common.jimfs
 
FileFactory.RegularFileSupplier - Class in com.google.common.jimfs
 
FileFactory.SymbolicLinkSupplier - Class in com.google.common.jimfs
 
fileKey - Variable in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
fileKey() - Method in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
FileLookup - Interface in com.google.common.jimfs
Callback for looking up a file.
fileNames - Variable in class com.google.common.jimfs.JimfsSecureDirectoryStream.DirectoryIterator
 
fileOrNull() - Method in class com.google.common.jimfs.DirectoryEntry
Returns the file this entry links to or null if the file does not exist
fileStore - Variable in class com.google.common.jimfs.JimfsFileSystem
 
fileSystem - Variable in class com.google.common.jimfs.PathService
 
fileSystems - Static variable in class com.google.common.jimfs.SystemJimfsFileSystemProvider
Cache of file systems that have been created but not closed.
fileSystemState - Variable in class com.google.common.jimfs.JimfsFileChannel
 
fileSystemState - Variable in class com.google.common.jimfs.JimfsInputStream
 
fileSystemState - Variable in class com.google.common.jimfs.JimfsOutputStream
 
fileSystemState - Variable in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
fileSystemState - Variable in class com.google.common.jimfs.PollingWatchService
 
FileSystemState - Class in com.google.common.jimfs
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 com.google.common.jimfs.FileSystemState
 
FileSystemView - Class in com.google.common.jimfs
View of a file system with a specific working directory.
FileSystemView(JimfsFileStore, Directory, JimfsPath) - Constructor for class com.google.common.jimfs.FileSystemView
Creates a new file system view.
FileSystemView.DeleteMode - Enum in com.google.common.jimfs
Mode for deleting.
fileTimeSource - Variable in class com.google.common.jimfs.Configuration.Builder
 
fileTimeSource - Variable in class com.google.common.jimfs.Configuration
 
fileTimeSource - Variable in class com.google.common.jimfs.FileFactory
 
fileTimeSource - Variable in class com.google.common.jimfs.FileSystemState
 
FileTimeSource - Interface in com.google.common.jimfs
A source of the current time as a FileTime, to enable fake time sources for testing.
FileTree - Class in com.google.common.jimfs
The tree of directories and files for the file system.
FileTree(Map<Name, Directory>) - Constructor for class com.google.common.jimfs.FileTree
Creates a new file tree with the given root directories.
filter - Variable in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
finish(GlobToRegex) - Method in class com.google.common.jimfs.GlobToRegex.State
Called after all characters have been read.
finished - Variable in class com.google.common.jimfs.JimfsInputStream
 
fixedAttributes() - Method in class com.google.common.jimfs.AclAttributeProvider
 
fixedAttributes() - Method in class com.google.common.jimfs.AttributeProvider
Returns the set of attributes that are always available from this provider.
fixedAttributes() - Method in class com.google.common.jimfs.BasicAttributeProvider
 
fixedAttributes() - Method in class com.google.common.jimfs.DosAttributeProvider
 
fixedAttributes() - Method in class com.google.common.jimfs.OwnerAttributeProvider
 
fixedAttributes() - Method in class com.google.common.jimfs.PosixAttributeProvider
 
fixedAttributes() - Method in class com.google.common.jimfs.UnixAttributeProvider
 
fixedAttributes() - Method in class com.google.common.jimfs.UserDefinedAttributeProvider
 
FOLLOW_LINKS - Static variable in class com.google.common.jimfs.Options
Immutable empty LinkOption set.
followSymbolicLink(File, SymbolicLink, int) - Method in class com.google.common.jimfs.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 com.google.common.jimfs.JimfsAsynchronousFileChannel
 
force(boolean) - Method in class com.google.common.jimfs.JimfsFileChannel
 
forcePut(DirectoryEntry) - Method in class com.google.common.jimfs.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 com.google.common.jimfs.Configuration
Returns a default configuration appropriate to the current operating system.
free(RegularFile) - Method in class com.google.common.jimfs.HeapDisk
Frees all blocks in the given file.
free(RegularFile, int) - Method in class com.google.common.jimfs.HeapDisk
Frees the last count blocks from the given file.
fromRegex(String, Iterable<PathNormalization>) - Static method in class com.google.common.jimfs.PathMatchers
 
fromUri(URI) - Method in class com.google.common.jimfs.PathService
Converts the path of the given URI into a path for this file system.
fromUri(URI) - Method in class com.google.common.jimfs.PathType
Parses a path from the given URI.
future - Variable in class com.google.common.jimfs.JimfsAsynchronousFileChannel.CompletionHandlerCallback
 

G

get() - Method in class com.google.common.jimfs.FileFactory.DirectorySupplier
 
get() - Method in class com.google.common.jimfs.FileFactory.RegularFileSupplier
 
get() - Method in class com.google.common.jimfs.FileFactory.SymbolicLinkSupplier
 
get(byte[], int, byte[], int, int) - Static method in class com.google.common.jimfs.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 com.google.common.jimfs.RegularFile
Reads len bytes starting at the given offset in the given block into the given byte buffer.
get(File, String) - Method in class com.google.common.jimfs.AclAttributeProvider
 
get(File, String) - Method in class com.google.common.jimfs.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 com.google.common.jimfs.BasicAttributeProvider
 
get(File, String) - Method in class com.google.common.jimfs.DosAttributeProvider
 
get(File, String) - Method in class com.google.common.jimfs.OwnerAttributeProvider
 
get(File, String) - Method in class com.google.common.jimfs.PosixAttributeProvider
 
get(File, String) - Method in class com.google.common.jimfs.UnixAttributeProvider
 
get(File, String) - Method in class com.google.common.jimfs.UserDefinedAttributeProvider
 
get(Name) - Method in class com.google.common.jimfs.Directory
Returns the entry for the given name in this table or null if no such entry exists.
get(String) - Static method in class com.google.common.jimfs.StandardAttributeProviders
Returns the attribute provider for the given view, or null if the given view is not one of the attribute views this supports.
getAcl() - Method in class com.google.common.jimfs.AclAttributeProvider.View
 
getAttribute(File, String) - Method in class com.google.common.jimfs.AttributeService
Gets the value of the given attribute for the given file.
getAttribute(File, String, String) - Method in class com.google.common.jimfs.AttributeService
Gets the value of the given attribute for the given view and file.
getAttribute(String) - Method in class com.google.common.jimfs.JimfsFileStore
 
getAttribute(String, String) - Method in class com.google.common.jimfs.File
Gets the value of the given attribute in the given view.
getAttributeInternal(File, String, String) - Method in class com.google.common.jimfs.AttributeService
 
getAttributeKeys() - Method in class com.google.common.jimfs.File
Returns the attribute keys contained in the attributes map for the file.
getAttributeNames(String) - Static method in class com.google.common.jimfs.AttributeService
 
getAttributeNames(String) - Method in class com.google.common.jimfs.File
Returns the names of the attributes contained in the given attribute view in the file's attributes table.
getBlock(int) - Method in class com.google.common.jimfs.RegularFile
Gets the block at the given index in this file.
getCopyOptions(CopyOption...) - Static method in class com.google.common.jimfs.Options
Returns an immutable set of the given options for a copy.
getCreationTime() - Method in class com.google.common.jimfs.File
Gets the creation time of the file.
getDefaultThreadPool() - Method in class com.google.common.jimfs.JimfsFileSystem
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 com.google.common.jimfs.DosAttributeProvider
 
getDefaultView() - Method in class com.google.common.jimfs.JimfsFileSystem
Returns the default view for this file system.
getDefaultView(JimfsPath) - Static method in class com.google.common.jimfs.JimfsFileSystemProvider
Returns the default file system view for the given path.
getFileAttributeView(FileLookup, Class<? extends FileAttributeView>, Map<String, FileAttributeView>) - Method in class com.google.common.jimfs.AttributeService
 
getFileAttributeView(FileLookup, Class<V>) - Method in class com.google.common.jimfs.AttributeService
Returns an attribute view of the given type for the given file lookup callback, or null if the view type is not supported.
getFileAttributeView(FileLookup, Class<V>) - Method in class com.google.common.jimfs.FileSystemView
Returns a file attribute view using the given lookup callback.
getFileAttributeView(FileLookup, Class<V>) - Method in class com.google.common.jimfs.JimfsFileStore
Returns an attribute view of the given type for the given file lookup callback, or null if the view type is not supported.
getFileAttributeView(JimfsPath, Class<V>, Set<? super LinkOption>) - Method in class com.google.common.jimfs.FileSystemView
Returns a file attribute view for the given path in this view.
getFileAttributeView(Class<V>) - Method in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
getFileName() - Method in class com.google.common.jimfs.JimfsPath
 
getFileStore() - Method in class com.google.common.jimfs.JimfsFileSystem
Returns the file store for this file system.
getFileStore(Path) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
getFileStore(Path) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
getFileStoreAttributeView(Class<V>) - Method in class com.google.common.jimfs.JimfsFileStore
 
getFileStores() - Method in class com.google.common.jimfs.JimfsFileSystem
 
getFileSystem() - Method in class com.google.common.jimfs.JimfsPath
 
getFileSystem() - Method in class com.google.common.jimfs.PathService
Returns the file system this service is for.
getFileSystem(URI) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
getFileSystem(URI) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
getFileSystem(Path) - Static method in class com.google.common.jimfs.JimfsFileSystemProvider
Gets the file system for the given path.
getHeaderField(String) - Method in class com.google.common.jimfs.PathURLConnection
 
getHeaderFields() - Method in class com.google.common.jimfs.PathURLConnection
 
getHostAddress(URL) - Method in class com.google.common.jimfs.Handler
 
getInputStream() - Method in class com.google.common.jimfs.PathURLConnection
 
getJimfsFileSystem() - Method in class com.google.common.jimfs.JimfsPath
Equivalent to JimfsPath.getFileSystem() but with a return type of JimfsFileSystem.
getLastAccessTime() - Method in class com.google.common.jimfs.File
Gets the last access time of the file.
getLastModifiedTime() - Method in class com.google.common.jimfs.File
Gets the last modified time of the file.
getLinkOptions(LinkOption...) - Static method in class com.google.common.jimfs.Options
Returns an immutable set of link options.
getMoveOptions(CopyOption...) - Static method in class com.google.common.jimfs.Options
Returns an immutable set of the given options for a move.
getName() - Method in class com.google.common.jimfs.UserLookupService.NamedPrincipal
 
getName(int) - Method in class com.google.common.jimfs.JimfsPath
 
getNameCount() - Method in class com.google.common.jimfs.JimfsPath
 
getOptionsForChannel(Set<? extends OpenOption>) - Static method in class com.google.common.jimfs.Options
Returns an immutable set of open options for opening a new file channel.
getOptionsForInputStream(OpenOption...) - Static method in class com.google.common.jimfs.Options
Returns an immutable set of open options for opening a new input stream.
getOptionsForOutputStream(OpenOption...) - Static method in class com.google.common.jimfs.Options
Returns an immutable set of open options for opening a new output stream.
getOrCreateRegularFile(JimfsPath, Set<OpenOption>, FileAttribute<?>...) - Method in class com.google.common.jimfs.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(JimfsPath, Set<OpenOption>, FileAttribute<?>[]) - Method in class com.google.common.jimfs.FileSystemView
Gets or creates a new regular file with a write lock (assuming the file does not exist).
getOtherSeparators() - Method in class com.google.common.jimfs.PathType
Returns the other separators that are recognized when parsing a path.
getOwner() - Method in class com.google.common.jimfs.AclAttributeProvider.View
 
getOwner() - Method in class com.google.common.jimfs.OwnerAttributeProvider.View
 
getOwner() - Method in class com.google.common.jimfs.PosixAttributeProvider.View
 
getParent() - Method in class com.google.common.jimfs.JimfsPath
 
getPath(String, String...) - Method in class com.google.common.jimfs.JimfsFileSystem
 
getPath(URI) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
getPath(URI) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
getPathMatcher(String) - Method in class com.google.common.jimfs.JimfsFileSystem
 
getPathMatcher(String, String, ImmutableSet<PathNormalization>) - Static method in class com.google.common.jimfs.PathMatchers
Gets a PathMatcher for the given syntax and pattern as specified by FileSystem.getPathMatcher(java.lang.String).
getPathService() - Method in class com.google.common.jimfs.JimfsFileSystem
Returns the path service for this file system.
getProviders(Configuration) - Static method in class com.google.common.jimfs.AttributeService
 
getRealEntry(DirectoryEntry) - Method in class com.google.common.jimfs.FileTree
Returns the entry for the file in its parent directory.
getRoot() - Method in class com.google.common.jimfs.JimfsPath
 
getRoot(Name) - Method in class com.google.common.jimfs.FileTree
Gets the directory entry for the root with the given name or null if no such root exists.
getRoot(Name) - Method in class com.google.common.jimfs.JimfsFileStore
Returns the root directory with the given name or null if no such directory exists.
getRootDirectories() - Method in class com.google.common.jimfs.JimfsFileSystem
 
getRootDirectoryNames() - Method in class com.google.common.jimfs.FileTree
Returns the names of the root directories in this tree.
getRootDirectoryNames() - Method in class com.google.common.jimfs.JimfsFileStore
Returns the names of the root directories in this store.
getScheme() - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
getScheme() - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
getSeparator() - Method in class com.google.common.jimfs.JimfsFileSystem
 
getSeparator() - Method in class com.google.common.jimfs.PathService
Returns the default path separator.
getSeparator() - Method in class com.google.common.jimfs.PathType
Returns the canonical separator for this path type.
getSingleAttribute(String) - Static method in class com.google.common.jimfs.AttributeService
 
getStoredBytes(String) - Method in class com.google.common.jimfs.UserDefinedAttributeProvider.View
 
getSystemJimfsProvider() - Static method in class com.google.common.jimfs.Jimfs
Returns the system-loaded instance of SystemJimfsFileSystemProvider or null if it could not be found or loaded.
getTotalSpace() - Method in class com.google.common.jimfs.HeapDisk
Returns the total size of this disk.
getTotalSpace() - Method in class com.google.common.jimfs.JimfsFileStore
 
getUnallocatedSpace() - Method in class com.google.common.jimfs.HeapDisk
Returns the current number of unallocated bytes on this disk.
getUnallocatedSpace() - Method in class com.google.common.jimfs.JimfsFileStore
 
getUniqueId(Object) - Method in class com.google.common.jimfs.UnixAttributeProvider
Returns an ID that is guaranteed to be the same for any invocation with equal objects.
getUri() - Method in class com.google.common.jimfs.JimfsFileSystem
Returns the URI for this file system.
getUsableSpace() - Method in class com.google.common.jimfs.JimfsFileStore
 
getUserPrincipalLookupService() - Method in class com.google.common.jimfs.JimfsFileSystem
 
getViewName(String) - Static method in class com.google.common.jimfs.AttributeService
 
getWorkingDirectory() - Method in class com.google.common.jimfs.JimfsFileSystem
Returns the working directory path for this file system.
getWorkingDirectoryPath() - Method in class com.google.common.jimfs.FileSystemView
Returns the path of the working directory at the time this view was created.
glob - Variable in class com.google.common.jimfs.GlobToRegex
 
GlobToRegex - Class in com.google.common.jimfs
Translates globs to regex patterns.
GlobToRegex(String, String) - Constructor for class com.google.common.jimfs.GlobToRegex
 
GlobToRegex.State - Class in com.google.common.jimfs
Converter state.
group - Variable in class com.google.common.jimfs.PosixAttributeProvider.Attributes
 
group() - Method in class com.google.common.jimfs.PosixAttributeProvider.Attributes
 
GuardedBy - Annotation Type in com.google.common.jimfs
Indicates that the annotated element should be used only while holding the specified lock.

H

Handler - Class in com.google.common.jimfs
URLStreamHandler implementation for jimfs.
Handler() - Constructor for class com.google.common.jimfs.Handler
Deprecated.
Not intended to be called directly; this class is only for use by Java itself.
hash(JimfsPath) - Method in class com.google.common.jimfs.PathService
Creates a hash code for the given path.
hashCode() - Method in class com.google.common.jimfs.AbstractWatchService.Event
 
hashCode() - Method in class com.google.common.jimfs.DirectoryEntry
 
hashCode() - Method in class com.google.common.jimfs.JimfsPath
 
hashCode() - Method in class com.google.common.jimfs.Name
 
hashCode() - Method in class com.google.common.jimfs.UserLookupService.NamedPrincipal
 
headers - Variable in class com.google.common.jimfs.PathURLConnection
 
HeapDisk - Class in com.google.common.jimfs
A resizable pseudo-disk acting as a shared space for storing file data.
HeapDisk(int, int, int) - Constructor for class com.google.common.jimfs.HeapDisk
Creates a new disk with the given blockSize, maxBlockCount and maxCachedBlockCount.
HeapDisk(Configuration) - Constructor for class com.google.common.jimfs.HeapDisk
Creates a new disk using settings from the given configuration.
hidden - Variable in class com.google.common.jimfs.DosAttributeProvider.Attributes
 
HTTP_DATE_FORMAT - Static variable in class com.google.common.jimfs.PathURLConnection
 

I

id - Variable in class com.google.common.jimfs.File
 
id() - Method in class com.google.common.jimfs.File
Returns the ID of this file.
idCache - Variable in class com.google.common.jimfs.UnixAttributeProvider
 
idGenerator - Variable in class com.google.common.jimfs.FileFactory
 
implCloseChannel() - Method in class com.google.common.jimfs.JimfsFileChannel
 
incrementLinkCount() - Method in class com.google.common.jimfs.File
Increments the link count for this file.
index - Variable in class com.google.common.jimfs.GlobToRegex
 
INHERITED_VIEWS - Static variable in class com.google.common.jimfs.AclAttributeProvider
 
INHERITED_VIEWS - Static variable in class com.google.common.jimfs.DosAttributeProvider
 
INHERITED_VIEWS - Static variable in class com.google.common.jimfs.PosixAttributeProvider
 
INHERITED_VIEWS - Static variable in class com.google.common.jimfs.UnixAttributeProvider
 
inherits() - Method in class com.google.common.jimfs.AclAttributeProvider
 
inherits() - Method in class com.google.common.jimfs.AttributeProvider
Returns the names of other providers that this provider inherits attributes from.
inherits() - Method in class com.google.common.jimfs.DosAttributeProvider
 
inherits() - Method in class com.google.common.jimfs.PosixAttributeProvider
 
inherits() - Method in class com.google.common.jimfs.UnixAttributeProvider
 
INITIAL_CAPACITY - Static variable in class com.google.common.jimfs.Directory
 
INITIAL_RESIZE_THRESHOLD - Static variable in class com.google.common.jimfs.Directory
 
instance() - Static method in class com.google.common.jimfs.JimfsFileSystemProvider
Returns the singleton instance of this provider.
INSTANCE - com.google.common.jimfs.SystemFileTimeSource
 
INSTANCE - Static variable in class com.google.common.jimfs.JimfsFileSystemProvider
 
INSTANCE - Static variable in class com.google.common.jimfs.UnixPathType
Unix path type.
INSTANCE - Static variable in class com.google.common.jimfs.WindowsPathType
Windows path type.
InternalCharMatcher - Class in com.google.common.jimfs
Simple replacement for the real CharMatcher until it's out of @Beta.
InternalCharMatcher(String) - Constructor for class com.google.common.jimfs.InternalCharMatcher
 
interval - Variable in class com.google.common.jimfs.PollingWatchService
 
interval - Variable in class com.google.common.jimfs.WatchServiceConfiguration.PollingConfig
 
invalidType(String, String, Object, Class<?>...) - Static method in class com.google.common.jimfs.AttributeProvider
Throws an illegal argument exception indicating that the given value is not one of the expected types for the given attribute.
isAbsolute() - Method in class com.google.common.jimfs.JimfsPath
 
isAbsolute() - Method in class com.google.common.jimfs.PathType.ParseResult
Returns whether or not this result is an absolute path.
isArchive() - Method in class com.google.common.jimfs.DosAttributeProvider.Attributes
 
isDirectory() - Method in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
isDirectory() - Method in class com.google.common.jimfs.File
Returns whether or not this file is a directory.
isEmpty() - Method in class com.google.common.jimfs.Directory
Returns true if this directory has no entries other than those to itself and its parent.
isEmpty(ImmutableList<Name>) - Static method in class com.google.common.jimfs.FileTree
 
isEmptyPath() - Method in class com.google.common.jimfs.JimfsPath
Returns whether or not this is the empty path, with no root and a single, empty string, name.
isHidden() - Method in class com.google.common.jimfs.DosAttributeProvider.Attributes
 
isHidden(Path) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
isHidden(Path) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
isNormal() - Method in class com.google.common.jimfs.JimfsPath
Returns whether or not this path is in a normalized form.
isOpen() - Method in class com.google.common.jimfs.AbstractWatchService
Returns whether or not this watch service is open.
isOpen() - Method in class com.google.common.jimfs.DowngradedSeekableByteChannel
 
isOpen() - Method in class com.google.common.jimfs.FileSystemState
Returns whether or not the file system is open.
isOpen() - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
isOpen() - Method in class com.google.common.jimfs.JimfsFileSystem
 
isOpen() - Method in class com.google.common.jimfs.JimfsInputStream
 
isOpen() - Method in class com.google.common.jimfs.JimfsOutputStream
 
isOther() - Method in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
isPolling() - Method in class com.google.common.jimfs.PollingWatchService
 
isReadOnly() - Method in class com.google.common.jimfs.DosAttributeProvider.Attributes
 
isReadOnly() - Method in class com.google.common.jimfs.JimfsFileStore
 
isReadOnly() - Method in class com.google.common.jimfs.JimfsFileSystem
Returns false; currently, cannot create a read-only file system.
isRegexReserved(char) - Static method in class com.google.common.jimfs.PathType
 
isRegularFile() - Method in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
isRegularFile() - Method in class com.google.common.jimfs.File
Returns whether or not this file is a regular file.
isReserved(char) - Static method in class com.google.common.jimfs.WindowsPathType
Checks if c is one of the reserved characters that aren't allowed in Windows file names.
isReserved(Name) - Static method in class com.google.common.jimfs.Directory
Returns true if the given name is "." or "..".
isRoot() - Method in class com.google.common.jimfs.PathType.ParseResult
Returns whether or not this result represents a root path.
isRootDirectory() - Method in class com.google.common.jimfs.File
Returns whether or not this file is a root directory of the file system.
isSameFile(JimfsPath, FileSystemView, JimfsPath) - Method in class com.google.common.jimfs.FileSystemView
Returns whether or not the two given paths locate the same file.
isSameFile(Path, Path) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
isSameFile(Path, Path) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
isSameFileSystem(FileSystemView) - Method in class com.google.common.jimfs.FileSystemView
Returns whether or not this view and the given view belong to the same file system.
isSameFileSystem(Path) - Method in class com.google.common.jimfs.PollingWatchService
 
isSymbolicLink() - Method in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
isSymbolicLink() - Method in class com.google.common.jimfs.File
Returns whether or not this file is a symbolic link.
isSystem() - Method in class com.google.common.jimfs.DosAttributeProvider.Attributes
 
isValid() - Method in class com.google.common.jimfs.AbstractWatchService.Key
 
isValid() - Method in class com.google.common.jimfs.JimfsFileChannel.FakeFileLock
 
isValidFileSystemUri(URI) - Static method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
Returns whether or not the given URI is valid as a base file system URI.
iterator - Variable in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
iterator() - Method in class com.google.common.jimfs.Directory
 
iterator() - Method in class com.google.common.jimfs.DowngradedDirectoryStream
 
iterator() - Method in class com.google.common.jimfs.JimfsPath
 
iterator() - Method in class com.google.common.jimfs.JimfsSecureDirectoryStream
 

J

JAVA_PROTOCOL_HANDLER_PACKAGES - Static variable in class com.google.common.jimfs.Handler
 
Java8Compatibility - Class in com.google.common.jimfs
Wrappers around Buffer methods that are covariantly overridden in Java 9+.
Java8Compatibility() - Constructor for class com.google.common.jimfs.Java8Compatibility
 
Jimfs - Class in com.google.common.jimfs
Static factory methods for creating new Jimfs file systems.
Jimfs() - Constructor for class com.google.common.jimfs.Jimfs
 
JimfsAsynchronousFileChannel - Class in com.google.common.jimfs
AsynchronousFileChannel implementation that delegates to a JimfsFileChannel.
JimfsAsynchronousFileChannel(JimfsFileChannel, ExecutorService) - Constructor for class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
JimfsAsynchronousFileChannel.CompletionHandlerCallback<R,​A> - Class in com.google.common.jimfs
Runnable callback that wraps a CompletionHandler and an attachment.
JimfsFileChannel - Class in com.google.common.jimfs
A FileChannel implementation that reads and writes to a RegularFile object.
JimfsFileChannel(RegularFile, Set<OpenOption>, FileSystemState) - Constructor for class com.google.common.jimfs.JimfsFileChannel
 
JimfsFileChannel.FakeFileLock - Class in com.google.common.jimfs
A file lock that does nothing, since only one JVM process has access to this file system.
JimfsFileStore - Class in com.google.common.jimfs
FileStore implementation which provides methods for file creation, lookup and attribute handling.
JimfsFileStore(FileTree, FileFactory, HeapDisk, AttributeService, ImmutableSet<Feature>, FileSystemState) - Constructor for class com.google.common.jimfs.JimfsFileStore
 
JimfsFileSystem - Class in com.google.common.jimfs
FileSystem implementation for Jimfs.
JimfsFileSystem(JimfsFileSystemProvider, URI, JimfsFileStore, PathService, FileSystemView, WatchServiceConfiguration) - Constructor for class com.google.common.jimfs.JimfsFileSystem
 
JimfsFileSystemProvider - Class in com.google.common.jimfs
FileSystemProvider implementation for Jimfs.
JimfsFileSystemProvider() - Constructor for class com.google.common.jimfs.JimfsFileSystemProvider
 
JimfsFileSystems - Class in com.google.common.jimfs
Initializes and configures new file system instances.
JimfsFileSystems() - Constructor for class com.google.common.jimfs.JimfsFileSystems
 
JimfsGroupPrincipal(String) - Constructor for class com.google.common.jimfs.UserLookupService.JimfsGroupPrincipal
 
JimfsInputStream - Class in com.google.common.jimfs
InputStream for reading from a file's RegularFile.
JimfsInputStream(RegularFile, FileSystemState) - Constructor for class com.google.common.jimfs.JimfsInputStream
 
JimfsOutputStream - Class in com.google.common.jimfs
OutputStream for writing to a RegularFile.
JimfsOutputStream(RegularFile, boolean, FileSystemState) - Constructor for class com.google.common.jimfs.JimfsOutputStream
 
JimfsPath - Class in com.google.common.jimfs
Jimfs implementation of Path.
JimfsPath(PathService, Name, Iterable<Name>) - Constructor for class com.google.common.jimfs.JimfsPath
 
JimfsSecureDirectoryStream - Class in com.google.common.jimfs
Secure directory stream implementation that uses a FileSystemView with the stream's directory as its working directory.
JimfsSecureDirectoryStream(FileSystemView, DirectoryStream.Filter<? super Path>, FileSystemState) - Constructor for class com.google.common.jimfs.JimfsSecureDirectoryStream
 
JimfsSecureDirectoryStream.DirectoryIterator - Class in com.google.common.jimfs
 
JimfsUserPrincipal(String) - Constructor for class com.google.common.jimfs.UserLookupService.JimfsUserPrincipal
 
joiner - Variable in class com.google.common.jimfs.PathType
 
joiner() - Method in class com.google.common.jimfs.PathType
Returns the path joiner for this path type.

K

Key(AbstractWatchService, Watchable, Iterable<? extends WatchEvent.Kind<?>>) - Constructor for class com.google.common.jimfs.AbstractWatchService.Key
 
kind - Variable in class com.google.common.jimfs.AbstractWatchService.Event
 
kind() - Method in class com.google.common.jimfs.AbstractWatchService.Event
 

L

lastAccessTime - Variable in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
lastAccessTime - Variable in class com.google.common.jimfs.File
 
lastAccessTime() - Method in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
lastModifiedTime - Variable in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
lastModifiedTime - Variable in class com.google.common.jimfs.File
 
lastModifiedTime() - Method in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
length(int, long) - Method in class com.google.common.jimfs.RegularFile
 
length(long) - Method in class com.google.common.jimfs.RegularFile
 
link(JimfsPath, FileSystemView, JimfsPath) - Method in class com.google.common.jimfs.FileSystemView
Creates a hard link at the given link path to the regular file at the given path.
link(Name, File) - Method in class com.google.common.jimfs.Directory
Links the given name to the given file in this directory.
linked(DirectoryEntry) - Method in class com.google.common.jimfs.Directory
 
linked(DirectoryEntry) - Method in class com.google.common.jimfs.File
Called when this file has been linked in a directory.
links - Variable in class com.google.common.jimfs.File
 
links() - Method in class com.google.common.jimfs.File
Returns the current count of links to this file.
LINKS - com.google.common.jimfs.Feature
Feature controlling support for hard links to regular files.
list() - Method in class com.google.common.jimfs.UserDefinedAttributeProvider.View
 
lock - Variable in class com.google.common.jimfs.RegularFile
 
lock(long, long, boolean) - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
lock(long, long, boolean) - Method in class com.google.common.jimfs.JimfsFileChannel
 
lock(long, long, boolean, A, CompletionHandler<FileLock, ? super A>) - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
lockBoth(Lock, Lock) - Static method in class com.google.common.jimfs.FileSystemView
Acquires both write locks in a way that attempts to avoid the possibility of deadlock.
lockSourceAndCopy(File, File) - Method in class com.google.common.jimfs.FileSystemView
Locks source and copy files before copying content.
LOGGER - Static variable in class com.google.common.jimfs.Jimfs
 
lookup - Variable in class com.google.common.jimfs.AbstractAttributeView
 
lookup() - Method in interface com.google.common.jimfs.FileLookup
Looks up the file.
lookUp(File, JimfsPath, Set<? super LinkOption>) - Method in class com.google.common.jimfs.FileTree
Returns the result of the file lookup for the given path.
lookUp(File, JimfsPath, Set<? super LinkOption>) - Method in class com.google.common.jimfs.JimfsFileStore
Looks up the file at the given path using the given link options.
lookUp(File, JimfsPath, Set<? super LinkOption>, int) - Method in class com.google.common.jimfs.FileTree
 
lookUp(File, Iterable<Name>, Set<? super LinkOption>, int) - Method in class com.google.common.jimfs.FileTree
Looks up the given names against the given base file.
lookUp(JimfsPath, Set<? super LinkOption>) - Method in class com.google.common.jimfs.FileSystemView
Looks up the file at the given path without locking.
lookupFile() - Method in class com.google.common.jimfs.AbstractAttributeView
Looks up the file to get or set attributes on.
lookUpLast(File, Name, Set<? super LinkOption>, int) - Method in class com.google.common.jimfs.FileTree
Looks up the last element of a path.
lookupPrincipalByGroupName(String) - Method in class com.google.common.jimfs.UserLookupService
 
lookupPrincipalByName(String) - Method in class com.google.common.jimfs.UserLookupService
 
lookUpRegularFile(JimfsPath, Set<OpenOption>) - Method in class com.google.common.jimfs.FileSystemView
Looks up the regular file at the given path, throwing an exception if the file isn't a regular file.
lookUpWithLock(JimfsPath, Set<? super LinkOption>) - Method in class com.google.common.jimfs.FileSystemView
Attempt to look up the file at the given path.

M

map(FileChannel.MapMode, long, long) - Method in class com.google.common.jimfs.JimfsFileChannel
 
matches(char) - Method in class com.google.common.jimfs.InternalCharMatcher
 
matches(Path) - Method in class com.google.common.jimfs.PathMatchers.RegexPathMatcher
 
MAX_QUEUE_SIZE - Static variable in class com.google.common.jimfs.AbstractWatchService.Key
 
MAX_SYMBOLIC_LINK_DEPTH - Static variable in class com.google.common.jimfs.FileTree
Doesn't much matter, but this number comes from MIN_ELOOP_THRESHOLD here
maxBlockCount - Variable in class com.google.common.jimfs.HeapDisk
Maximum total number of blocks that the disk may contain at any time.
maxCachedBlockCount - Variable in class com.google.common.jimfs.HeapDisk
Maximum total number of unused blocks that may be cached for reuse at any time.
maxCacheSize - Variable in class com.google.common.jimfs.Configuration.Builder
 
maxCacheSize - Variable in class com.google.common.jimfs.Configuration
 
maxSize - Variable in class com.google.common.jimfs.Configuration.Builder
 
maxSize - Variable in class com.google.common.jimfs.Configuration
 
modifiedTimes - Variable in class com.google.common.jimfs.PollingWatchService.Snapshot
Maps directory entry names to last modified times.
move(Path, Path, CopyOption...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
move(Path, Path, CopyOption...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
move(Path, SecureDirectoryStream<Path>, Path) - Method in class com.google.common.jimfs.JimfsSecureDirectoryStream
 

N

name - Variable in class com.google.common.jimfs.AttributeService.SimpleFileAttribute
 
name - Variable in class com.google.common.jimfs.DirectoryEntry
 
name - Variable in class com.google.common.jimfs.UserLookupService.NamedPrincipal
 
name() - Method in class com.google.common.jimfs.AclAttributeProvider
 
name() - Method in class com.google.common.jimfs.AclAttributeProvider.View
 
name() - Method in class com.google.common.jimfs.AttributeProvider
Returns the view name that's used to get attributes from this provider.
name() - Method in class com.google.common.jimfs.AttributeService.SimpleFileAttribute
 
name() - Method in class com.google.common.jimfs.BasicAttributeProvider
 
name() - Method in class com.google.common.jimfs.BasicAttributeProvider.View
 
name() - Method in class com.google.common.jimfs.DirectoryEntry
Returns the name of this entry.
name() - Method in class com.google.common.jimfs.DosAttributeProvider
 
name() - Method in class com.google.common.jimfs.DosAttributeProvider.View
 
name() - Method in class com.google.common.jimfs.JimfsFileStore
 
name() - Method in class com.google.common.jimfs.JimfsPath
Returns the file name of this path.
name() - Method in class com.google.common.jimfs.OwnerAttributeProvider
 
name() - Method in class com.google.common.jimfs.OwnerAttributeProvider.View
 
name() - Method in class com.google.common.jimfs.PosixAttributeProvider
 
name() - Method in class com.google.common.jimfs.PosixAttributeProvider.View
 
name() - Method in class com.google.common.jimfs.UnixAttributeProvider
 
name() - Method in class com.google.common.jimfs.UserDefinedAttributeProvider
 
name() - Method in class com.google.common.jimfs.UserDefinedAttributeProvider.View
 
name(String) - Method in class com.google.common.jimfs.PathService
Returns the Name form of the given string.
Name - Class in com.google.common.jimfs
Immutable representation of a file name.
Name(String, String) - Constructor for class com.google.common.jimfs.Name
 
nameCanonicalNormalization - Variable in class com.google.common.jimfs.Configuration.Builder
 
nameCanonicalNormalization - Variable in class com.google.common.jimfs.Configuration
 
nameDisplayNormalization - Variable in class com.google.common.jimfs.Configuration.Builder
 
nameDisplayNormalization - Variable in class com.google.common.jimfs.Configuration
 
NamedPrincipal(String) - Constructor for class com.google.common.jimfs.UserLookupService.NamedPrincipal
 
names - Variable in class com.google.common.jimfs.JimfsPath
 
names - Variable in class com.google.common.jimfs.PathType.ParseResult
 
names() - Method in class com.google.common.jimfs.JimfsPath
Returns the list of name elements.
names() - Method in class com.google.common.jimfs.PathType.ParseResult
Returns the parsed name elements.
names(Iterable<String>) - Method in class com.google.common.jimfs.PathService
Returns the Name forms of the given strings.
namesOrdering - Variable in class com.google.common.jimfs.PathService
 
newAsynchronousFileChannel(Path, Set<? extends OpenOption>, ExecutorService, FileAttribute<?>...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
newDirectoryStream(JimfsPath, DirectoryStream.Filter<? super Path>, Set<? super LinkOption>, JimfsPath) - Method in class com.google.common.jimfs.FileSystemView
Creates a new directory stream for the directory located by the given path.
newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
newDirectoryStream(Path, LinkOption...) - Method in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
newFileChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
newFileSystem() - Static method in class com.google.common.jimfs.Jimfs
Creates a new in-memory file system with a default configuration appropriate to the current operating system.
newFileSystem(Configuration) - Static method in class com.google.common.jimfs.Jimfs
Creates a new in-memory file system with the given configuration.
newFileSystem(JimfsFileSystemProvider, URI, Configuration) - Static method in class com.google.common.jimfs.JimfsFileSystems
Initialize and configure a new file system with the given provider and URI, using the given configuration.
newFileSystem(String) - Static method in class com.google.common.jimfs.Jimfs
Creates a new in-memory file system with a default configuration appropriate to the current operating system.
newFileSystem(String, Configuration) - Static method in class com.google.common.jimfs.Jimfs
Creates a new in-memory file system with the given configuration.
newFileSystem(URI, Configuration) - Static method in class com.google.common.jimfs.Jimfs
 
newFileSystem(URI, Map<String, ?>) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
newFileSystem(URI, Map<String, ?>) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
newFileSystem(Path, Map<String, ?>) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
newFileSystem(Path, Map<String, ?>) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
newInputStream(Path, OpenOption...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
newJimfsFileChannel(JimfsPath, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
newOutputStream(Path, OpenOption...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
newRandomFileSystemName() - Static method in class com.google.common.jimfs.Jimfs
 
newWatchService() - Method in class com.google.common.jimfs.JimfsFileSystem
 
newWatchService(FileSystemView, PathService) - Method in class com.google.common.jimfs.WatchServiceConfiguration
Creates a new AbstractWatchService implementation.
newWatchService(FileSystemView, PathService) - Method in class com.google.common.jimfs.WatchServiceConfiguration.PollingConfig
 
next - Variable in class com.google.common.jimfs.DirectoryEntry
 
nextFileId() - Method in class com.google.common.jimfs.FileFactory
 
nextPowerOf2(int) - Static method in class com.google.common.jimfs.Util
Returns the next power of 2 >= n.
NFC - com.google.common.jimfs.PathNormalization
Unicode composed normalization (form NFC).
NFD - com.google.common.jimfs.PathNormalization
Unicode decomposed normalization (form NFD).
NO_ATTRS - Static variable in class com.google.common.jimfs.JimfsFileSystemProvider
 
NOFOLLOW_LINKS - Static variable in class com.google.common.jimfs.Options
Immutable set containing LinkOption.NOFOLLOW_LINKS.
NON_DIRECTORY_ONLY - com.google.common.jimfs.FileSystemView.DeleteMode
Only delete non-directory files.
NONE - com.google.common.jimfs.AttributeCopyOption
Do not copy any of the file's attributes.
NONE - com.google.common.jimfs.PathNormalization
No normalization.
NORMAL - Static variable in class com.google.common.jimfs.GlobToRegex
Normal state.
normalize() - Method in class com.google.common.jimfs.JimfsPath
 
normalize(String, Iterable<PathNormalization>) - Static method in enum com.google.common.jimfs.PathNormalization
Applies the given normalizations to the given string in order, returning the normalized result.
NOT_EMPTY - Static variable in class com.google.common.jimfs.PathService
 
now() - Method in class com.google.common.jimfs.FileSystemState
Returns the current FileTime.
now() - Method in class com.google.common.jimfs.FileSystemView
 
now() - Method in interface com.google.common.jimfs.FileTimeSource
Returns the current time according to this source as a FileTime.
now() - Method in enum com.google.common.jimfs.SystemFileTimeSource
 
NULL_ARRAY - Static variable in class com.google.common.jimfs.Util
 

O

offsetInBlock(long) - Method in class com.google.common.jimfs.RegularFile
 
onClose - Variable in class com.google.common.jimfs.FileSystemState
 
onFailure(Throwable) - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel.CompletionHandlerCallback
 
onSuccess(R) - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel.CompletionHandlerCallback
 
open - Variable in class com.google.common.jimfs.AbstractWatchService
 
open - Variable in class com.google.common.jimfs.FileSystemState
 
open - Variable in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
open(RegularFile, Set<OpenOption>) - Static method in class com.google.common.jimfs.FileSystemView
Opens the given regular file with the given options, truncating it if necessary and incrementing its open count.
openConnection(URL) - Method in class com.google.common.jimfs.Handler
 
openCount - Variable in class com.google.common.jimfs.RegularFile
 
opened() - Method in class com.google.common.jimfs.File
Called when a stream or channel to this file is opened.
opened() - Method in class com.google.common.jimfs.RegularFile
 
Options - Class in com.google.common.jimfs
Utility methods for normalizing user-provided options arrays and sets to canonical immutable sets of options.
Options() - Constructor for class com.google.common.jimfs.Options
 
OS_X - Static variable in class com.google.common.jimfs.Configuration.OsxHolder
 
osX() - Static method in class com.google.common.jimfs.Configuration
Returns the default configuration for a Mac OS X-like file system.
OsxHolder() - Constructor for class com.google.common.jimfs.Configuration.OsxHolder
 
otherSeparators - Variable in class com.google.common.jimfs.PathType
 
overflow - Variable in class com.google.common.jimfs.AbstractWatchService.Key
 
overflowEvent(int) - Static method in class com.google.common.jimfs.AbstractWatchService.Key
 
owner - Variable in class com.google.common.jimfs.PosixAttributeProvider.Attributes
 
owner() - Method in class com.google.common.jimfs.PosixAttributeProvider.Attributes
 
OwnerAttributeProvider - Class in com.google.common.jimfs
Attribute provider that provides the FileOwnerAttributeView ("owner").
OwnerAttributeProvider() - Constructor for class com.google.common.jimfs.OwnerAttributeProvider
 
OwnerAttributeProvider.View - Class in com.google.common.jimfs
Implementation of FileOwnerAttributeView.
ownerView - Variable in class com.google.common.jimfs.AclAttributeProvider.View
 
ownerView - Variable in class com.google.common.jimfs.PosixAttributeProvider.View
 

P

parent() - Method in class com.google.common.jimfs.Directory
Returns the parent of this directory.
PARENT - Static variable in class com.google.common.jimfs.Name
The name to use for a link from a directory to its parent directory.
parseDriveRoot(String) - Method in class com.google.common.jimfs.WindowsPathType
Parses a normal drive-letter root, e.g.
parsePath(String) - Method in class com.google.common.jimfs.PathType
Parses the given strings as a path.
parsePath(String) - Method in class com.google.common.jimfs.UnixPathType
 
parsePath(String) - Method in class com.google.common.jimfs.WindowsPathType
 
parsePath(String, String...) - Method in class com.google.common.jimfs.PathService
Parses the given strings as a path.
ParseResult(String, Iterable<String>) - Constructor for class com.google.common.jimfs.PathType.ParseResult
 
parseUncRoot(String, String) - Method in class com.google.common.jimfs.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 com.google.common.jimfs.PathType
Parses a path from the given URI path.
parseUriPath(String) - Method in class com.google.common.jimfs.UnixPathType
 
parseUriPath(String) - Method in class com.google.common.jimfs.WindowsPathType
 
path() - Method in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
pathEqualityUsesCanonicalForm - Variable in class com.google.common.jimfs.Configuration.Builder
 
pathEqualityUsesCanonicalForm - Variable in class com.google.common.jimfs.Configuration
 
PathMatchers - Class in com.google.common.jimfs
PathMatcher factory for any file system.
PathMatchers() - Constructor for class com.google.common.jimfs.PathMatchers
 
PathMatchers.RegexPathMatcher - Class in com.google.common.jimfs
PathMatcher that matches the toString() form of a Path against a regex Pattern.
PathNormalization - Enum in com.google.common.jimfs
Normalizations that can be applied to names in paths.
PathNormalization(int) - Constructor for enum com.google.common.jimfs.PathNormalization
 
pathService - Variable in class com.google.common.jimfs.JimfsFileSystem
 
pathService - Variable in class com.google.common.jimfs.JimfsPath
 
pathService - Variable in class com.google.common.jimfs.PollingWatchService
 
PathService - Class in com.google.common.jimfs
Service for creating JimfsPath instances and handling other path-related operations.
PathService(Configuration) - Constructor for class com.google.common.jimfs.PathService
 
PathService(PathType, Iterable<PathNormalization>, Iterable<PathNormalization>, boolean) - Constructor for class com.google.common.jimfs.PathService
 
pathType - Variable in class com.google.common.jimfs.Configuration.Builder
 
pathType - Variable in class com.google.common.jimfs.Configuration
 
PathType - Class in com.google.common.jimfs
An object defining a specific type of path.
PathType(boolean, char, char...) - Constructor for class com.google.common.jimfs.PathType
 
PathType.ParseResult - Class in com.google.common.jimfs
Simple result of parsing a path.
PathURLConnection - Class in com.google.common.jimfs
URLConnection implementation.
PathURLConnection(URL) - Constructor for class com.google.common.jimfs.PathURLConnection
 
pattern - Variable in class com.google.common.jimfs.PathMatchers.RegexPathMatcher
 
patternFlags - Variable in enum com.google.common.jimfs.PathNormalization
 
patternFlags() - Method in enum com.google.common.jimfs.PathNormalization
Returns the flags that should be used when creating a regex Pattern in order to approximate this normalization.
permissions - Variable in class com.google.common.jimfs.PosixAttributeProvider.Attributes
 
permissions() - Method in class com.google.common.jimfs.PosixAttributeProvider.Attributes
 
poison - Variable in class com.google.common.jimfs.AbstractWatchService
 
poll() - Method in class com.google.common.jimfs.AbstractWatchService
 
poll(long, TimeUnit) - Method in class com.google.common.jimfs.AbstractWatchService
 
pollEvents() - Method in class com.google.common.jimfs.AbstractWatchService.Key
 
polling(long, TimeUnit) - Static method in class com.google.common.jimfs.WatchServiceConfiguration
Returns a configuration for a WatchService that polls watched directories for changes every interval of the given timeUnit (e.g.
PollingConfig(long, TimeUnit) - Constructor for class com.google.common.jimfs.WatchServiceConfiguration.PollingConfig
 
pollingFuture - Variable in class com.google.common.jimfs.PollingWatchService
 
pollingService - Variable in class com.google.common.jimfs.PollingWatchService
 
pollingTask - Variable in class com.google.common.jimfs.PollingWatchService
 
PollingWatchService - Class in com.google.common.jimfs
Implementation of WatchService that polls for changes to directories at registered paths.
PollingWatchService(FileSystemView, PathService, FileSystemState, long, TimeUnit) - Constructor for class com.google.common.jimfs.PollingWatchService
 
PollingWatchService.Snapshot - Class in com.google.common.jimfs
Snapshot of the state of a directory at a particular moment.
popState() - Method in class com.google.common.jimfs.GlobToRegex
Returns to the previous state.
pos - Variable in class com.google.common.jimfs.JimfsInputStream
 
pos - Variable in class com.google.common.jimfs.JimfsOutputStream
 
position - Variable in class com.google.common.jimfs.JimfsFileChannel
 
position() - Method in class com.google.common.jimfs.DowngradedSeekableByteChannel
 
position() - Method in class com.google.common.jimfs.JimfsFileChannel
 
position(long) - Method in class com.google.common.jimfs.DowngradedSeekableByteChannel
 
position(long) - Method in class com.google.common.jimfs.JimfsFileChannel
 
PosixAttributeProvider - Class in com.google.common.jimfs
Attribute provider that provides the PosixFileAttributeView ("posix") and allows reading of PosixFileAttributes.
PosixAttributeProvider() - Constructor for class com.google.common.jimfs.PosixAttributeProvider
 
PosixAttributeProvider.Attributes - Class in com.google.common.jimfs
Implementation of PosixFileAttributes.
PosixAttributeProvider.View - Class in com.google.common.jimfs
Implementation of PosixFileAttributeView.
post(WatchEvent<?>) - Method in class com.google.common.jimfs.AbstractWatchService.Key
Posts the given event to this key.
postChanges(PollingWatchService.Snapshot, AbstractWatchService.Key) - Method in class com.google.common.jimfs.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 com.google.common.jimfs.RegularFile
Prepares for a write of len bytes starting at position pos.
process(GlobToRegex, char) - Method in class com.google.common.jimfs.GlobToRegex.State
Process the next character with the current state, transitioning the converter to a new state if necessary.
provider - Variable in class com.google.common.jimfs.JimfsFileSystem
 
provider() - Method in class com.google.common.jimfs.JimfsFileSystem
 
PROVIDERS - Static variable in class com.google.common.jimfs.StandardAttributeProviders
 
providersByAttributesType - Variable in class com.google.common.jimfs.AttributeService
 
providersByName - Variable in class com.google.common.jimfs.AttributeService
 
providersByViewType - Variable in class com.google.common.jimfs.AttributeService
 
pushState(GlobToRegex.State) - Method in class com.google.common.jimfs.GlobToRegex
Enters the given state.
put(byte[], int, byte[], int, int) - Static method in class com.google.common.jimfs.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 com.google.common.jimfs.RegularFile
Puts the contents of the given byte buffer at the given offset in the given block.
put(DirectoryEntry) - Method in class com.google.common.jimfs.Directory
Adds the given entry to the directory.
put(DirectoryEntry, boolean) - Method in class com.google.common.jimfs.Directory
Adds the given entry to the directory.
putAll(Table<String, String, Object>) - Method in class com.google.common.jimfs.File
 

Q

queue - Variable in class com.google.common.jimfs.AbstractWatchService
 
queuedKeys() - Method in class com.google.common.jimfs.AbstractWatchService
 

R

read - Variable in class com.google.common.jimfs.JimfsFileChannel
 
read() - Method in class com.google.common.jimfs.JimfsInputStream
 
read(byte[]) - Method in class com.google.common.jimfs.JimfsInputStream
 
read(byte[], int, int) - Method in class com.google.common.jimfs.JimfsInputStream
 
read(long) - Method in class com.google.common.jimfs.RegularFile
Reads the byte at position pos in this file as an unsigned integer in the range 0-255.
read(long, byte[], int, int) - Method in class com.google.common.jimfs.RegularFile
Reads up to len bytes starting at position pos in this file to the given byte array starting at offset off.
read(long, Iterable<ByteBuffer>) - Method in class com.google.common.jimfs.RegularFile
Reads up to the total remaining() number of bytes in each of bufs starting at position pos in this file to the given buffers, in order.
read(long, ByteBuffer) - Method in class com.google.common.jimfs.RegularFile
Reads up to buf.remaining() bytes starting at position pos in this file to the given buffer.
read(String, ByteBuffer) - Method in class com.google.common.jimfs.UserDefinedAttributeProvider.View
 
read(ByteBuffer) - Method in class com.google.common.jimfs.DowngradedSeekableByteChannel
 
read(ByteBuffer) - Method in class com.google.common.jimfs.JimfsFileChannel
 
read(ByteBuffer[], int, int) - Method in class com.google.common.jimfs.JimfsFileChannel
 
read(ByteBuffer, long) - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
read(ByteBuffer, long) - Method in class com.google.common.jimfs.JimfsFileChannel
 
read(ByteBuffer, long, A, CompletionHandler<Integer, ? super A>) - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
readAll(File, AttributeProvider, Map<String, Object>) - Static method in class com.google.common.jimfs.AttributeService
 
readAttributes() - Method in class com.google.common.jimfs.BasicAttributeProvider.View
 
readAttributes() - Method in class com.google.common.jimfs.DosAttributeProvider.View
 
readAttributes() - Method in class com.google.common.jimfs.PosixAttributeProvider.View
 
readAttributes(File) - Method in class com.google.common.jimfs.AttributeProvider
Reads this provider's attributes from the given file as an attributes object.
readAttributes(File) - Method in class com.google.common.jimfs.BasicAttributeProvider
 
readAttributes(File) - Method in class com.google.common.jimfs.DosAttributeProvider
 
readAttributes(File) - Method in class com.google.common.jimfs.PosixAttributeProvider
 
readAttributes(File, Class<A>) - Method in class com.google.common.jimfs.AttributeService
Returns attributes of the given file as an object of the given type.
readAttributes(File, Class<A>) - Method in class com.google.common.jimfs.JimfsFileStore
Returns attributes of the given file as an object of the given type.
readAttributes(File, String) - Method in class com.google.common.jimfs.AttributeService
Implements Files.readAttributes(Path, String, LinkOption...).
readAttributes(File, String) - Method in class com.google.common.jimfs.JimfsFileStore
Returns a map containing the attributes described by the given string mapped to their values.
readAttributes(JimfsPath, Class<A>, Set<? super LinkOption>) - Method in class com.google.common.jimfs.FileSystemView
Reads attributes of the file located by the given path in this view as an object.
readAttributes(JimfsPath, String, Set<? super LinkOption>) - Method in class com.google.common.jimfs.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 com.google.common.jimfs.JimfsFileSystemProvider
 
readAttributes(Path, Class<A>, LinkOption...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
readAttributes(Path, String, LinkOption...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
readAttributes(Path, String, LinkOption...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
readInternal(byte[], int, int) - Method in class com.google.common.jimfs.JimfsInputStream
 
readLock - Variable in class com.google.common.jimfs.JimfsFileStore
 
readLock() - Method in class com.google.common.jimfs.JimfsFileStore
Returns the read lock for this store.
readLock() - Method in class com.google.common.jimfs.RegularFile
Returns the read lock for this file.
readOnly - Variable in class com.google.common.jimfs.DosAttributeProvider.Attributes
 
readSymbolicLink(JimfsPath) - Method in class com.google.common.jimfs.FileSystemView
Returns the target of the symbolic link at the given path.
readSymbolicLink(Path) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
READY - com.google.common.jimfs.AbstractWatchService.Key.State
 
REGEX_RESERVED - Static variable in class com.google.common.jimfs.GlobToRegex
 
RegexPathMatcher(Pattern) - Constructor for class com.google.common.jimfs.PathMatchers.RegexPathMatcher
 
regexReservedChars - Static variable in class com.google.common.jimfs.PathType
 
register() - Static method in class com.google.common.jimfs.Handler
Registers this handler by adding the package com.google.common to the system property "java.protocol.handler.pkgs".
register(C) - Method in class com.google.common.jimfs.FileSystemState
Registers the given resource to be closed when the file system is closed.
register(Class<? extends URLStreamHandler>) - Static method in class com.google.common.jimfs.Handler
Generic method that would allow registration of any properly placed Handler class.
register(Watchable, Iterable<? extends WatchEvent.Kind<?>>) - Method in class com.google.common.jimfs.AbstractWatchService
Registers the given watchable with this service, returning a new watch key for it.
register(Watchable, Iterable<? extends WatchEvent.Kind<?>>) - Method in class com.google.common.jimfs.PollingWatchService
 
register(WatchService, WatchEvent.Kind<?>...) - Method in class com.google.common.jimfs.JimfsPath
 
register(WatchService, WatchEvent.Kind<?>[], WatchEvent.Modifier...) - Method in class com.google.common.jimfs.JimfsPath
 
registering - Variable in class com.google.common.jimfs.FileSystemState
Count of resources currently in the process of being registered.
regularFile - Variable in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
RegularFile - Class in com.google.common.jimfs
A mutable, resizable store for bytes.
RegularFile(int, FileTime, HeapDisk, byte[][], int, long) - Constructor for class com.google.common.jimfs.RegularFile
 
regularFileCreator() - Method in class com.google.common.jimfs.FileFactory
Returns a supplier that creates regular files.
regularFileCreator() - Method in class com.google.common.jimfs.JimfsFileStore
Returns a supplier that creates a new regular file.
regularFileSupplier - Variable in class com.google.common.jimfs.FileFactory
 
RegularFileSupplier() - Constructor for class com.google.common.jimfs.FileFactory.RegularFileSupplier
 
relativize(Path) - Method in class com.google.common.jimfs.JimfsPath
 
release() - Method in class com.google.common.jimfs.JimfsFileChannel.FakeFileLock
 
remove(Name) - Method in class com.google.common.jimfs.Directory
Removes and returns the entry for the given name from the directory.
removeFileSystemRunnable(URI) - Static method in class com.google.common.jimfs.JimfsFileSystems
Returns a Runnable that will remove the file system with the given URI from the system provider's cache when called.
removeFileSystemRunnable(URI) - Static method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
Returns a runnable that, when run, removes the file system with the given URI from this provider.
requireDirectory(Path) - Method in class com.google.common.jimfs.DirectoryEntry
Checks that this entry exists and links to a directory, throwing an exception if not.
requireDoesNotExist(Path) - Method in class com.google.common.jimfs.DirectoryEntry
Checks that this entry does not exist, throwing an exception if it does.
requireExists(Path) - Method in class com.google.common.jimfs.DirectoryEntry
Checks that this entry exists, throwing an exception if not.
requireSymbolicLink(Path) - Method in class com.google.common.jimfs.DirectoryEntry
Checks that this entry exists and links to a symbolic link, throwing an exception if not.
reset() - Method in class com.google.common.jimfs.AbstractWatchService.Key
 
resizeThreshold - Variable in class com.google.common.jimfs.Directory
 
resolve(Name) - Method in class com.google.common.jimfs.JimfsPath
Resolves the given name against this path.
resolve(String) - Method in class com.google.common.jimfs.JimfsPath
 
resolve(Path) - Method in class com.google.common.jimfs.JimfsPath
 
resolveSibling(String) - Method in class com.google.common.jimfs.JimfsPath
 
resolveSibling(Path) - Method in class com.google.common.jimfs.JimfsPath
 
resources - Variable in class com.google.common.jimfs.FileSystemState
 
root - Variable in class com.google.common.jimfs.JimfsPath
 
root - Variable in class com.google.common.jimfs.PathType.ParseResult
 
root() - Method in class com.google.common.jimfs.JimfsPath
Returns the root name, or null if there is no root.
root() - Method in class com.google.common.jimfs.PathType.ParseResult
Returns the parsed root element, or null if there was no root.
rootOrdering - Variable in class com.google.common.jimfs.PathService
 
roots - Variable in class com.google.common.jimfs.Configuration.Builder
 
roots - Variable in class com.google.common.jimfs.Configuration
 
roots - Variable in class com.google.common.jimfs.FileTree
Map of root names to root directories.
run() - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel.CompletionHandlerCallback
 

S

SECURE_DIRECTORY_STREAM - com.google.common.jimfs.Feature
Feature controlling support for SecureDirectoryStream.
secureDirectoryStream - Variable in class com.google.common.jimfs.DowngradedDirectoryStream
 
SELF - Static variable in class com.google.common.jimfs.Name
The name to use for a link from a directory to itself.
separator - Variable in class com.google.common.jimfs.PathType
 
separatorMatcher - Variable in class com.google.common.jimfs.GlobToRegex
 
separators - Variable in class com.google.common.jimfs.GlobToRegex
 
set(File, String, String, Object, boolean) - Method in class com.google.common.jimfs.AclAttributeProvider
 
set(File, String, String, Object, boolean) - Method in class com.google.common.jimfs.AttributeProvider
Sets the value of the given attribute in the given file object.
set(File, String, String, Object, boolean) - Method in class com.google.common.jimfs.BasicAttributeProvider
 
set(File, String, String, Object, boolean) - Method in class com.google.common.jimfs.DosAttributeProvider
 
set(File, String, String, Object, boolean) - Method in class com.google.common.jimfs.OwnerAttributeProvider
 
set(File, String, String, Object, boolean) - Method in class com.google.common.jimfs.PosixAttributeProvider
 
set(File, String, String, Object, boolean) - Method in class com.google.common.jimfs.UnixAttributeProvider
 
set(File, String, String, Object, boolean) - Method in class com.google.common.jimfs.UserDefinedAttributeProvider
 
setAcl(List<AclEntry>) - Method in class com.google.common.jimfs.AclAttributeProvider.View
 
setArchive(boolean) - Method in class com.google.common.jimfs.DosAttributeProvider.View
 
setAttribute(File, String, Object) - Method in class com.google.common.jimfs.JimfsFileStore
Sets the given attribute to the given value for the given file.
setAttribute(File, String, Object, boolean) - Method in class com.google.common.jimfs.AttributeService
Sets the value of the given attribute to the given value for the given file.
setAttribute(JimfsPath, String, Object, Set<? super LinkOption>) - Method in class com.google.common.jimfs.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 com.google.common.jimfs.File
Sets the given attribute in the given view to the given value.
setAttribute(Path, String, Object, LinkOption...) - Method in class com.google.common.jimfs.JimfsFileSystemProvider
 
setAttribute(Path, String, Object, LinkOption...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
setAttributeInternal(File, String, String, Object, boolean) - Method in class com.google.common.jimfs.AttributeService
 
setAttributeViews(String, String...) - Method in class com.google.common.jimfs.Configuration.Builder
Sets the attribute views the file system should support.
setBlockSize(int) - Method in class com.google.common.jimfs.Configuration.Builder
Sets the block size (in bytes) for the file system to use.
setCreationTime(FileTime) - Method in class com.google.common.jimfs.File
Sets the creation time of the file.
setDefaultAttributeValue(String, Object) - Method in class com.google.common.jimfs.Configuration.Builder
Sets the default value to use for the given file attribute when creating new files.
setDisplayName(String) - Method in class com.google.common.jimfs.Configuration.Builder
 
setFileSystem(FileSystem) - Method in class com.google.common.jimfs.PathService
Sets the file system to use for created paths.
setFileTimes(FileTime, FileTime, FileTime) - Method in class com.google.common.jimfs.File
 
setFileTimeSource(FileTimeSource) - Method in class com.google.common.jimfs.Configuration.Builder
Sets the FileTimeSource that will supply the current time for this file system.
setGroup(GroupPrincipal) - Method in class com.google.common.jimfs.PosixAttributeProvider.View
 
setHidden(boolean) - Method in class com.google.common.jimfs.DosAttributeProvider.View
 
setInitialAttributes(File, FileAttribute<?>...) - Method in class com.google.common.jimfs.AttributeService
Sets all initial attributes for the given file, including the given attributes if possible.
setInitialAttributes(File, FileAttribute<?>...) - Method in class com.google.common.jimfs.JimfsFileStore
Sets initial attributes on the given file.
setLastAccessTime(FileTime) - Method in class com.google.common.jimfs.File
Sets the last access time of the file.
setLastModifiedTime(FileTime) - Method in class com.google.common.jimfs.File
Sets the last modified time of the file.
setMaxCacheSize(long) - Method in class com.google.common.jimfs.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 com.google.common.jimfs.Configuration.Builder
Sets the maximum size (in bytes) for the file system's in-memory file storage.
setNameCanonicalNormalization(PathNormalization, PathNormalization...) - Method in class com.google.common.jimfs.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 com.google.common.jimfs.Configuration.Builder
Sets the normalizations that will be applied to the display form of filenames.
setOwner(UserPrincipal) - Method in class com.google.common.jimfs.AclAttributeProvider.View
 
setOwner(UserPrincipal) - Method in class com.google.common.jimfs.OwnerAttributeProvider.View
 
setOwner(UserPrincipal) - Method in class com.google.common.jimfs.PosixAttributeProvider.View
 
setPathEqualityUsesCanonicalForm(boolean) - Method in class com.google.common.jimfs.Configuration.Builder
Sets whether Path objects 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 com.google.common.jimfs.PosixAttributeProvider.View
 
setReadOnly(boolean) - Method in class com.google.common.jimfs.DosAttributeProvider.View
 
setRoots(String, String...) - Method in class com.google.common.jimfs.Configuration.Builder
Sets the roots for the file system.
setSupportedFeatures(Feature...) - Method in class com.google.common.jimfs.Configuration.Builder
Sets the given features to be supported by the file system.
setSystem(boolean) - Method in class com.google.common.jimfs.DosAttributeProvider.View
 
setTimes(FileTime, FileTime, FileTime) - Method in class com.google.common.jimfs.BasicAttributeProvider.View
 
setTimes(FileTime, FileTime, FileTime) - Method in class com.google.common.jimfs.DosAttributeProvider.View
 
setTimes(FileTime, FileTime, FileTime) - Method in class com.google.common.jimfs.PosixAttributeProvider.View
 
setWatchServiceConfiguration(WatchServiceConfiguration) - Method in class com.google.common.jimfs.Configuration.Builder
Sets the configuration that WatchService instances created by the file system should use.
setWorkingDirectory(String) - Method in class com.google.common.jimfs.Configuration.Builder
Sets the path to the working directory for the file system.
signal() - Method in class com.google.common.jimfs.AbstractWatchService.Key
Sets the state to SIGNALLED and enqueues this key with the watcher if it was previously in the READY state.
SIGNALLED - com.google.common.jimfs.AbstractWatchService.Key.State
 
simple(String) - Static method in class com.google.common.jimfs.Name
Creates a new name with no normalization done on the given string.
SimpleFileAttribute(String, T) - Constructor for class com.google.common.jimfs.AttributeService.SimpleFileAttribute
 
size - Variable in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
size - Variable in class com.google.common.jimfs.RegularFile
 
size() - Method in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
size() - Method in class com.google.common.jimfs.DowngradedSeekableByteChannel
 
size() - Method in class com.google.common.jimfs.File
Returns the size, in bytes, of this file's content.
size() - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
size() - Method in class com.google.common.jimfs.JimfsFileChannel
 
size() - Method in class com.google.common.jimfs.RegularFile
 
size(String) - Method in class com.google.common.jimfs.UserDefinedAttributeProvider.View
 
sizeWithoutLocking() - Method in class com.google.common.jimfs.RegularFile
Gets the current size of this file in bytes.
skip(long) - Method in class com.google.common.jimfs.JimfsInputStream
 
smearHash(int) - Static method in class com.google.common.jimfs.Util
 
snapshot() - Method in class com.google.common.jimfs.Directory
Creates an immutable sorted snapshot of the names this directory contains, excluding "." and "..".
Snapshot(Map<Name, FileTime>) - Constructor for class com.google.common.jimfs.PollingWatchService.Snapshot
 
snapshotModifiedTimes(JimfsPath) - Method in class com.google.common.jimfs.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 com.google.common.jimfs.PollingWatchService
Map of keys to the most recent directory snapshot for each key.
snapshotWorkingDirectoryEntries() - Method in class com.google.common.jimfs.FileSystemView
Snapshots the entries of the working directory of this view.
splitter - Variable in class com.google.common.jimfs.PathType
 
splitter() - Method in class com.google.common.jimfs.PathType
Returns the path splitter for this path type.
StandardAttributeProviders - Class in com.google.common.jimfs
Static registry of AttributeProvider implementations for the standard set of file attribute views Jimfs supports.
StandardAttributeProviders() - Constructor for class com.google.common.jimfs.StandardAttributeProviders
 
STAR - Static variable in class com.google.common.jimfs.GlobToRegex
State following the reading of a single *.
startPolling() - Method in class com.google.common.jimfs.PollingWatchService
 
startsWith(String) - Method in class com.google.common.jimfs.JimfsPath
 
startsWith(Path) - Method in class com.google.common.jimfs.JimfsPath
 
startsWith(List<?>, List<?>) - Static method in class com.google.common.jimfs.JimfsPath
Returns true if list starts with all elements of other in the same order.
state - Variable in class com.google.common.jimfs.AbstractWatchService.Key
 
state - Variable in class com.google.common.jimfs.JimfsFileStore
 
state() - Method in class com.google.common.jimfs.AbstractWatchService.Key
Gets the current state of this key, State.READY or SIGNALLED.
state() - Method in class com.google.common.jimfs.FileSystemView
Returns the file system state.
state() - Method in class com.google.common.jimfs.JimfsFileStore
Returns the file system state object.
State() - Constructor for enum com.google.common.jimfs.AbstractWatchService.Key.State
 
State() - Constructor for class com.google.common.jimfs.GlobToRegex.State
 
states - Variable in class com.google.common.jimfs.GlobToRegex
 
stopPolling() - Method in class com.google.common.jimfs.PollingWatchService
 
store - Variable in class com.google.common.jimfs.FileSystemView
 
stream - Variable in class com.google.common.jimfs.PathURLConnection
 
subpath(int, int) - Method in class com.google.common.jimfs.JimfsPath
 
subscribedTypes - Variable in class com.google.common.jimfs.AbstractWatchService.Key
 
subscribesTo(WatchEvent.Kind<?>) - Method in class com.google.common.jimfs.AbstractWatchService.Key
Gets whether or not this key is subscribed to the given type of event.
supportedFeatures - Variable in class com.google.common.jimfs.Configuration.Builder
 
supportedFeatures - Variable in class com.google.common.jimfs.Configuration
 
supportedFeatures - Variable in class com.google.common.jimfs.JimfsFileStore
 
supportedFileAttributeViews() - Method in class com.google.common.jimfs.AttributeService
Implements FileSystem.supportedFileAttributeViews().
supportedFileAttributeViews() - Method in class com.google.common.jimfs.JimfsFileStore
Returns the file attribute views supported by this store.
supportedFileAttributeViews() - Method in class com.google.common.jimfs.JimfsFileSystem
 
supports(String) - Method in class com.google.common.jimfs.AttributeProvider
Returns whether or not this provider supports the given attribute directly.
supports(String) - Method in class com.google.common.jimfs.UserDefinedAttributeProvider
 
supportsFeature(Feature) - Method in class com.google.common.jimfs.JimfsFileStore
Returns whether or not the given feature is supported by this file store.
supportsFileAttributeView(Class<? extends FileAttributeView>) - Method in class com.google.common.jimfs.AttributeService
Implements FileStore.supportsFileAttributeView(Class).
supportsFileAttributeView(Class<? extends FileAttributeView>) - Method in class com.google.common.jimfs.JimfsFileStore
 
supportsFileAttributeView(String) - Method in class com.google.common.jimfs.JimfsFileStore
 
supportsGroups - Variable in class com.google.common.jimfs.UserLookupService
 
SYMBOLIC_LINKS - com.google.common.jimfs.Feature
Feature controlling support for symbolic links.
symbolicLink - Variable in class com.google.common.jimfs.BasicAttributeProvider.Attributes
 
SymbolicLink - Class in com.google.common.jimfs
A symbolic link file, containing a path.
SymbolicLink(int, FileTime, JimfsPath) - Constructor for class com.google.common.jimfs.SymbolicLink
 
symbolicLinkCreator(JimfsPath) - Method in class com.google.common.jimfs.FileFactory
Returns a supplier that creates a symbolic links to the given path.
symbolicLinkCreator(JimfsPath) - Method in class com.google.common.jimfs.JimfsFileStore
Returns a supplier that creates a new symbolic link with the given target.
SymbolicLinkSupplier(JimfsPath) - Constructor for class com.google.common.jimfs.FileFactory.SymbolicLinkSupplier
 
syntaxError(String) - Method in class com.google.common.jimfs.GlobToRegex
Throws a PatternSyntaxException.
system - Variable in class com.google.common.jimfs.DosAttributeProvider.Attributes
 
SystemFileTimeSource - Enum in com.google.common.jimfs
Implementation of of FileTimeSource that gets the current time from the system.
SystemFileTimeSource() - Constructor for enum com.google.common.jimfs.SystemFileTimeSource
 
SystemJimfsFileSystemProvider - Class in com.google.common.jimfs
FileSystemProvider implementation for Jimfs that is loaded by the system as a service.
SystemJimfsFileSystemProvider() - Constructor for class com.google.common.jimfs.SystemJimfsFileSystemProvider
Deprecated.
Not intended to be called directly; this class is only for use by Java itself.
systemProvider - Static variable in class com.google.common.jimfs.Jimfs
The system-loaded instance of SystemJimfsFileSystemProvider, or null if it could not be found or loaded.

T

table - Variable in class com.google.common.jimfs.Directory
 
take() - Method in class com.google.common.jimfs.AbstractWatchService
 
takeSnapshot(JimfsPath) - Method in class com.google.common.jimfs.PollingWatchService
 
target - Variable in class com.google.common.jimfs.FileFactory.SymbolicLinkSupplier
 
target - Variable in class com.google.common.jimfs.SymbolicLink
 
target() - Method in class com.google.common.jimfs.SymbolicLink
Returns the target path of this symbolic link.
THREAD_FACTORY - Static variable in class com.google.common.jimfs.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 com.google.common.jimfs.PollingWatchService
 
timeUnit - Variable in class com.google.common.jimfs.WatchServiceConfiguration.PollingConfig
 
toAbsolutePath() - Method in class com.google.common.jimfs.JimfsPath
 
toAcl(List<?>) - Static method in class com.google.common.jimfs.AclAttributeProvider
 
toBlockCount(long, int) - Static method in class com.google.common.jimfs.HeapDisk
Returns the nearest multiple of blockSize that is <= size.
toBuilder() - Method in class com.google.common.jimfs.Configuration
Returns a new mutable builder that initially contains the same settings as this configuration.
toDirectory(File) - Method in class com.google.common.jimfs.FileTree
 
toFile() - Method in class com.google.common.jimfs.JimfsPath
 
toFileSystemUri(URI) - Static method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
Returns the given URI with any path, query or fragment stripped off.
toMode(Set<PosixFilePermission>) - Static method in class com.google.common.jimfs.UnixAttributeProvider
 
toPath(PathType.ParseResult) - Method in class com.google.common.jimfs.PathService
 
toPath(URI) - Method in class com.google.common.jimfs.JimfsFileSystem
Converts the given URI into a path in this file system.
toPath(FileSystem, URI) - Static method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
Invokes the toPath(URI) method on the given FileSystem.
toPermissions(Set<?>) - Static method in class com.google.common.jimfs.PosixAttributeProvider
 
toRealPath(JimfsPath, PathService, Set<? super LinkOption>) - Method in class com.google.common.jimfs.FileSystemView
Gets the real path to the file located by the given path.
toRealPath(LinkOption...) - Method in class com.google.common.jimfs.JimfsPath
 
toRegex(String, String) - Static method in class com.google.common.jimfs.GlobToRegex
Converts the given glob to a regular expression pattern.
toString() - Method in class com.google.common.jimfs.AbstractWatchService.Event
 
toString() - Method in class com.google.common.jimfs.Configuration
 
toString() - Method in class com.google.common.jimfs.DirectoryEntry
 
toString() - Method in class com.google.common.jimfs.File
 
toString() - Method in class com.google.common.jimfs.JimfsPath
 
toString() - Method in class com.google.common.jimfs.Name
 
toString() - Method in class com.google.common.jimfs.PathMatchers.RegexPathMatcher
 
toString() - Method in class com.google.common.jimfs.PathType
 
toString() - Method in enum com.google.common.jimfs.SystemFileTimeSource
 
toString() - Method in class com.google.common.jimfs.UserLookupService.NamedPrincipal
 
toString() - Method in class com.google.common.jimfs.WatchServiceConfiguration.PollingConfig
 
toString(String, Iterable<String>) - Method in class com.google.common.jimfs.PathType
Returns the string form of the given path.
toString(String, Iterable<String>) - Method in class com.google.common.jimfs.UnixPathType
 
toString(String, Iterable<String>) - Method in class com.google.common.jimfs.WindowsPathType
 
toString(JimfsPath) - Method in class com.google.common.jimfs.PathService
Returns the string form of the given path.
toUri() - Method in class com.google.common.jimfs.JimfsPath
 
toUri(JimfsPath) - Method in class com.google.common.jimfs.JimfsFileSystem
Gets the URI of the given path in this file system.
toUri(URI, JimfsPath) - Method in class com.google.common.jimfs.PathService
Returns the URI for the given path.
toUri(URI, String, Iterable<String>, boolean) - Method in class com.google.common.jimfs.PathType
Creates a URI for the path with the given root and names in the file system with the given URI.
toUri(URL) - Static method in class com.google.common.jimfs.PathURLConnection
 
toUriPath(String, Iterable<String>, boolean) - Method in class com.google.common.jimfs.PathType
Returns the string form of the given path for use in the path part of a URI.
toUriPath(String, Iterable<String>, boolean) - Method in class com.google.common.jimfs.UnixPathType
 
toUriPath(String, Iterable<String>, boolean) - Method in class com.google.common.jimfs.WindowsPathType
 
TRAILING_SPACES - Static variable in class com.google.common.jimfs.WindowsPathType
Pattern for matching trailing spaces in file names.
transferBlocksTo(RegularFile, int) - Method in class com.google.common.jimfs.RegularFile
Transfers the last count blocks from this file to the end of the given target file.
transferFrom(ReadableByteChannel, long, long) - Method in class com.google.common.jimfs.JimfsFileChannel
 
transferFrom(ReadableByteChannel, long, long) - Method in class com.google.common.jimfs.RegularFile
Transfers up to count bytes from the given channel to this file starting at position pos.
transferTo(long, long, WritableByteChannel) - Method in class com.google.common.jimfs.JimfsFileChannel
 
transferTo(long, long, WritableByteChannel) - Method in class com.google.common.jimfs.RegularFile
Transfers up to count bytes to the given channel starting at position pos in this file.
tree - Variable in class com.google.common.jimfs.JimfsFileStore
 
truncate(long) - Method in class com.google.common.jimfs.DowngradedSeekableByteChannel
 
truncate(long) - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
truncate(long) - Method in class com.google.common.jimfs.JimfsFileChannel
 
truncate(long) - Method in class com.google.common.jimfs.RegularFile
Truncates this file to the given size.
truncateBlocks(int) - Method in class com.google.common.jimfs.RegularFile
Truncates the blocks of this file to the given block count.
tryLock(long, long, boolean) - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
tryLock(long, long, boolean) - Method in class com.google.common.jimfs.JimfsFileChannel
 
type - Variable in class com.google.common.jimfs.PathService
 
type() - Method in class com.google.common.jimfs.JimfsFileStore
 

U

uidGenerator - Variable in class com.google.common.jimfs.UnixAttributeProvider
 
UNC_ROOT - Static variable in class com.google.common.jimfs.WindowsPathType
Pattern for matching UNC \\host\share root syntax.
unix() - Static method in class com.google.common.jimfs.Configuration
Returns the default configuration for a UNIX-like file system.
unix() - Static method in class com.google.common.jimfs.PathType
Returns a Unix-style path type.
UNIX - Static variable in class com.google.common.jimfs.Configuration.UnixHolder
 
UnixAttributeProvider - Class in com.google.common.jimfs
Attribute provider that provides the "unix" attribute view.
UnixAttributeProvider() - Constructor for class com.google.common.jimfs.UnixAttributeProvider
 
UnixFileAttributeView - Interface in com.google.common.jimfs
Dummy view interface for the "unix" view, which doesn't have a public view interface.
UnixHolder() - Constructor for class com.google.common.jimfs.Configuration.UnixHolder
 
UnixPathType - Class in com.google.common.jimfs
Unix-style path type.
UnixPathType() - Constructor for class com.google.common.jimfs.UnixPathType
 
unlink(Name) - Method in class com.google.common.jimfs.Directory
Unlinks the given name from the file it is linked to.
unlinked() - Method in class com.google.common.jimfs.Directory
 
unlinked() - Method in class com.google.common.jimfs.File
Called when this file has been unlinked from a directory, either for a move or delete.
unlockSourceAndCopy(File, File) - Method in class com.google.common.jimfs.FileSystemView
Unlocks source and copy files after copying content.
unregister(Closeable) - Method in class com.google.common.jimfs.FileSystemState
Unregisters the given resource.
unsettable(String, String, boolean) - Static method in class com.google.common.jimfs.AttributeProvider
Throws a runtime exception indicating that the given attribute cannot be set.
uri - Variable in class com.google.common.jimfs.JimfsFileSystem
 
URI_SCHEME - Static variable in class com.google.common.jimfs.Jimfs
The URI scheme for the Jimfs file system ("jimfs").
UserDefinedAttributeProvider - Class in com.google.common.jimfs
Attribute provider that provides the UserDefinedFileAttributeView ("user").
UserDefinedAttributeProvider() - Constructor for class com.google.common.jimfs.UserDefinedAttributeProvider
 
UserDefinedAttributeProvider.View - Class in com.google.common.jimfs
Implementation of UserDefinedFileAttributeView.
userDefinedAttributes(File) - Static method in class com.google.common.jimfs.UserDefinedAttributeProvider
 
userLookupService - Variable in class com.google.common.jimfs.JimfsFileSystem
 
UserLookupService - Class in com.google.common.jimfs
UserPrincipalLookupService implementation.
UserLookupService(boolean) - Constructor for class com.google.common.jimfs.UserLookupService
 
UserLookupService.JimfsGroupPrincipal - Class in com.google.common.jimfs
GroupPrincipal implementation.
UserLookupService.JimfsUserPrincipal - Class in com.google.common.jimfs
UserPrincipal implementation.
UserLookupService.NamedPrincipal - Class in com.google.common.jimfs
Base class for UserPrincipal and GroupPrincipal implementations.
Util - Class in com.google.common.jimfs
Miscellaneous static utility methods.
Util() - Constructor for class com.google.common.jimfs.Util
 

V

valid - Variable in class com.google.common.jimfs.AbstractWatchService.Key
 
valid - Variable in class com.google.common.jimfs.JimfsFileChannel.FakeFileLock
 
value - Variable in class com.google.common.jimfs.AttributeService.SimpleFileAttribute
 
value() - Method in class com.google.common.jimfs.AttributeService.SimpleFileAttribute
 
value() - Method in annotation type com.google.common.jimfs.GuardedBy
The lock that should be held, specified in the format given in Java Concurrency in Practice.
valueOf(String) - Static method in enum com.google.common.jimfs.AbstractWatchService.Key.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.common.jimfs.AttributeCopyOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.common.jimfs.Feature
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.common.jimfs.FileSystemView.DeleteMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.common.jimfs.PathNormalization
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.common.jimfs.SystemFileTimeSource
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.common.jimfs.AbstractWatchService.Key.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.common.jimfs.AttributeCopyOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.common.jimfs.Feature
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.common.jimfs.FileSystemView.DeleteMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.common.jimfs.PathNormalization
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.common.jimfs.SystemFileTimeSource
Returns an array containing the constants of this enum type, in the order they are declared.
view - Variable in class com.google.common.jimfs.JimfsSecureDirectoryStream
 
view - Variable in class com.google.common.jimfs.PollingWatchService
 
view(FileLookup, ImmutableMap<String, FileAttributeView>) - Method in class com.google.common.jimfs.AclAttributeProvider
 
view(FileLookup, ImmutableMap<String, FileAttributeView>) - Method in class com.google.common.jimfs.AttributeProvider
Returns a view of the file located by the given lookup callback.
view(FileLookup, ImmutableMap<String, FileAttributeView>) - Method in class com.google.common.jimfs.BasicAttributeProvider
 
view(FileLookup, ImmutableMap<String, FileAttributeView>) - Method in class com.google.common.jimfs.DosAttributeProvider
 
view(FileLookup, ImmutableMap<String, FileAttributeView>) - Method in class com.google.common.jimfs.OwnerAttributeProvider
 
view(FileLookup, ImmutableMap<String, FileAttributeView>) - Method in class com.google.common.jimfs.PosixAttributeProvider
 
view(FileLookup, ImmutableMap<String, FileAttributeView>) - Method in class com.google.common.jimfs.UnixAttributeProvider
 
view(FileLookup, ImmutableMap<String, FileAttributeView>) - Method in class com.google.common.jimfs.UserDefinedAttributeProvider
 
View(FileLookup) - Constructor for class com.google.common.jimfs.BasicAttributeProvider.View
 
View(FileLookup) - Constructor for class com.google.common.jimfs.OwnerAttributeProvider.View
 
View(FileLookup) - Constructor for class com.google.common.jimfs.UserDefinedAttributeProvider.View
 
View(FileLookup, BasicFileAttributeView) - Constructor for class com.google.common.jimfs.DosAttributeProvider.View
 
View(FileLookup, BasicFileAttributeView, FileOwnerAttributeView) - Constructor for class com.google.common.jimfs.PosixAttributeProvider.View
 
View(FileLookup, FileOwnerAttributeView) - Constructor for class com.google.common.jimfs.AclAttributeProvider.View
 
viewType() - Method in class com.google.common.jimfs.AclAttributeProvider
 
viewType() - Method in class com.google.common.jimfs.AttributeProvider
Returns the type of the view interface that this provider supports.
viewType() - Method in class com.google.common.jimfs.BasicAttributeProvider
 
viewType() - Method in class com.google.common.jimfs.DosAttributeProvider
 
viewType() - Method in class com.google.common.jimfs.OwnerAttributeProvider
 
viewType() - Method in class com.google.common.jimfs.PosixAttributeProvider
 
viewType() - Method in class com.google.common.jimfs.UnixAttributeProvider
 
viewType() - Method in class com.google.common.jimfs.UserDefinedAttributeProvider
 

W

watchable - Variable in class com.google.common.jimfs.AbstractWatchService.Key
 
watchable() - Method in class com.google.common.jimfs.AbstractWatchService.Key
 
watcher - Variable in class com.google.common.jimfs.AbstractWatchService.Key
 
watchServiceConfig - Variable in class com.google.common.jimfs.Configuration.Builder
 
watchServiceConfig - Variable in class com.google.common.jimfs.Configuration
 
watchServiceConfig - Variable in class com.google.common.jimfs.JimfsFileSystem
 
WatchServiceConfiguration - Class in com.google.common.jimfs
Configuration for the WatchService implementation used by a file system.
WatchServiceConfiguration() - Constructor for class com.google.common.jimfs.WatchServiceConfiguration
 
WatchServiceConfiguration.PollingConfig - Class in com.google.common.jimfs
windows() - Static method in class com.google.common.jimfs.Configuration
Returns the default configuration for a Windows-like file system.
windows() - Static method in class com.google.common.jimfs.PathType
Returns a Windows-style path type.
WINDOWS - Static variable in class com.google.common.jimfs.Configuration.WindowsHolder
 
WindowsHolder() - Constructor for class com.google.common.jimfs.Configuration.WindowsHolder
 
WindowsPathType - Class in com.google.common.jimfs
Windows-style path type.
WindowsPathType() - Constructor for class com.google.common.jimfs.WindowsPathType
 
WORKING_DIR_WITH_DRIVE - Static variable in class com.google.common.jimfs.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 com.google.common.jimfs.Configuration.Builder
 
workingDirectory - Variable in class com.google.common.jimfs.Configuration
 
workingDirectory - Variable in class com.google.common.jimfs.FileSystemView
 
workingDirectoryPath - Variable in class com.google.common.jimfs.FileSystemView
 
write - Variable in class com.google.common.jimfs.JimfsFileChannel
 
write(byte[]) - Method in class com.google.common.jimfs.JimfsOutputStream
 
write(byte[], int, int) - Method in class com.google.common.jimfs.JimfsOutputStream
 
write(int) - Method in class com.google.common.jimfs.JimfsOutputStream
 
write(long, byte) - Method in class com.google.common.jimfs.RegularFile
Writes the given byte to this file at position pos.
write(long, byte[], int, int) - Method in class com.google.common.jimfs.RegularFile
Writes len bytes starting at offset off in the given byte array to this file starting at position pos.
write(long, Iterable<ByteBuffer>) - Method in class com.google.common.jimfs.RegularFile
Writes all available bytes from each buffer in bufs, in order, to this file starting at position pos.
write(long, ByteBuffer) - Method in class com.google.common.jimfs.RegularFile
Writes all available bytes from buffer buf to this file starting at position pos.
write(String, ByteBuffer) - Method in class com.google.common.jimfs.UserDefinedAttributeProvider.View
 
write(ByteBuffer) - Method in class com.google.common.jimfs.DowngradedSeekableByteChannel
 
write(ByteBuffer) - Method in class com.google.common.jimfs.JimfsFileChannel
 
write(ByteBuffer[], int, int) - Method in class com.google.common.jimfs.JimfsFileChannel
 
write(ByteBuffer, long) - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
write(ByteBuffer, long) - Method in class com.google.common.jimfs.JimfsFileChannel
 
write(ByteBuffer, long, A, CompletionHandler<Integer, ? super A>) - Method in class com.google.common.jimfs.JimfsAsynchronousFileChannel
 
writeInternal(byte[], int, int) - Method in class com.google.common.jimfs.JimfsOutputStream
 
writeLock - Variable in class com.google.common.jimfs.JimfsFileStore
 
writeLock() - Method in class com.google.common.jimfs.JimfsFileStore
Returns the write lock for this store.
writeLock() - Method in class com.google.common.jimfs.RegularFile
Returns the write lock for this file.

Z

zero(byte[], int, int) - Static method in class com.google.common.jimfs.RegularFile
Zeroes len bytes in the given block starting at the given offset.
zero(byte[], int, int) - Static method in class com.google.common.jimfs.Util
Zeroes all bytes between off (inclusive) and off + len (exclusive) in the given array.
ZERO_ARRAY - Static variable in class com.google.common.jimfs.Util
 
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