public void generateMonthlyReport(int year, int month) { String[][] statistics = null; // // Gather month-end data // reportGenerator.generate(statistics); }
public void generateDailyReport(int year, int month, int day) { String[][] statistics = null; // // Gather daily data // reportGenerator.generate(statistics); }
public void generateAnnualReport(int year) { String[][] statistics = null; // // Gather year-end data // reportGenerator.generate(statistics); }
private void write(BufferedReader input, DataOutputStream output, Client client) throws IOException { path = reportGenerator.getPath(client); try { output.writeBytes(requestHeader(200, 5)); reportGenerator.generate(path, output); } catch (Exception e) { output.writeBytes(requestHeader(404, 5)); } output.close(); }