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 booleanexists()Check if the manifest already exists.Propertiesload()Load the properties from the manifest file.voidsave(Properties properties)Store the properties to the manifest file.
-
-
-
Method Detail
-
exists
public boolean exists()
Description copied from interface:ManifestFileCheck if the manifest already exists.- Specified by:
existsin interfaceManifestFile- Returns:
trueif the manifest exists
-
load
public Properties load() throws IOException
Description copied from interface:ManifestFileLoad the properties from the manifest file.- Specified by:
loadin interfaceManifestFile- Returns:
- properties describing the segmentstore
- Throws:
IOException
-
save
public void save(Properties properties) throws IOException
Description copied from interface:ManifestFileStore the properties to the manifest file.- Specified by:
savein interfaceManifestFile- Parameters:
properties- describing the segmentstore- Throws:
IOException
-
-