classUtils.resolver.xml
Class XMLBuilder

java.lang.Object
  extended by classUtils.resolver.xml.XMLBuilder

public class XMLBuilder
extends java.lang.Object

Version:
2.0 Outputs results of Jar file inventory and audit as an XML document. 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
XMLBuilder(java.lang.String rootDirPath)
           
 
Method Summary
 void buildXML()
          Creates the Tree and Duplicates Tree nodes
 void writeXMLFile()
          Writes the XML output file to the location and file name dictated by the third command line argument as set in class Main.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLBuilder

public XMLBuilder(java.lang.String rootDirPath)
Method Detail

buildXML

public void buildXML()
Creates the Tree and Duplicates Tree nodes


writeXMLFile

public void writeXMLFile()
Writes the XML output file to the location and file name dictated by the third command line argument as set in class Main.