Package one.microstream.afs
Interface AItem
- All Known Subinterfaces:
ADirectory
,ADirectory.Wrapper
,AFile
,AFile.Wrapper
,AItem.Wrapper
,AReadableFile
,ARoot
,AWritableFile
,BlobStoreFileWrapper
,BlobStoreItemWrapper
,BlobStoreReadableFile
,BlobStoreWritableFile
,NioFileWrapper
,NioItemWrapper
,NioReadableFile
,NioWritableFile
,SqlFileWrapper
,SqlItemWrapper
,SqlReadableFile
,SqlWritableFile
- All Known Implementing Classes:
ADirectory.Abstract
,ADirectory.Default
,AFile.Default
,AFile.Wrapper.Abstract
,AItem.Abstract
,AItem.Base
,ARoot.Default
,BlobStoreFileWrapper.Abstract
,BlobStoreReadableFile.Default
,BlobStoreWritableFile.Default
,NioFileWrapper.Abstract
,NioReadableFile.Default
,NioWritableFile.Default
,SqlFileWrapper.Abstract
,SqlReadableFile.Default
,SqlWritableFile.Default
public interface AItem
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AItem.Abstract
static class
AItem.Base
static interface
AItem.Wrapper
-
Method Summary
Modifier and Type Method Description static AItem
actual(AItem item)
static VarString
assembleDebugString(AItem item, VarString vs)
static String[]
buildItemPath(AItem item)
static char
defaultSeparator()
boolean
exists()
Queries whether the item represented by this instance actually physically exists on the underlying storage layer.AFileSystem
fileSystem()
String
identifier()
The value that uniquely identifies the item locally in itsparent()
directory.ADirectory
parent()
The directory (identifying container) in which this item is located and in which no other item can have the sameidentifier()
as this item.String[]
toPath()
String
toPathString()
The value that uniquely identifies the item globally in the whole file system.
-
Method Details
-
fileSystem
AFileSystem fileSystem() -
parent
ADirectory parent()The directory (identifying container) in which this item is located and in which no other item can have the sameidentifier()
as this item.- Returns:
- the item's parent directory.
- See Also:
identifier()
,toPathString()
-
toPathString
String toPathString()The value that uniquely identifies the item globally in the whole file system.Note that this value is usually a combination of the identifiers of
parent()
directories and the localidentifier()
, but such a relation is not mandatory.- Returns:
- the item's globally unique identifier.
- See Also:
parent()
,identifier()
-
toPath
String[] toPath() -
identifier
String identifier()The value that uniquely identifies the item locally in itsparent()
directory.Note that this value might be a combination of
#name()
and#type()
, but such a relation is not mandatory.- Returns:
- the item's locally unique identifier.
- See Also:
parent()
,toPathString()
,#name()
,#type()
-
exists
boolean exists()Queries whether the item represented by this instance actually physically exists on the underlying storage layer.- Returns:
- whether the item exists.
-
defaultSeparator
static char defaultSeparator() -
buildItemPath
-
assembleDebugString
-
actual
-