Interface StreamCommand

  • All Superinterfaces:
    Command

    public interface StreamCommand
    extends Command
    Add the ability to work on input, output and error streams to the the Command interface.
    • Method Detail

      • execute

        void execute​(InputStream inputStream,
                     OutputStream outputStream,
                     OutputStream errorStream)
        The action code to be executed in a stream context.
        Parameters:
        inputStream - the input stream.
        outputStream - the output stream.
        errorStream - the error stream.