public abstract class CryptoFileSystem extends FileSystem
FileSystem which allows access to encrypted data in a directory.
A CryptoFileSystem encrypts/decrypts data read/stored from/to it and uses a storage location for the encrypted data. The storage location is denoted by a Path and can thus be any location
itself accessible via a java.nio.FileSystem.
A CryptoFileSystem can be used as any other java.nio.FileSystem, e.g. by using the operations from Files.
CryptoFileSystemProvider| Modifier and Type | Method and Description |
|---|---|
abstract Path |
getPathToVault()
Provides the
Path to the storage location of the vault - the location on the physical / delegate file system where encrypted data is stored. |
abstract CryptoFileSystemStats |
getStats()
Provides file system performance statistics.
|
close, getFileStores, getPath, getPathMatcher, getRootDirectories, getSeparator, getUserPrincipalLookupService, isOpen, isReadOnly, newWatchService, provider, supportedFileAttributeViewspublic abstract Path getPathToVault()
Path to the storage location of the vault - the location on the physical / delegate file system where encrypted data is stored.
This path has been passed in during creation and does not belong to this CryptoFileSystem. Thus this path can not be used in operations on this CryptoFileSystem.
Path to the directory containing the encrypted files.public abstract CryptoFileSystemStats getStats()
CryptoFileSystemStats containing performance statistics for this CryptoFileSystemCopyright © 2017. All rights reserved.