Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addFileAttributeView(Class<? extends FileAttributeView>) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Adds support for an attribute view.
- addFileAttributeView(String) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Adds support for an attribute view.
- addForbiddenCharacter(char) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Forbids a character to be used in a name.
- addGroup(String) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Adds a group to the file systems
UserPrincipalLookupService
. - addRoot(String) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Add a file system root.
- addUser(String) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Adds a user and a group to the file systems
UserPrincipalLookupService
.
B
- build() - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Creates the new file system instance.
- build(String) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Creates the new file system instance.
- buildEnvironment() - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Builds an environment to pass to
FileSystems.newFileSystem(URI, Map)
.
C
- call() - Method in interface com.github.marschall.memoryfilesystem.CurrentGroup.GroupTask
-
Executes the task.
- call() - Method in interface com.github.marschall.memoryfilesystem.CurrentGroup.VoidGroupTask
-
Executes the task.
- call() - Method in interface com.github.marschall.memoryfilesystem.CurrentUser.UserTask
-
Executes the task.
- call() - Method in interface com.github.marschall.memoryfilesystem.CurrentUser.VoidUserTask
-
Executes the task.
- caseInsensitive() - Method in class com.github.marschall.memoryfilesystem.StringTransformers
-
Creates a case insensitive transformer for the current locale.
- caseInsensitive(Locale) - Static method in class com.github.marschall.memoryfilesystem.StringTransformers
-
Creates a case insensitive transformer for the given locale.
- caseInsensitiveMacOSJvm(Locale) - Static method in class com.github.marschall.memoryfilesystem.StringTransformers
-
Creates a case insensitive transformer for macOS as presented by the JVM (NFC) for the given locale.
- caseInsensitiveMacOSNative(Locale) - Static method in class com.github.marschall.memoryfilesystem.StringTransformers
-
Creates a case insensitive transformer for native macOS (NFD) for the given locale.
- checkAccess(Path, AccessMode...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- COLLATOR_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of the property of the
Collator
used to compare path elements. - com.github.marschall.memoryfilesystem - package com.github.marschall.memoryfilesystem
-
Provides an in-memory implementation of a JSR-203 file system.
- com.github.marschall.memoryfilesystem.memory - package com.github.marschall.memoryfilesystem.memory
-
Code to support
URL
. - copy(Path, Path, CopyOption...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- copyRecursive(Path, Path, CopyOption...) - Static method in class com.github.marschall.memoryfilesystem.Directories
-
Copy a directory to a target directory recursively.
- createDirectory(Path, FileAttribute<?>...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- createLink(Path, Path) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- createSymbolicLink(Path, Path, FileAttribute<?>...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- createURLStreamHandler(String) - Method in class com.github.marschall.memoryfilesystem.memory.MemoryURLStreamHandlerFactory
- CURRENT_WORKING_DIRECTORY_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of the property of the current working directory.
- CurrentGroup - Class in com.github.marschall.memoryfilesystem
-
Provides access to the group of the current user.
- CurrentGroup.GroupTask<V> - Interface in com.github.marschall.memoryfilesystem
-
Functional interface for a task during which a certain group should be used.
- CurrentGroup.VoidGroupTask - Interface in com.github.marschall.memoryfilesystem
-
Functional interface for a task during which a certain group should be used.
- CurrentUser - Class in com.github.marschall.memoryfilesystem
-
Provides access to the current user.
- CurrentUser.UserTask<V> - Interface in com.github.marschall.memoryfilesystem
-
Functional interface for a task during which a certain user should be used.
- CurrentUser.VoidUserTask - Interface in com.github.marschall.memoryfilesystem
-
Functional interface for a task during which a certain user should be used.
D
- DEFAULT_NAME_SEPARATOR - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
The default separator of path elements.
- DEFAULT_NAME_SEPARATOR_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of the property of the separator of path elements.
- delete(Path) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- Directories - Class in com.github.marschall.memoryfilesystem
-
Implements recursive copy missing in
Files
.
F
- FILE_ATTRIBUTE_VIEWS_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of the property names of the attribute view supported by the file system besides
"basic"
. - FILE_CHANNEL_DIRECTORY_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of property for supporting opening a
FileChannel
on a directory for reading even though subsequent reads will fail. - FILE_TIME_RESOLUTION_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of property for the resolution of the file time used for modification, access and creation time.
- FORBIDDEN_CHARACTERS_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of the property holding the characters not allowed in file names.
G
- getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- getFileStore(Path) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- getFileSystem(URI) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- getObject() - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemFactoryBean
-
Factory method that creates the file system.
- getPath(URI) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- getRegexFlags() - Method in interface com.github.marschall.memoryfilesystem.StringTransformer
-
Returns the regex flags used to achieve a compatible regex behavior.
- getScheme() - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- GROUPS_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of the property holding the groups supported by the file system.
H
- Handler - Class in com.github.marschall.memoryfilesystem.memory
-
URLStreamHandler
that can resolve memory URLs. - Handler() - Constructor for class com.github.marschall.memoryfilesystem.memory.Handler
-
Default constructor to be called by JDK classes.
I
- IDENTIY - Static variable in class com.github.marschall.memoryfilesystem.StringTransformers
-
Keeps a string as is.
- isHidden(Path) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- isSameFile(Path, Path) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
L
- LINUX - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemFactoryBean
-
Value for
MemoryFileSystemFactoryBean.setType(String)
to create a Linux like file system.
M
- MACOS - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemFactoryBean
-
Value for
MemoryFileSystemFactoryBean.setType(String)
to create a Mac OS X like file system. - MemoryFileSystemBuilder - Class in com.github.marschall.memoryfilesystem
-
Builder for conveniently creating create memory file system instances.
- MemoryFileSystemFactoryBean - Class in com.github.marschall.memoryfilesystem
-
A POJO factory bean to create memory file systems.
- MemoryFileSystemFactoryBean() - Constructor for class com.github.marschall.memoryfilesystem.MemoryFileSystemFactoryBean
- MemoryFileSystemProperties - Class in com.github.marschall.memoryfilesystem
-
Constant definitions for configuration parameters for creating memory file systems.
- MemoryFileSystemProperties() - Constructor for class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
- MemoryFileSystemProvider - Class in com.github.marschall.memoryfilesystem
-
Creates memory file systems instances.
- MemoryFileSystemProvider() - Constructor for class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
-
Default constructor called by
ServiceLoader
mechanism. - MemoryURLStreamHandlerFactory - Class in com.github.marschall.memoryfilesystem.memory
- MemoryURLStreamHandlerFactory() - Constructor for class com.github.marschall.memoryfilesystem.memory.MemoryURLStreamHandlerFactory
- move(Path, Path, CopyOption...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
N
- newAsynchronousFileChannel(Path, Set<? extends OpenOption>, ExecutorService, FileAttribute<?>...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- newEmpty() - Static method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Creates a builder for a very basic file system.
- newFileChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- newFileSystem(URI, Map<String, ?>) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- newInputStream(Path, OpenOption...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- newLinux() - Static method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Creates a builder for a Linux-like file system.
- newMacOs() - Static method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Creates a builder for a macOS-like file system.
- newMacOsOldJvm() - Static method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Creates a builder for a macOS-like file system for old JVMs.
- newOutputStream(Path, OpenOption...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- newWindows() - Static method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Creates a builder for a Windows-like file system.
- NFC - Static variable in class com.github.marschall.memoryfilesystem.StringTransformers
-
Normalizes a string using NFC
- NFD - Static variable in class com.github.marschall.memoryfilesystem.StringTransformers
-
Normalizes a string using NFD
O
- openConnection(URL) - Method in class com.github.marschall.memoryfilesystem.memory.Handler
- openConnection(URL, Proxy) - Method in class com.github.marschall.memoryfilesystem.memory.Handler
P
- PATH_LOOKUP_TRANSFORMER_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of the property of the
StringTransformer
used to look up files in a directory. - PATH_STORE_TRANSFORMER_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of the property of the
StringTransformer
used to store files in a directory. - PRINCIPAL_TRANSFORMER_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of the property of the
StringTransformer
used to look up users.
R
- readAttributes(Path, Class<A>, LinkOption...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- readAttributes(Path, String, LinkOption...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- readSymbolicLink(Path) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- ROOTS_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of the property for the file system roots, aka drive letters.
S
- SCHEME - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
-
Name of the URI and URL scheme used by this provider.
- setAttribute(Path, String, Object, LinkOption...) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemProvider
- setCaseSensitive(boolean) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Toggles case sensitivity.
- setCollator(Collator) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Sets the collator used for name comparisons.
- setCurrentWorkingDirectory(String) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Sets the current working directory used for resolving relative paths.
- setFileTimeResolution(TemporalUnit) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Sets the resolution of the file time used for modification, access and creation time.
- setLocale(Locale) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Sets the locale to be used for case insensitivity.
- setLookUpTransformer(StringTransformer) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Sets the transformer that controls how a file name is looked up.
- setName(String) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemFactoryBean
-
Sets the name that identifies the file system to create.
- setSeparator(String) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Sets the the name separator.
- setStoreTransformer(StringTransformer) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Sets the transformer that controls how a file name is stored.
- setSupportFileChannelOnDirectory(boolean) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Sets the support for opening a file channel for reading on a directory.
- setType(String) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemFactoryBean
-
Sets what type of file system should be created.
- setUmask(Set<PosixFilePermission>) - Method in class com.github.marschall.memoryfilesystem.MemoryFileSystemBuilder
-
Sets the umask.
- StringTransformer - Interface in com.github.marschall.memoryfilesystem
-
Functional interface for transforming a string.
- StringTransformers - Class in com.github.marschall.memoryfilesystem
-
Constant definitions for the standard
StringTransformers
. - StringTransformers() - Constructor for class com.github.marschall.memoryfilesystem.StringTransformers
T
- transform(String) - Method in interface com.github.marschall.memoryfilesystem.StringTransformer
-
Transforms a string.
U
- UMASK_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of the property of the umask.
- useDuring(GroupPrincipal, CurrentGroup.GroupTask<V>) - Static method in class com.github.marschall.memoryfilesystem.CurrentGroup
-
Sets the current group for a certain period.
- useDuring(GroupPrincipal, CurrentGroup.VoidGroupTask) - Static method in class com.github.marschall.memoryfilesystem.CurrentGroup
-
Sets the current group for a certain period.
- useDuring(UserPrincipal, CurrentUser.UserTask<V>) - Static method in class com.github.marschall.memoryfilesystem.CurrentUser
-
Sets the current user for a certain period.
- useDuring(UserPrincipal, CurrentUser.VoidUserTask) - Static method in class com.github.marschall.memoryfilesystem.CurrentUser
-
Sets the current user for a certain period.
- USERS_PROPERTY - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
Name of the property holding the users supported by the file system.
W
- WINDOWS - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemFactoryBean
-
Value for
MemoryFileSystemFactoryBean.setType(String)
to create a Windows like file system. - WINDOWS_RESOLUTION - Static variable in class com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
The resolution of the Windows file system, 100ns.
All Classes and Interfaces|All Packages|Constant Field Values