uk.ac.ed.inf.ogsaconfig.garm.collections
Class RemoteArchive

java.lang.Object
  |
  +--uk.ac.ed.inf.ogsaconfig.garm.collections.ConcreteCollection
        |
        +--uk.ac.ed.inf.ogsaconfig.garm.collections.Archive
              |
              +--uk.ac.ed.inf.ogsaconfig.garm.collections.RemoteArchive
All Implemented Interfaces:
FileCollection

public class RemoteArchive
extends Archive

A remote archive represents an archive that is not physically available on the local machine by default. RemoteArchive implements on demand loading, but uses descriptors so that the archive is only downloaded when a file needs to be copied from it, not when its properties must be queried


Constructor Summary
RemoteArchive(java.net.URL store, java.lang.String descriptor, ArchiveMaker archiveMaker)
           
 
Methods inherited from class uk.ac.ed.inf.ogsaconfig.garm.collections.Archive
performAdd, performRemove
 
Methods inherited from class uk.ac.ed.inf.ogsaconfig.garm.collections.ConcreteCollection
add, bases, contents, contents, destroy, includeAll, includeFile, remove, retrieve, root
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteArchive

public RemoteArchive(java.net.URL store,
                     java.lang.String descriptor,
                     ArchiveMaker archiveMaker)
Parameters:
store - is the url of the store where descriptors are kept
descriptor - is the name of the descriptor to use
archiveMaker - is an archive maker to manipulate the relevant archive once it has been downloaded