Class ShellCommand

  • All Implemented Interfaces:
    java.lang.Runnable

    public final class ShellCommand
    extends java.lang.Object
    implements java.lang.Runnable
    • Constructor Summary

      Constructors 
      Constructor Description
      ShellCommand​(java.lang.String command, java.lang.String directory, Stream outputStream)  
    • Method Summary

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

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

      • ShellCommand

        public ShellCommand​(java.lang.String command,
                            java.lang.String directory,
                            Stream outputStream)
    • Method Detail

      • getOutput

        public final java.lang.String getOutput()
      • run

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