Package com.github.marschall.memoryfilesystem
Provides an in-memory implementation of a
JSR-203 file system.
All public classes in this package except
MemoryFileSystemProvider
can be used by client code.
Using MemoryFileSystemBuilder
is the recommended way to create instances. For example like this:
try (FileSystem fs = MemoryFileSystemBuilder.newEmpty().build("name")) {
Path path = fs.getPath("/");
}
-
Interface Summary Interface Description CurrentGroup.GroupTask<V> Functional interface for a task during which a certain group should be used.CurrentUser.UserTask<V> Functional interface for a task during which a certain user should be used.StringTransformer Functional interface for transforming a string. -
Class Summary Class Description CurrentGroup Provides access to the group of the current user.CurrentUser Provides access to the current user.Directories Implements recursive copy missing inFiles
.MemoryFileSystemBuilder Builder for conveniently creating create memory file system instances.MemoryFileSystemFactoryBean A POJO factory bean to create memory file systems.MemoryFileSystemProperties Constant definitions for configuration parameters for creating memory file systems.MemoryFileSystemProvider Creates memory file systems instances.StringTransformers Constant definitions for the standardStringTransformers
.