接口 ExecuteStreamHandler

所有已知实现类:
PumpStreamHandler

public interface ExecuteStreamHandler
Description: Title:首亨软件 - CRM、TSS、ERP等信息化管理软件
  • 方法详细资料

    • setProcessInputStream

      void setProcessInputStream(OutputStream os) throws IOException
      Install a handler for the input stream of the subprocess.
      参数:
      os - output stream to write to the standard input stream of the subprocess
      抛出:
      IOException - IOException
    • setProcessErrorStream

      void setProcessErrorStream(InputStream is) throws IOException
      Install a handler for the error stream of the subprocess.
      参数:
      is - input stream to read from the error stream from the subprocess
      抛出:
      IOException - IOException
    • setProcessOutputStream

      void setProcessOutputStream(InputStream is) throws IOException
      Install a handler for the output stream of the subprocess.
      参数:
      is - input stream to read from the error stream from the subprocess
      抛出:
      IOException - IOException
    • start

      void start() throws IOException
      Start handling of the streams.
      抛出:
      IOException - IOException
    • stop

      void stop()
      Stop handling of the streams - will not be restarted. Will wait for pump threads to complete.