Package one.microstream.afs.nio.types
Interface NioFileSystem
- All Superinterfaces:
AFileSystem
,AResolver<Path,Path>
,AResolving
,WriteController
- All Known Implementing Classes:
NioFileSystem.Default
public interface NioFileSystem extends AFileSystem, AResolver<Path,Path>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
NioFileSystem.Default
static interface
NioFileSystem.Defaults
Nested classes/interfaces inherited from interface one.microstream.afs.types.AFileSystem
AFileSystem.Abstract<H extends AIoHandler,D,F>
Nested classes/interfaces inherited from interface one.microstream.afs.types.WriteController
WriteController.Disabled, WriteController.Enabled
-
Method Summary
Modifier and Type Method Description ADirectory
ensureDefaultRoot()
Returns the default root directory, depending on the NIO implementation.NioIoHandler
ioHandler()
static NioFileSystem
New()
static NioFileSystem
New(String defaultProtocol)
static NioFileSystem
New(String defaultProtocol, NioIoHandler ioHandler)
static NioFileSystem
New(FileSystem fileSystem)
static NioFileSystem
New(NioIoHandler ioHandler)
Methods inherited from interface one.microstream.afs.types.AFileSystem
accessManager, accessRoots, addRoot, assemblePath, assemblePath, assemblePath, assemblePath, buildPath, buildPath, buildPath, convertToReading, convertToWriting, creator, defaultProtocol, deriveFileIdentifier, deriveFileName, deriveFileType, ensureDirectoryPath, ensureDirectoryPath, ensureFilePath, ensureFilePath, ensureFilePath, ensureRoot, ensureRoot, getFileName, getFileType, getRoot, lookupRoot, removeRoot, removeRoot, validateMember, wrapForReading, wrapForWriting
Methods inherited from interface one.microstream.afs.types.AResolver
ensureDirectory, ensureFile, fileSystem, resolve, resolve, resolveDirectory, resolveDirectoryToPath, resolveFile, resolveFileToPath
Methods inherited from interface one.microstream.afs.types.AResolving
resolveDirectoryPath, resolveDirectoryPath, resolveFilePath, resolveFilePath, resolveFilePath
Methods inherited from interface one.microstream.afs.types.WriteController
isWritable, validateIsWritable
-
Method Details
-
ioHandler
NioIoHandler ioHandler()- Specified by:
ioHandler
in interfaceAFileSystem
-
ensureDefaultRoot
ADirectory ensureDefaultRoot()Returns the default root directory, depending on the NIO implementation. In local file systems it is the current working directory of this JVM instance.- Specified by:
ensureDefaultRoot
in interfaceAFileSystem
- Returns:
- the root directory
-
New
-
New
-
New
-
New
-
New
-