Package com.gramant.jtr.reporting

Examples of com.gramant.jtr.reporting.ReportsProcessor


        return (office + environment + "_" + type).toUpperCase();
    }

    private static void reindex() throws IOException {
        ReportsProcessor processor = new ReportsProcessor(getProperty("report.server.path"));
        File [] todo = processor.getTodoFiles();
        logger.debug("Start reindex process");
        logger.info("Start reading files");
        for (int i = 0; i < todo.length; i++) {
            File file = todo[i];
            logger.info("Reading file: " + file.getAbsolutePath());
            processor.process(file);
        }
        logger.info("Stop reading files");
        if (todo.length != 0) {
            processor.reindexReports();
        }
        logger.debug("End reindex process");
    }
View Full Code Here

TOP

Related Classes of com.gramant.jtr.reporting.ReportsProcessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.