com.ibm.wala.classLoader
Class JarFileModule
java.lang.Object
com.ibm.wala.classLoader.JarFileModule
- All Implemented Interfaces:
- Module
- Direct Known Subclasses:
- J2EEArchiveFileModule
public class JarFileModule
- extends java.lang.Object
- implements Module
A module which is a wrapper around a Jar file
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
JarFileModule
public JarFileModule(java.util.jar.JarFile f)
getAbsolutePath
public java.lang.String getAbsolutePath()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
createEntry
protected ModuleEntry createEntry(java.util.zip.ZipEntry z)
getEntries
public java.util.Iterator<ModuleEntry> getEntries()
- Specified by:
getEntries in interface Module
- Returns:
- an Iterator of the ModuleEntries in this Module.
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getContents
public byte[] getContents(java.util.zip.ZipEntry entry)
getJarFile
public java.util.jar.JarFile getJarFile()