Class DefaultConsumer

java.lang.Object
org.apache.maven.shared.utils.cli.DefaultConsumer
All Implemented Interfaces:
StreamConsumer

public class DefaultConsumer extends Object implements StreamConsumer
Author:
Emmanuel Venisse
  • Constructor Details

    • DefaultConsumer

      public DefaultConsumer()
  • Method Details

    • consumeLine

      public void consumeLine(String line) throws IOException
      Called when the StreamPumper pumps a line from the Stream.
      Specified by:
      consumeLine in interface StreamConsumer
      Parameters:
      line - The line to be consumed.
      Throws:
      IOException - if consuming line fails.