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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mhshArchiveCache
private java.util.Hashtable mhshArchiveCache
moInstance
private static ArchiveFactory moInstance
ArchiveFactory
private ArchiveFactory()
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.