Class ZipFileRegistry
- java.lang.Object
-
- 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
Constructors Constructor Description ZipFileRegistry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ZipFile
getZipFile(String path)
Return a zip file which must already be openstatic ZipFile
openZipFile(File f)
Return a zip file which may already be openstatic Enumeration
zipFiles()
Returns an enumeration of the zip files in the registry Each element is a ZipFile.
-
-
-
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.
-
-