Class CommandlineStreams

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public final class CommandlineStreams
    extends java.lang.Object
    implements java.io.Closeable
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CommandlineStreams

        public CommandlineStreams​(@Nonnull
                                  java.lang.Process process)
    • 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 interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException