analysis
Class AnalysisManager

java.lang.Object
  extended by analysis.AnalysisManager

public class AnalysisManager
extends java.lang.Object

This class does the extraction of data for html pages using the extraction engines that are required by the analysis engines in use. After it does the various analysis on the pages.


Constructor Summary
AnalysisManager(java.util.ArrayList<AnalysisEngine> currentAnalysis, java.util.ArrayList<ExtractionEngine> currentExtraction)
          Constructor for the AnalysisManager, takes an ArrayList of Analysis Engines to use and an ArrayList of Extraction Engines to use.
 
Method Summary
 java.util.ArrayList<java.util.ArrayList<AnalysisResult>> doAnalysis(java.util.ArrayList<Page> pageArray)
          Does the data extraction and analysis of the ArrayList of Page objects inputed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalysisManager

public AnalysisManager(java.util.ArrayList<AnalysisEngine> currentAnalysis,
                       java.util.ArrayList<ExtractionEngine> currentExtraction)
Constructor for the AnalysisManager, takes an ArrayList of Analysis Engines to use and an ArrayList of Extraction Engines to use.

Parameters:
currentAnalysis - - The set of analysis engines to use of the pages.
currentExtraction - - The set of extraction engines the analysis engines need to use to do the analysis.
Method Detail

doAnalysis

public java.util.ArrayList<java.util.ArrayList<AnalysisResult>> doAnalysis(java.util.ArrayList<Page> pageArray)
Does the data extraction and analysis of the ArrayList of Page objects inputed

Parameters:
pageArray - - The Array of Page objects to be analyzed.
Returns:
- A Double ArrayList of AnalysisResult objects - the first 'dimension' of the ArrayList separates the Pages analyzed while the second 'dimension' separates the Analysis Results for each AnalysisEngine. eg. at [0][1] you are selecting the first Page analyzed and the 2nd analysis engine that is used.