code: public static ShellConsole getConsole(InputStream in, PrintStream ps,
              Charset cs) {
          return new SimpleShellConsole(in, ps, cs);
      }
docs: Returns a new {@link ShellConsole} which uses the supplied
  {@link InputStream} and {@link PrintStream} for its input/output