Class LocalManifestFile
java.lang.Object
org.apache.jackrabbit.oak.segment.file.LocalManifestFile
- All Implemented Interfaces:
ManifestFile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
exists()
Check if the manifest already exists.load()
Load the properties from the manifest file.void
save
(Properties properties) Store the properties to the manifest file.
-
Constructor Details
-
LocalManifestFile
-
LocalManifestFile
-
-
Method Details
-
exists
public boolean exists()Description copied from interface:ManifestFile
Check if the manifest already exists.- Specified by:
exists
in interfaceManifestFile
- Returns:
true
if the manifest exists
-
load
Description copied from interface:ManifestFile
Load the properties from the manifest file.- Specified by:
load
in interfaceManifestFile
- Returns:
- properties describing the segmentstore
- Throws:
IOException
-
save
Description copied from interface:ManifestFile
Store the properties to the manifest file.- Specified by:
save
in interfaceManifestFile
- Parameters:
properties
- describing the segmentstore- Throws:
IOException
-