org.sonar.runner.api
Class PrintStreamConsumer

java.lang.Object
  extended by org.sonar.runner.api.PrintStreamConsumer
All Implemented Interfaces:
StreamConsumer

public class PrintStreamConsumer
extends Object
implements StreamConsumer

Implementation of StreamConsumer that prints lines to PrintStream. Generally used to forward to System.out or System.err.

Since:
2.2

Constructor Summary
PrintStreamConsumer(PrintStream output)
           
 
Method Summary
 void consumeLine(String line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintStreamConsumer

public PrintStreamConsumer(PrintStream output)
Method Detail

consumeLine

public void consumeLine(String line)
Specified by:
consumeLine in interface StreamConsumer


Copyright © 2011-2014 SonarSource. All Rights Reserved.