code: public static String getString(final String msg) {
          ConsoleMenu.print(msg);
  
          BufferedReader bufReader = null;
          String opt = null;
  
          try {
              bufReader = new BufferedReader(new InputStreamReader(System.in));
              opt = bufReader.readLine();
          } catch (final IOException ex) {
              log(ex);
              System.exit(1);
          }
  
          return opt;
      }
docs: Gets a String from the System.in.
  
  @param msg
  for the command line
  @return String as entered by the user of the console app