All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JObserve.Report

java.lang.Object
   |
   +----JObserve.Report

public class Report
extends Object
Report generation base class This class is never instantiated and consists entirely of static functions.


Variable Index

 o Analysts
 o BOTH
 o ColumnHeading
 o ColumnHeading2
 o ERRORS
 o Frequency
 o Full
 o Hyphens
 o LineNumber
 o NoReport
Symbolic values for report types
 o Now
 o PageHeader1
Page header strings
 o PageHeader2
Page header strings
 o PageNumber
 o PageSize
Page size, page and line count
 o Scheduling
 o Summary
 o TimeOnSource
 o WARNINGS
flags for which warnings/error flags to check

Constructor Index

 o Report()

Method Index

 o PageFooter(BufferedWriter)
Write page footer to output file.
 o PageHeader(BufferedWriter)
Write page header to output file.
 o SourceErrors(int, Scan)
Check for scheduling errors in scan.
 o WriteLine(BufferedWriter, String)
Write line to output file.

Variables

 o WARNINGS
 public static final int WARNINGS
flags for which warnings/error flags to check

 o ERRORS
 public static final int ERRORS
 o BOTH
 public static final int BOTH
 o NoReport
 public static final int NoReport
Symbolic values for report types

 o Summary
 public static final int Summary
 o Full
 public static final int Full
 o Scheduling
 public static final int Scheduling
 o Frequency
 public static final int Frequency
 o TimeOnSource
 public static final int TimeOnSource
 o Analysts
 public static final int Analysts
 o PageHeader1
 public static String PageHeader1
Page header strings

 o PageHeader2
 public static String PageHeader2
Page header strings

 o ColumnHeading
 public static String ColumnHeading
 o ColumnHeading2
 public static String ColumnHeading2
 o Hyphens
 public static String Hyphens
 o Now
 public static String Now
 o PageSize
 public static int PageSize
Page size, page and line count

 o PageNumber
 public static int PageNumber
 o LineNumber
 public static int LineNumber

Constructors

 o Report
 public Report()

Methods

 o SourceErrors
 public static boolean SourceErrors(int errorType,
                                    Scan theScan)
Check for scheduling errors in scan.

Parameters:
- int type (WARNING, ERRORS, BOTH) to check for
- String the scan to check
Returns:
true if one or more errors/warnings exist.
 o WriteLine
 public static void WriteLine(BufferedWriter out,
                              String Line) throws IOException
Write line to output file. Writes page headers and footers as necessary

Parameters:
- BuferedWriter the BufferedWriter for output
- String the line
Throws: IOException
if I/O problem
 o PageHeader
 public static void PageHeader(BufferedWriter out) throws IOException
Write page header to output file.

Parameters:
- BuferedWriter the BufferedWriter for output
Throws: IOException
if I/O problem
 o PageFooter
 public static void PageFooter(BufferedWriter out) throws IOException
Write page footer to output file.

Parameters:
- BuferedWriter the BufferedWriter for output
Throws: IOException
if I/O problem

All Packages  Class Hierarchy  This Package  Previous  Next  Index