org.mbari.siam.operations.portal
Class ProfileAnalyzer
java.lang.Object
org.mbari.siam.operations.portal.ProfileAnalyzer
public class ProfileAnalyzer
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log4j
protected static org.apache.log4j.Logger _log4j
- Log4j logger
FORMAT_LEGACY
public static final int FORMAT_LEGACY
- See Also:
- Constant Field Values
FORMAT_ABSTIME
public static final int FORMAT_ABSTIME
- See Also:
- Constant Field Values
END
public static java.lang.Integer END
START
public static java.lang.Integer START
UNDEFINED
public static java.lang.Integer UNDEFINED
INFO
public static java.lang.Integer INFO
_start
public static java.lang.String _start
_end
public static java.lang.String _end
_info
public static java.lang.String _info
DFLT_DIR
public static java.lang.String DFLT_DIR
DFLT_EVENTFORMAT
public static int DFLT_EVENTFORMAT
NOMINAL_BITRATE
public final int NOMINAL_BITRATE
- See Also:
- Constant Field Values
ProfileAnalyzer
public ProfileAnalyzer()
ProfileAnalyzer
public ProfileAnalyzer(java.lang.String file)
ProfileAnalyzer
public ProfileAnalyzer(java.lang.String file,
java.lang.String outputDirectory,
int eventFormat)
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)
setEventFormat
public void setEventFormat(int eventFormat)
analyze
public void analyze()
exportStats
public void exportStats(java.util.Vector segments,
java.util.Vector statSets)
getTableHeader
public java.lang.String getTableHeader(java.lang.String[] eventNames)
getTableTotals
public java.lang.String getTableTotals(java.lang.String[] totals)
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(ProfileAnalyzer pa,
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.