com.sun.jdo.api.persistence.enhancer.util
Class ZipFileRegistry

java.lang.Object
  extended by com.sun.jdo.api.persistence.enhancer.util.ZipFileRegistry

public class ZipFileRegistry
extends Object

ZipFileRegistry provides a central point for lookup of zip files within the filter tool. It needs to be public because it's accessed from outside the filter.util package.


Constructor Summary
ZipFileRegistry()
           
 
Method Summary
static ZipFile getZipFile(String path)
          Return a zip file which must already be open
static ZipFile openZipFile(File f)
          Return a zip file which may already be open
static Enumeration zipFiles()
          Returns an enumeration of the zip files in the registry Each element is a ZipFile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipFileRegistry

public ZipFileRegistry()
Method Detail

openZipFile

public static ZipFile openZipFile(File f)
                           throws FileNotFoundException,
                                  IOException
Return a zip file which may already be open

Throws:
FileNotFoundException
IOException

getZipFile

public static ZipFile getZipFile(String path)
Return a zip file which must already be open


zipFiles

public static Enumeration zipFiles()
Returns an enumeration of the zip files in the registry Each element is a ZipFile.



Copyright © 2012. All Rights Reserved.