A B C D E F G H I J L M N O P R S T U V W 
All Classes All Packages

A

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.
allowsMultipleRoots() - Method in class com.google.common.jimfs.PathType
Returns whether or not this type of path allows multiple root directories.
apply(String) - Method in enum com.google.common.jimfs.PathNormalization
Applies this normalization to the given string, returning the normalized result.
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
 
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.
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.

B

build() - Method in class com.google.common.jimfs.Configuration.Builder
Creates a new immutable configuration object from this builder.
builder(PathType) - Static method in class com.google.common.jimfs.Configuration
Creates a new mutable Configuration builder using the given path type.

C

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.
checkAccess(Path, AccessMode...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
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.
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.
com.google.common.jimfs - package com.google.common.jimfs
Package containing the Jimfs file system API and implementation.
compilePattern(String, Iterable<PathNormalization>) - Static method in enum com.google.common.jimfs.PathNormalization
Compiles a regex pattern using flags based on the given normalizations.
Configuration - Class in com.google.common.jimfs
Immutable configuration for an in-memory file system.
Configuration.Builder - Class in com.google.common.jimfs
Mutable builder for Configuration objects.
copy(Path, Path, CopyOption...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
createDirectory(Path, FileAttribute<?>...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 

D

DEFAULT_BLOCK_SIZE - Static variable in class com.google.common.jimfs.Configuration.Builder
8 KB.
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.
defaultValues(Map<String, ?>) - Method in class com.google.common.jimfs.AttributeProvider
Returns a map containing the default attribute values for this provider.
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.

E

emptyPath() - Method in class com.google.common.jimfs.PathType
Returns an empty path.

F

Feature - Enum in com.google.common.jimfs
Optional file system features that may be supported or unsupported by a Jimfs file system instance.
File - Class in com.google.common.jimfs
A file object, containing both the file's metadata and content.
FILE_CHANNEL - com.google.common.jimfs.Feature
Feature controlling support for FileChannel.
FileLookup - Interface in com.google.common.jimfs
Callback for looking up a file.
fixedAttributes() - Method in class com.google.common.jimfs.AttributeProvider
Returns the set of attributes that are always available from this provider.
forCurrentPlatform() - Static method in class com.google.common.jimfs.Configuration
Returns a default configuration appropriate to the current operating system.
fromUri(URI) - Method in class com.google.common.jimfs.PathType
Parses a path from the given URI.

G

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.
getAttribute(String, String) - Method in class com.google.common.jimfs.File
Gets the value of the given attribute in the given view.
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.
getCreationTime() - Method in class com.google.common.jimfs.File
Gets the creation time of the file.
getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
getFileStore(Path) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
getFileSystem(URI) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
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.
getOtherSeparators() - Method in class com.google.common.jimfs.PathType
Returns the other separators that are recognized when parsing a path.
getPath(URI) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
getScheme() - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
getSeparator() - Method in class com.google.common.jimfs.PathType
Returns the canonical separator for this path type.

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.

I

id() - Method in class com.google.common.jimfs.File
Returns the ID of this file.
inherits() - Method in class com.google.common.jimfs.AttributeProvider
Returns the names of other providers that this provider inherits attributes from.
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.PathType.ParseResult
Returns whether or not this result is an absolute path.
isDirectory() - Method in class com.google.common.jimfs.File
Returns whether or not this file is a directory.
isHidden(Path) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
isRegularFile() - Method in class com.google.common.jimfs.File
Returns whether or not this file is a regular file.
isRoot() - Method in class com.google.common.jimfs.PathType.ParseResult
Returns whether or not this result represents a root path.
isSameFile(Path, Path) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
isSymbolicLink() - Method in class com.google.common.jimfs.File
Returns whether or not this file is a symbolic link.

J

Jimfs - Class in com.google.common.jimfs
Static factory methods for creating new Jimfs file systems.
joiner() - Method in class com.google.common.jimfs.PathType
Returns the path joiner for this path type.

L

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.
lookup() - Method in interface com.google.common.jimfs.FileLookup
Looks up the file.

M

move(Path, Path, CopyOption...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 

N

name() - Method in class com.google.common.jimfs.AttributeProvider
Returns the view name that's used to get attributes from this provider.
names() - Method in class com.google.common.jimfs.PathType.ParseResult
Returns the parsed name elements.
newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
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(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, Map<String, ?>) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
newFileSystem(Path, Map<String, ?>) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
NFC - com.google.common.jimfs.PathNormalization
Unicode composed normalization (form NFC).
NFD - com.google.common.jimfs.PathNormalization
Unicode decomposed normalization (form NFD).
NONE - com.google.common.jimfs.PathNormalization
No normalization.
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.

O

openConnection(URL) - Method in class com.google.common.jimfs.Handler
 
osX() - Static method in class com.google.common.jimfs.Configuration
Returns the default configuration for a Mac OS X-like file system.

P

parsePath(String) - Method in class com.google.common.jimfs.PathType
Parses the given strings as a path.
ParseResult(String, Iterable<String>) - Constructor for class com.google.common.jimfs.PathType.ParseResult
 
parseUriPath(String) - Method in class com.google.common.jimfs.PathType
Parses a path from the given URI path.
PathNormalization - Enum in com.google.common.jimfs
Normalizations that can be applied to names in paths.
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.
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.
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.

R

readAttributes(File) - Method in class com.google.common.jimfs.AttributeProvider
Reads this provider's attributes from the given file as an attributes object.
readAttributes(Path, Class<A>, LinkOption...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
readAttributes(Path, String, LinkOption...) - Method in class com.google.common.jimfs.SystemJimfsFileSystemProvider
 
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.
root() - Method in class com.google.common.jimfs.PathType.ParseResult
Returns the parsed root element, or null if there was no root.

S

SECURE_DIRECTORY_STREAM - com.google.common.jimfs.Feature
Feature controlling support for SecureDirectoryStream.
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.
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.SystemJimfsFileSystemProvider
 
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.
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.
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.
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.
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.
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.
size() - Method in class com.google.common.jimfs.File
Returns the size, in bytes, of this file's content.
splitter() - Method in class com.google.common.jimfs.PathType
Returns the path splitter for this path type.
supports(String) - Method in class com.google.common.jimfs.AttributeProvider
Returns whether or not this provider supports the given attribute directly.
SYMBOLIC_LINKS - com.google.common.jimfs.Feature
Feature controlling support for symbolic links.
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.

T

toBuilder() - Method in class com.google.common.jimfs.Configuration
Returns a new mutable builder that initially contains the same settings as this configuration.
toString() - Method in class com.google.common.jimfs.File
 
toString(String, Iterable<String>) - Method in class com.google.common.jimfs.PathType
Returns the string form of 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.
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.

U

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.
unsettable(String, String) - Static method in class com.google.common.jimfs.AttributeProvider
Throws an illegal argument exception indicating that the given attribute cannot be set.
URI_SCHEME - Static variable in class com.google.common.jimfs.Jimfs
The URI scheme for the Jimfs file system ("jimfs").

V

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.PathNormalization
Returns the enum constant of this type with the specified name.
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.PathNormalization
Returns an array containing the constants of this enum type, in the order they are declared.
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.
viewType() - Method in class com.google.common.jimfs.AttributeProvider
Returns the type of the view interface that this provider supports.

W

WatchServiceConfiguration - Class in com.google.common.jimfs
Configuration for the WatchService implementation used by a file system.
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.
A B C D E F G H I J L M N O P R S T U V W 
All Classes All Packages