Class TeeConsumer

java.lang.Object
org.apache.maven.shared.release.exec.TeeConsumer
All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer

public class TeeConsumer extends Object implements org.codehaus.plexus.util.cli.StreamConsumer
Consumer that both funnels to System.out/err, and stores in an internal buffer.
  • Field Details

  • Constructor Details

  • Method Details

    • consumeLine

      public void consumeLine(String line)
      Specified by:
      consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumer
    • getContent

      public String getContent()
    • toString

      public String toString()
      Overrides:
      toString in class Object