Package one.microstream.afs.blobstore
Class BlobStoreFileSystem.Default
java.lang.Object
one.microstream.afs.AFileSystem.Abstract<BlobStoreIoHandler,BlobStorePath,BlobStorePath>
one.microstream.afs.blobstore.BlobStoreFileSystem.Default
- All Implemented Interfaces:
ACreator
,AFileSystem
,AResolver<BlobStorePath,BlobStorePath>
,AResolving
,ARoot.Creator
,BlobStoreFileSystem
,WriteController
- Enclosing interface:
- BlobStoreFileSystem
public static class BlobStoreFileSystem.Default extends AFileSystem.Abstract<BlobStoreIoHandler,BlobStorePath,BlobStorePath> implements BlobStoreFileSystem
-
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.blobstore.BlobStoreFileSystem
BlobStoreFileSystem.Default
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)
String
deriveFileIdentifier(String fileName, String fileType)
String
deriveFileName(String fileIdentifier)
String
deriveFileType(String fileIdentifier)
String
getFileName(AFile file)
String
getFileType(AFile file)
BlobStorePath
resolve(ADirectory directory)
BlobStorePath
resolve(AFile file)
String[]
resolveDirectoryToPath(BlobStorePath directory)
String[]
resolveFileToPath(BlobStorePath 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.ACreator
createDirectory, createFile, createFile
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
-
resolveDirectoryToPath
- Specified by:
resolveDirectoryToPath
in interfaceAResolver<BlobStorePath,BlobStorePath>
-
resolveFileToPath
- Specified by:
resolveFileToPath
in interfaceAResolver<BlobStorePath,BlobStorePath>
-
resolve
- Specified by:
resolve
in interfaceAResolver<BlobStorePath,BlobStorePath>
-
resolve
- Specified by:
resolve
in interfaceAResolver<BlobStorePath,BlobStorePath>
-
wrapForReading
- Specified by:
wrapForReading
in interfaceAFileSystem
-
wrapForWriting
- Specified by:
wrapForWriting
in interfaceAFileSystem
-
convertToReading
- Specified by:
convertToReading
in interfaceAFileSystem
-
convertToWriting
- Specified by:
convertToWriting
in interfaceAFileSystem
-