public class LocalManifestFile extends java.lang.Object implements ManifestFile
Constructor and Description |
---|
LocalManifestFile(java.io.File file) |
LocalManifestFile(java.io.File parent,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists()
Check if the manifest already exists.
|
java.util.Properties |
load()
Load the properties from the manifest file.
|
void |
save(java.util.Properties properties)
Store the properties to the manifest file.
|
public LocalManifestFile(java.io.File parent, java.lang.String name)
public LocalManifestFile(java.io.File file)
public boolean exists()
ManifestFile
exists
in interface ManifestFile
true
if the manifest existspublic java.util.Properties load() throws java.io.IOException
ManifestFile
load
in interface ManifestFile
java.io.IOException
public void save(java.util.Properties properties) throws java.io.IOException
ManifestFile
save
in interface ManifestFile
properties
- describing the segmentstorejava.io.IOException
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.