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.Defaults
Nested 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 AReadableFile
convertToReading(AWritableFile file)
AWritableFile
convertToWriting(AReadableFile file)
AFile
createFile(ADirectory parent, String identifier, String name, String type)
String
deriveFileIdentifier(String fileName, String fileType)
String
deriveFileName(String fileIdentifier)
String
deriveFileType(String fileIdentifier)
String
getFileName(AFile file)
String
getFileType(AFile file)
Path
resolve(ADirectory directory)
Path
resolve(AFile file)
String[]
resolveDirectoryToPath(Path directory)
String[]
resolveFileToPath(Path file)
AReadableFile
wrapForReading(AFile file, Object user)
AWritableFile
wrapForWriting(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, validateMember
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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, validateMember
Methods inherited from interface one.microstream.afs.AResolver
ensureDirectory, ensureFile, fileSystem, resolveDirectory, resolveFile
Methods inherited from interface one.microstream.afs.AResolving
resolveDirectoryPath, resolveDirectoryPath, resolveFilePath, resolveFilePath, resolveFilePath
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
deriveFileIdentifier
- Specified by:
deriveFileIdentifier
in interfaceAFileSystem
-
deriveFileName
- Specified by:
deriveFileName
in interfaceAFileSystem
-
deriveFileType
- Specified by:
deriveFileType
in interfaceAFileSystem
-
getFileName
- Specified by:
getFileName
in interfaceAFileSystem
-
getFileType
- Specified by:
getFileType
in interfaceAFileSystem
-
createFile
- Specified by:
createFile
in interfaceACreator
-
resolveDirectoryToPath
- Specified by:
resolveDirectoryToPath
in interfaceAResolver<Path,Path>
-
resolveFileToPath
- Specified by:
resolveFileToPath
in interfaceAResolver<Path,Path>
-
resolve
-
resolve
-
wrapForReading
- Specified by:
wrapForReading
in interfaceAFileSystem
-
wrapForWriting
- Specified by:
wrapForWriting
in interfaceAFileSystem
-
convertToReading
- Specified by:
convertToReading
in interfaceAFileSystem
-
convertToWriting
- Specified by:
convertToWriting
in interfaceAFileSystem
-