All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.loc.repository.bagit.verify.ManifestVerifier Maven / Gradle / Ivy

Go to download

The BAGIT LIBRARY is a software library intended to support the creation, manipulation, and validation of bags. Its current version is 0.97. It is version aware with the earliest supported version being 0.93.

There is a newer version: 5.2.0
Show newest version
package gov.loc.repository.bagit.verify;

import gov.loc.repository.bagit.Bag;
import gov.loc.repository.bagit.Manifest;
import gov.loc.repository.bagit.utilities.SimpleResult;

import java.util.List;

public interface ManifestVerifier {
	
	public static final String CODE_PAYLOAD_MANIFEST_CONTAINS_INVALID_FILE = "payload_manifest_contains_invalid_file";
	public static final String CODE_TAG_MANIFEST_CONTAINS_INVALID_FILE = "tag_manifest_contains_invalid_file";
	
	SimpleResult verify(Manifest manifest, Bag bag);
    
	SimpleResult verify(List manifests, Bag bag);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy