next up previous contents
Next: Class TempFileRepo Up: Design Previous: Class TempFileBuilder   Contents


Class ZipFileRepo

This is another example of FileRepo. It constructs a repository from a Zip(TM) file.

ZipFileRepo uses TempFileBuilder to unpack files from the specified java.util.zip.ZipInputStream. Files are unpacked to a temporary directory, which will be deleted when the JVM terminates. This temporary directory serves as a base directory (i.e., basedir) for the super class (i.e., FileRepo).