Modifier and Type | Class | Description |
---|---|---|
class |
ChangeRootFileSystemWrapperImpl |
The change root space wrapper for a given
FileSystem relocates the
paths accessed by an application to the given namespace. |
class |
InMemoryFileSystemImpl |
An in-memory
FileSystem using an ConcurrentHashMap for
implementation. |
Modifier and Type | Method | Description |
---|---|---|
FileSystem |
FileSystemAccessor.getFileSystem() |
Gets the file system stored by this property.
|
default FileSystem |
FileSystemAccessor.FileSystemProperty.letFileSystem(FileSystem aFileSystem) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given
FileSystem
(setter) as of FileSystemAccessor.FileSystemMutator.setFileSystem(FileSystem) and returns the
very same value (getter). |
Modifier and Type | Method | Description |
---|---|---|
static void |
FileSystemUtility.deleteFiles(FileSystem aFileSystem,
String aPath,
boolean isRecursively) |
Deletes the entries found for the given path.
|
default FileSystem |
FileSystemAccessor.FileSystemProperty.letFileSystem(FileSystem aFileSystem) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given
FileSystem
(setter) as of FileSystemAccessor.FileSystemMutator.setFileSystem(FileSystem) and returns the
very same value (getter). |
void |
FileSystemAccessor.FileSystemMutator.setFileSystem(FileSystem aFileSystem) |
Sets the file system for this property.
|
static FileHandle |
FileSystemUtility.toNormalizedFileHandle(FileHandle aFileHandle,
FileSystem aFileSystem) |
Test whether the given key may jail break from the name space.
|
static String |
FileSystemUtility.toNormalizedKey(String aKey,
FileSystem aFileSystem) |
Truncates any prefixed path separator as we assemble our new path with
the according namespace in front.
|
static String |
FileSystemUtility.toNormalizedName(String aName,
FileSystem aFileSystem) |
Truncates any prefixed path separator as we assemble our new path with
the according namespace in front.
|
static String |
FileSystemUtility.toNormalizedPath(String aPath,
FileSystem aFileSystem) |
Truncates any prefixed path separator as we assemble our new path with
the according namespace in front.
|
Constructor | Description |
---|---|
ChangeRootFileSystemWrapperImpl(String aNamespace,
FileSystem aFileSystem) |
Instantiates a new change root file system wrapper impl.
|
Copyright © 2021. All rights reserved.