Class ThreadedStreamConsumer
- java.lang.Object
-
- org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,org.apache.maven.shared.utils.cli.StreamConsumer
public final class ThreadedStreamConsumer extends java.lang.Object implements org.apache.maven.shared.utils.cli.StreamConsumer, java.io.Closeable
Knows how to reconstruct *all* the state transmitted over stdout by the forked process.- Author:
- Kristian Rosenvold
-
-
Constructor Summary
Constructors Constructor Description ThreadedStreamConsumer(org.apache.maven.shared.utils.cli.StreamConsumer target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
consumeLine(java.lang.String s)
-
-
-
Method Detail
-
consumeLine
public void consumeLine(java.lang.String s)
- Specified by:
consumeLine
in interfaceorg.apache.maven.shared.utils.cli.StreamConsumer
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-