classUtils.resolver.model
Class AuditMaster

java.lang.Object
  extended by classUtils.resolver.model.AuditMaster
All Implemented Interfaces:
Auditor

public class AuditMaster
extends java.lang.Object
implements Auditor

Version:
2.0 http://home.attbi.com/~doug.tillman/index.html Controller class responsible for Auditing the system .jar files and registering any duplicate jar file names and duplicate exploded contents Strings for later reporting. The results are retained as a master list and a duplicate list - both stored in TreeMap structures. I opted to keep them separate rather than having a single data structure with an isDuplicate boolean flag on the JarFile object because as the audits get larger, it seemed more efficient if one wanted to process just the duplicates, to not have to iterate over the entire inventory. This may change in a later version depending on the feedback to the utility.
Author:
Douglas Tillman, VTE Consulting, 12/2002

Constructor Summary
AuditMaster()
           
 
Method Summary
 void addJarFileToAudit(java.util.jar.JarFile jar)
          Add the JarFile object to the audit for evaluation and addition to the appropriate TreeMap and consequently the corresponding pane in the GUI splitpane widget.
 java.util.Map getDuplicateClassList()
          Standard getter
 java.util.Map getDuplicateJarList()
          Standard getter
 java.util.Map getMasterClassList()
          Standard getter
 java.util.Map getMasterJarList()
          Standard getter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditMaster

public AuditMaster()
Method Detail

addJarFileToAudit

public void addJarFileToAudit(java.util.jar.JarFile jar)
Add the JarFile object to the audit for evaluation and addition to the appropriate TreeMap and consequently the corresponding pane in the GUI splitpane widget.

Specified by:
addJarFileToAudit in interface Auditor
Parameters:
The - current JarFile being evaluated.

getMasterJarList

public java.util.Map getMasterJarList()
Description copied from interface: Auditor
Standard getter

Specified by:
getMasterJarList in interface Auditor
Returns:
Map of all .jar files audited.

getDuplicateJarList

public java.util.Map getDuplicateJarList()
Description copied from interface: Auditor
Standard getter

Specified by:
getDuplicateJarList in interface Auditor
Returns:
Map of all duplicate .jar files audited.

getMasterClassList

public java.util.Map getMasterClassList()
Description copied from interface: Auditor
Standard getter

Specified by:
getMasterClassList in interface Auditor
Returns:
Map of all class files audited.

getDuplicateClassList

public java.util.Map getDuplicateClassList()
Description copied from interface: Auditor
Standard getter

Specified by:
getDuplicateClassList in interface Auditor
Returns:
Map of all duplicate class files audited.