Package org.kiji.schema.tools

Examples of org.kiji.schema.tools.KijiToolLauncher


    ByteArrayOutputStream output = new ByteArrayOutputStream();
    tool.setPrintStream(new PrintStream(output));

    // Run the tool.
    LOG.debug("Running tool " + tool.getClass().getName() + " with args " + Arrays.toString(args));
    KijiToolLauncher launcher = new KijiToolLauncher();
    launcher.setConf(conf);
    int exitCode = launcher.run(tool, args);
    return new ToolResult(exitCode, output);
  }
View Full Code Here

TOP

Related Classes of org.kiji.schema.tools.KijiToolLauncher

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.