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.
-
Analysts
-
-
BOTH
-
-
ColumnHeading
-
-
ColumnHeading2
-
-
ERRORS
-
-
Frequency
-
-
Full
-
-
Hyphens
-
-
LineNumber
-
-
NoReport
- Symbolic values for report types
-
Now
-
-
PageHeader1
- Page header strings
-
PageHeader2
- Page header strings
-
PageNumber
-
-
PageSize
- Page size, page and line count
-
Scheduling
-
-
Summary
-
-
TimeOnSource
-
-
WARNINGS
- flags for which warnings/error flags to check
-
Report()
-
-
PageFooter(BufferedWriter)
- Write page footer to output file.
-
PageHeader(BufferedWriter)
- Write page header to output file.
-
SourceErrors(int, Scan)
- Check for scheduling errors in scan.
-
WriteLine(BufferedWriter, String)
- Write line to output file.
WARNINGS
public static final int WARNINGS
- flags for which warnings/error flags to check
ERRORS
public static final int ERRORS
BOTH
public static final int BOTH
NoReport
public static final int NoReport
- Symbolic values for report types
Summary
public static final int Summary
Full
public static final int Full
Scheduling
public static final int Scheduling
Frequency
public static final int Frequency
TimeOnSource
public static final int TimeOnSource
Analysts
public static final int Analysts
PageHeader1
public static String PageHeader1
- Page header strings
PageHeader2
public static String PageHeader2
- Page header strings
ColumnHeading
public static String ColumnHeading
ColumnHeading2
public static String ColumnHeading2
Hyphens
public static String Hyphens
Now
public static String Now
PageSize
public static int PageSize
- Page size, page and line count
PageNumber
public static int PageNumber
LineNumber
public static int LineNumber
Report
public Report()
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.
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
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
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