uk.ac.ed.inf.ogsaconfig.garm.collections
Interface ArchiveMaker

All Known Implementing Classes:
ArchiveMakerImp

public interface ArchiveMaker

An archive maker is an object capable of turning a file into an Archive object, dependent upon the type of the file


Method Summary
 Archive create(java.lang.String name, java.io.File fp)
           
 

Method Detail

create

public Archive create(java.lang.String name,
                      java.io.File fp)
Parameters:
name - is the name of the archive
fp - is the file the archive should represent the two arguments are needed because the name of the file need not be the correct archive name, for example if the archive has been copied in from a remote location and stored in a temporary file with a random name.