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

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

public class DirectoryBuilder
extends java.lang.Object
implements CollectionBuilder

DirectoryBuilder creates directory collections, with an optional layered PolicyCollection layer to handle conflicts.


Constructor Summary
DirectoryBuilder(Policy conflictPolicy)
           
 
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

DirectoryBuilder

public DirectoryBuilder(Policy conflictPolicy)
Parameters:
conflictPolicy - is a policy to use to resolve name clashes or null if no such policy is required
Method Detail

createCollection

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