com.ibm.wala.j2ee.util
Class TopLevelArchiveModule
java.lang.Object
com.ibm.wala.j2ee.util.TopLevelArchiveModule
- All Implemented Interfaces:
- Module
- Direct Known Subclasses:
- TopLevelArchiveModule.BloatedArchiveModule
public class TopLevelArchiveModule
- extends java.lang.Object
- implements Module
A wrapper around a WCCM Archive.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WAR_FILE
public static final byte WAR_FILE
- See Also:
- Constant Field Values
OTHER_JAR_FILE
public static final byte OTHER_JAR_FILE
- See Also:
- Constant Field Values
APPLICATION_CLIENT_FILE
public static final byte APPLICATION_CLIENT_FILE
- See Also:
- Constant Field Values
EAR_FILE
public static final byte EAR_FILE
- See Also:
- Constant Field Values
EJB_JAR_FILE
public static final byte EJB_JAR_FILE
- See Also:
- Constant Field Values
TopLevelArchiveModule
public TopLevelArchiveModule(JarFileModule jarFile)
getTypeCode
public static byte getTypeCode(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive A)
- Parameters:
A - an ARCHIVE
- Returns:
- one of EAR_FILE, JAR_FILE, WAR_FILE, or APPLICATION_CLIENT_FILE
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getType
public byte getType()
- Returns:
- one of EAR_FILE, JAR_FILE, WAR_FILE, or APPLICATION_CLIENT_FILE
getEntries
public java.util.Iterator<ModuleEntry> getEntries()
- Specified by:
getEntries in interface Module
- Returns:
- an Iterator of the ModuleEntries in this Module.
materializeArchive
public org.eclipse.jst.j2ee.commonarchivecore.internal.Archive materializeArchive()
- Returns:
- a WCCM Archive representing this module
isWarFile
protected boolean isWarFile()
- Returns:
- true iff the jar file suffix is .war
setIgnoreDependentJars
public void setIgnoreDependentJars(boolean b)
- Parameters:
b -