Class LocalManifestFile
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.file.LocalManifestFile
-
- All Implemented Interfaces:
ManifestFile
public class LocalManifestFile extends Object implements ManifestFile
-
-
Constructor Summary
Constructors Constructor Description LocalManifestFile(File file)
LocalManifestFile(File parent, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exists()
Check if the manifest already exists.Properties
load()
Load the properties from the manifest file.void
save(Properties properties)
Store the properties to the manifest file.
-
-
-
Method Detail
-
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
public Properties load() throws IOException
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
public void save(Properties properties) throws IOException
Description copied from interface:ManifestFile
Store the properties to the manifest file.- Specified by:
save
in interfaceManifestFile
- Parameters:
properties
- describing the segmentstore- Throws:
IOException
-
-