public class AvailabilityReport extends Object
| Modifier and Type | Field and Description | 
|---|---|
static String[] | 
months
String of Months 
 | 
| Constructor and Description | 
|---|
AvailabilityReport(String author,
                  String startMonth,
                  String startDate,
                  String startYear)
Default constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
generatePDF(String xsltFileName,
           OutputStream out,
           String format)
Generate PDF from classes. 
 | 
static void | 
generateReport(String logourl,
              String categoryName,
              String format,
              String monthFormat,
              String startMonth,
              String startDate,
              String startYear)
generateReport 
 | 
void | 
getReportData(String logourl,
             String categoryName,
             String reportFormat,
             String monthFormat,
             String startMonth,
             String startDate,
             String startYear)
This when invoked generates the data into report classes. 
 | 
static void | 
main(String[] args)
Main method 
 | 
void | 
marshalReport()
This when invoked marshals the report XML from the classes. 
 | 
void | 
populateReport(String logourl,
              String categoryName,
              String reportFormat,
              String monthFormat,
              String startMonth,
              String startDate,
              String startYear)
This when invoked populates the classes. 
 | 
public static String[] months
public void getReportData(String logourl, String categoryName, String reportFormat, String monthFormat, String startMonth, String startDate, String startYear)
logourl - location of the logo to be displayed on the reportcategoryName - of the logo to be displayed on the reportreportFormat - Report Format ("SVG" / all)monthFormat - Format for month data ("classic"/"calendar")startMonth - a String object.startDate - a String object.startYear - a String object.public void populateReport(String logourl, String categoryName, String reportFormat, String monthFormat, String startMonth, String startDate, String startYear)
logourl - location of the logo to be displayed on the reportcategoryName - of the logo to be displayed on the reportreportFormat - Report Format ("SVG" / all)monthFormat - Format for month data ("classic"/"calendar")startMonth - a String object.startDate - a String object.startYear - a String object.public void marshalReport()
                   throws IOException,
                          Exception
IOException - if any.Exception - if any.public void generatePDF(String xsltFileName, OutputStream out, String format) throws Exception
xsltFileName - a String object.out - a OutputStream object.format - a String object.Exception - if any.public static void main(String[] args)
args - an array of String objects.Copyright © 2021. All rights reserved.