org.mbari.siam.operations.portal
Class StatsAnalyzer

java.lang.Object
  extended by org.mbari.siam.operations.portal.StatsAnalyzer

public class StatsAnalyzer
extends java.lang.Object


Field Summary
protected static org.apache.log4j.Logger _log4j
          Log4j logger
static java.lang.String DFLT_DIR
           
 
Constructor Summary
StatsAnalyzer()
           
StatsAnalyzer(java.lang.String file)
           
StatsAnalyzer(java.lang.String file, java.lang.String outputDirectory)
           
 
Method Summary
 void analyze()
           
static void exitError(java.lang.String msg, int exitCode)
           
 void export(java.util.Vector statSets, boolean showHeader)
           
 void exportTable(java.util.Vector statSets, boolean showHeader)
           
 java.lang.String getPath(java.lang.String name)
           
 java.lang.String getTableHeader(java.lang.Long[] deviceIDs)
           
 java.lang.String getTableTotals(java.lang.Double[] totals)
           
 java.lang.String getTableTotals(java.lang.Long[] totals)
           
static void main(java.lang.String[] args)
           
static void printUsage()
           
static void processArgs(StatsAnalyzer sa, java.lang.String[] args)
           
 void setInputFile(java.lang.String file)
           
 void setOutputDirectory(java.lang.String dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_log4j

protected static org.apache.log4j.Logger _log4j
Log4j logger


DFLT_DIR

public static java.lang.String DFLT_DIR
Constructor Detail

StatsAnalyzer

public StatsAnalyzer()

StatsAnalyzer

public StatsAnalyzer(java.lang.String file)

StatsAnalyzer

public StatsAnalyzer(java.lang.String file,
                     java.lang.String outputDirectory)
Method Detail

printUsage

public static void printUsage()

exitError

public static void exitError(java.lang.String msg,
                             int exitCode)

setInputFile

public void setInputFile(java.lang.String file)

getPath

public java.lang.String getPath(java.lang.String name)

setOutputDirectory

public void setOutputDirectory(java.lang.String dir)

analyze

public void analyze()

export

public void export(java.util.Vector statSets,
                   boolean showHeader)

getTableHeader

public java.lang.String getTableHeader(java.lang.Long[] deviceIDs)

getTableTotals

public java.lang.String getTableTotals(java.lang.Long[] totals)

getTableTotals

public java.lang.String getTableTotals(java.lang.Double[] totals)

exportTable

public void exportTable(java.util.Vector statSets,
                        boolean showHeader)

processArgs

public static void processArgs(StatsAnalyzer sa,
                               java.lang.String[] args)

main

public static void main(java.lang.String[] args)


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.