Package one.microstream.afs.nio
Class NioFileSystem.Default
java.lang.Object
one.microstream.afs.AFileSystem.Abstract<NioIoHandler,Path,Path>
one.microstream.afs.nio.NioFileSystem.Default
- All Implemented Interfaces:
ACreator,AFileSystem,AResolver<Path,Path>,AResolving,ARoot.Creator,NioFileSystem,WriteController
- Enclosing interface:
- NioFileSystem
public static class NioFileSystem.Default extends AFileSystem.Abstract<NioIoHandler,Path,Path> implements NioFileSystem
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.afs.AFileSystem
AFileSystem.Abstract<H extends AIoHandler,D,F>Nested classes/interfaces inherited from interface one.microstream.afs.nio.NioFileSystem
NioFileSystem.Default, NioFileSystem.DefaultsNested classes/interfaces inherited from interface one.microstream.afs.WriteController
WriteController.Disabled, WriteController.Enabled -
Constructor Summary
Constructors Constructor Description Default() -
Method Summary
Modifier and Type Method Description AReadableFileconvertToReading(AWritableFile file)AWritableFileconvertToWriting(AReadableFile file)AFilecreateFile(ADirectory parent, String identifier, String name, String type)StringderiveFileIdentifier(String fileName, String fileType)StringderiveFileName(String fileIdentifier)StringderiveFileType(String fileIdentifier)StringgetFileName(AFile file)StringgetFileType(AFile file)Pathresolve(ADirectory directory)Pathresolve(AFile file)String[]resolveDirectoryToPath(Path directory)String[]resolveFileToPath(Path file)AReadableFilewrapForReading(AFile file, Object user)AWritableFilewrapForWriting(AFile file, Object user)Methods inherited from class one.microstream.afs.AFileSystem.Abstract
accessManager, accessRoots, addRoot, assemblePath, assemblePath, buildPath, createRootDirectory, creator, defaultProtocol, ensureDirectoryPath, ensureFilePath, ensureRoot, ensureRoot, fileSystem, getRoot, ioHandler, isWritable, lookupRoot, removeRoot, removeRoot, resolveDirectoryPath, validateIsWritable, validateMemberMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface one.microstream.afs.AFileSystem
accessManager, accessRoots, addRoot, assemblePath, assemblePath, assemblePath, assemblePath, buildPath, buildPath, buildPath, creator, defaultProtocol, ensureDirectoryPath, ensureDirectoryPath, ensureFilePath, ensureFilePath, ensureFilePath, ensureRoot, ensureRoot, getRoot, lookupRoot, removeRoot, removeRoot, validateMemberMethods inherited from interface one.microstream.afs.AResolver
ensureDirectory, ensureFile, fileSystem, resolveDirectory, resolveFileMethods inherited from interface one.microstream.afs.AResolving
resolveDirectoryPath, resolveDirectoryPath, resolveFilePath, resolveFilePath, resolveFilePath
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
deriveFileIdentifier
- Specified by:
deriveFileIdentifierin interfaceAFileSystem
-
deriveFileName
- Specified by:
deriveFileNamein interfaceAFileSystem
-
deriveFileType
- Specified by:
deriveFileTypein interfaceAFileSystem
-
getFileName
- Specified by:
getFileNamein interfaceAFileSystem
-
getFileType
- Specified by:
getFileTypein interfaceAFileSystem
-
createFile
- Specified by:
createFilein interfaceACreator
-
resolveDirectoryToPath
- Specified by:
resolveDirectoryToPathin interfaceAResolver<Path,Path>
-
resolveFileToPath
- Specified by:
resolveFileToPathin interfaceAResolver<Path,Path>
-
resolve
-
resolve
-
wrapForReading
- Specified by:
wrapForReadingin interfaceAFileSystem
-
wrapForWriting
- Specified by:
wrapForWritingin interfaceAFileSystem
-
convertToReading
- Specified by:
convertToReadingin interfaceAFileSystem
-
convertToWriting
- Specified by:
convertToWritingin interfaceAFileSystem
-