gov.loc.repository.bagit
Class ManifestHelper

java.lang.Object
  extended by gov.loc.repository.bagit.ManifestHelper

public class ManifestHelper
extends java.lang.Object


Constructor Summary
ManifestHelper()
           
 
Method Summary
static Manifest.Algorithm getAlgorithm(java.lang.String filename, Bag.BagConstants bagConstants)
           
static java.lang.String getPayloadManifestFilename(Manifest.Algorithm algorithm, Bag.BagConstants bagConstants)
           
static java.lang.String getTagManifestFilename(Manifest.Algorithm algorithm, Bag.BagConstants bagConstants)
           
static boolean isPayloadManifest(java.lang.String filename, Bag.BagConstants bagConstants)
           
static boolean isTagManifest(java.lang.String filename, Bag.BagConstants bagConstants)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManifestHelper

public ManifestHelper()
Method Detail

isPayloadManifest

public static boolean isPayloadManifest(java.lang.String filename,
                                        Bag.BagConstants bagConstants)

isTagManifest

public static boolean isTagManifest(java.lang.String filename,
                                    Bag.BagConstants bagConstants)

getAlgorithm

public static Manifest.Algorithm getAlgorithm(java.lang.String filename,
                                              Bag.BagConstants bagConstants)

getTagManifestFilename

public static java.lang.String getTagManifestFilename(Manifest.Algorithm algorithm,
                                                      Bag.BagConstants bagConstants)

getPayloadManifestFilename

public static java.lang.String getPayloadManifestFilename(Manifest.Algorithm algorithm,
                                                          Bag.BagConstants bagConstants)