org.sourcejammer.project.controller
Class ArchiveFactory

java.lang.Object
  |
  +--org.sourcejammer.project.controller.ArchiveFactory

public class ArchiveFactory
extends java.lang.Object

Factory class that returns Arvhive objects.


Nested Class Summary
static class ArchiveFactory.Implementations
           
 
Field Summary
private  java.util.Hashtable mhshArchiveCache
           
private static ArchiveFactory moInstance
           
 
Constructor Summary
private ArchiveFactory()
           
 
Method Summary
 void deleteArchive(java.lang.String archiveName)
          Uses only filesys.
 Archive getArchive(java.lang.String archiveName)
           
 java.lang.String[] getArchiveNames()
           
static ArchiveFactory getInstance()
           
 void makeArchive(java.lang.String archiveName, java.lang.String rootPath)
          Uses filesys as default implementation.
 void makeArchive(java.lang.String archiveName, java.lang.String rootPath, int implementation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mhshArchiveCache

private java.util.Hashtable mhshArchiveCache

moInstance

private static ArchiveFactory moInstance
Constructor Detail

ArchiveFactory

private ArchiveFactory()
Method Detail

getInstance

public static ArchiveFactory getInstance()

getArchive

public Archive getArchive(java.lang.String archiveName)
                   throws FileAccessException
FileAccessException

deleteArchive

public void deleteArchive(java.lang.String archiveName)
                   throws FileAccessException
Uses only filesys.

FileAccessException

makeArchive

public void makeArchive(java.lang.String archiveName,
                        java.lang.String rootPath)
                 throws FileAccessException
Uses filesys as default implementation.

FileAccessException

getArchiveNames

public java.lang.String[] getArchiveNames()
                                   throws FileAccessException
FileAccessException

makeArchive

public void makeArchive(java.lang.String archiveName,
                        java.lang.String rootPath,
                        int implementation)
                 throws FileAccessException
FileAccessException


Copyright 2003 Soucejammer project.