public class LocalManifestFile extends Object implements ManifestFile
Constructor and Description |
---|
LocalManifestFile(File file) |
LocalManifestFile(File parent,
String name) |
Modifier and Type | Method and 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.
|
public LocalManifestFile(File file)
public boolean exists()
ManifestFile
exists
in interface ManifestFile
true
if the manifest existspublic Properties load() throws IOException
ManifestFile
load
in interface ManifestFile
IOException
public void save(Properties properties) throws IOException
ManifestFile
save
in interface ManifestFile
properties
- describing the segmentstoreIOException
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.