com.ibm.wala.j2ee.util
Class TopLevelArchiveModule

java.lang.Object
  extended by 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.


Nested Class Summary
static class TopLevelArchiveModule.BloatedArchiveModule
           
 
Field Summary
static byte APPLICATION_CLIENT_FILE
           
static byte EAR_FILE
           
static byte EJB_JAR_FILE
           
static byte OTHER_JAR_FILE
           
static byte WAR_FILE
           
 
Constructor Summary
TopLevelArchiveModule(JarFileModule jarFile)
           
 
Method Summary
 java.util.Iterator<ModuleEntry> getEntries()
           
 byte getType()
           
static byte getTypeCode(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive A)
           
protected  boolean isWarFile()
           
 org.eclipse.jst.j2ee.commonarchivecore.internal.Archive materializeArchive()
           
 void setIgnoreDependentJars(boolean b)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

TopLevelArchiveModule

public TopLevelArchiveModule(JarFileModule jarFile)
Method Detail

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 -