Created
December 17, 2014 15:15
-
-
Save PhilmacFLy/19e8c91582b4273b175b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void processReport(String sourceText, String targetText) | |
throws ResourceException, IOException, BundleWriterException, ContentIOException { | |
File sourceFile = new File(sourceText); | |
MasterReport report = (MasterReport) new ResourceManager().createDirectly(sourceFile, MasterReport.class).getResource(); | |
MasterReport processedReport = manipulateReport(report); | |
BundleWriter.writeReportToZipFile(processedReport, new File(targetText)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment