Class ArchiveMakerImp

All Implemented Interfaces:

public class ArchiveMakerImp
extends java.lang.Object
implements ArchiveMaker

This class provides a basic implementation of the ArchiveMaker interface, offering only the GAR archives currently in use (that is ZIP compression, extension .gar)

Constructor Summary
Method Summary
 Archive create(java.lang.String name, fp)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ArchiveMakerImp()
Method Detail


public Archive create(java.lang.String name,
Specified by:
create in interface ArchiveMaker
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.