Class CommandlineStreams
- java.lang.Object
-
- org.apache.maven.surefire.extensions.util.CommandlineStreams
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public final class CommandlineStreams extends java.lang.Object implements java.io.Closeable
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
closed
private java.nio.channels.ReadableByteChannel
stdErrChannel
private java.nio.channels.WritableByteChannel
stdInChannel
private java.nio.channels.ReadableByteChannel
stdOutChannel
-
Constructor Summary
Constructors Constructor Description CommandlineStreams(java.lang.Process process)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.nio.channels.ReadableByteChannel
getStdErrChannel()
java.nio.channels.WritableByteChannel
getStdInChannel()
java.nio.channels.ReadableByteChannel
getStdOutChannel()
-
-
-
Method Detail
-
getStdOutChannel
public java.nio.channels.ReadableByteChannel getStdOutChannel()
-
getStdErrChannel
public java.nio.channels.ReadableByteChannel getStdErrChannel()
-
getStdInChannel
public java.nio.channels.WritableByteChannel getStdInChannel()
-
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
-
-