Package one.microstream.afs.types
Interface ARoot
- All Superinterfaces:
ADirectory
,AItem
,AResolving
- All Known Implementing Classes:
ARoot.Default
public interface ARoot extends ADirectory
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ARoot.Creator
static class
ARoot.Default
Nested classes/interfaces inherited from interface one.microstream.afs.types.ADirectory
ADirectory.Abstract, ADirectory.Observer, ADirectory.Wrapper
-
Method Summary
Methods inherited from interface one.microstream.afs.types.ADirectory
accessDirectories, accessDirectories, accessFiles, accessFiles, consolidate, consolidateDirectories, consolidateFiles, contains, contains, contains, containsDeep, containsDeep, containsDeep, containsDirectory, containsFile, containsItem, ensureDirectory, ensureExists, ensureFile, ensureFile, ensureFile, exists, getDirectory, getFile, getItem, inventorize, isEmpty, iterateDirectories, iterateFiles, iterateItems, iterateObservers, listDirectories, listFiles, listItems, registerObserver, removeObserver, resolveDirectoryPath, toPath, toPathString
Methods inherited from interface one.microstream.afs.types.AResolving
resolveDirectoryPath, resolveFilePath, resolveFilePath, resolveFilePath
-
Method Details
-
protocol
String protocol()E.g. https:// file://- Returns:
- the protocol
-
New
Creates a new root directory Note:identifier
can be "" since local file paths might start with a "/".- Parameters:
fileSystem
- the root's file systemprotocol
- the used protocolidentifier
- the identifier of the root directory- Returns:
- the newly created root directory
-