public String readLine(String textToPrompt) {
      if (isSupported()) {
        return console.readLine(textToPrompt);
      }
      return null;
    }
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