default String asString() {
    StringBuilder builder = new StringBuilder();
    while (hasNextLine()) {
      builder.append(nextLine());
    }
    resetToFirstLine();
    return builder.toString();
  }
@return the string representation of the result with the specified line separator.
geode-gfsh/src/main/java/org/apache/geode/management/cli/Result.java