Package org.grouplens.lenskit.util.io

Examples of org.grouplens.lenskit.util.io.LoggingStreamSlurper.start()


            logger.error("could not start {}: {}", executable, e);
            throw new RuntimeException("could not start external process", e);
        }
        Thread slurp = new LoggingStreamSlurper("build-" + executable, proc.getErrorStream(),
                                                logger, "");
        slurp.start();

        Cursor<String[]> rows = new DelimitedTextCursor(new BufferedReader(new InputStreamReader(proc.getInputStream())), ",");
        try {
            for (String[] row: rows) {
                // FIXME Add error checking
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.