Class SystemCommandHelper.StreamGobbler

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    SystemCommandHelper

    public static class SystemCommandHelper.StreamGobbler
    extends java.lang.Object
    implements java.lang.Runnable
    • Constructor Summary

      Constructors 
      Constructor Description
      StreamGobbler​(java.io.InputStream inputStream, java.io.InputStream errorStream, java.util.function.Consumer<java.lang.String> consumer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

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

      • StreamGobbler

        public StreamGobbler​(java.io.InputStream inputStream,
                             java.io.InputStream errorStream,
                             java.util.function.Consumer<java.lang.String> consumer)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable