public static GfeConsoleReader createConsoleReader() {
    GfeConsoleReader consoleReader;

    if (Gfsh.getCurrentInstance() != null) {
      LogWrapper logWrapper = Gfsh.getCurrentInstance().getGfshFileLogger();
      logWrapper.info("GfeConsoleReaderFactory.createConsoleReader(): isGfshVM");
      consoleReader = new GfshConsoleReader();
      logWrapper.info("GfeConsoleReaderFactory.createConsoleReader(): consoleReader: "
          + consoleReader + "=" + consoleReader.isSupported());
    } else {
      consoleReader = new GfeConsoleReader();
    }
    return consoleReader;
  }
Factory for Console Reader Utility.

Default uses <code>java.io.Console</code> returned by <code>System.console()</code>


@since GemFire 7.0.1
geode-gfsh/src/main/java/org/apache/geode/internal/gfsh/console/GfeConsoleReaderFactory.java