mnemosyne.archiver
Class FileSystemArchiver

java.lang.Object
  |
  +--mnemosyne.archiver.FileSystemArchiver
All Implemented Interfaces:
Archiver

public class FileSystemArchiver
extends java.lang.Object
implements Archiver

Version:
$Id: FileSystemArchiver.java,v 1.1.1.1 2004/08/07 06:40:53 charlesblaxland Exp $

Constructor Summary
FileSystemArchiver(VersionManager versionMgr, PersistentObjectFactory persistentObjectFactory, java.lang.String directory)
           
 
Method Summary
 PersistentRoot loadLatest()
           
 void saveSnapshot(PersistentRoot root)
           
 void saveTransaction(Transaction transaction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemArchiver

public FileSystemArchiver(VersionManager versionMgr,
                          PersistentObjectFactory persistentObjectFactory,
                          java.lang.String directory)
Method Detail

loadLatest

public PersistentRoot loadLatest()
                          throws ArchiverException
Specified by:
loadLatest in interface Archiver
ArchiverException

saveSnapshot

public void saveSnapshot(PersistentRoot root)
                  throws ArchiverException
Specified by:
saveSnapshot in interface Archiver
ArchiverException

saveTransaction

public void saveTransaction(Transaction transaction)
                     throws ArchiverException
Specified by:
saveTransaction in interface Archiver
ArchiverException


Copyright © 2004 Charles Blaxland. All Rights Reserved.