uk.ac.ed.inf.ogsaconfig.garm.reference
Class GARBuilder

java.lang.Object
  |
  +--uk.ac.ed.inf.ogsaconfig.garm.reference.GARBuilder
All Implemented Interfaces:
CollectionBuilder

public class GARBuilder
extends java.lang.Object
implements CollectionBuilder

This collection builder creates FileCollection chains for local GARS


Constructor Summary
GARBuilder(ArchiveMaker archiveMaker)
           
 
Method Summary
 FileCollection createCollection(java.lang.String identifier, PersistenceMechanism store)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GARBuilder

public GARBuilder(ArchiveMaker archiveMaker)
Parameters:
archiveMaker - will be used to handle archive type identification
Method Detail

createCollection

public FileCollection createCollection(java.lang.String identifier,
                                       PersistenceMechanism store)
Specified by:
createCollection in interface CollectionBuilder
Parameters:
identifier - here is the filename of the GAR in question
store - is the persistence mechanism to retrieve metadata from