private static StatSpec[] createSpecs(List cmdLineSpecs) {
    StatSpec[] result = new StatSpec[cmdLineSpecs.size()];
    Iterator it = cmdLineSpecs.iterator();
    int idx = 0;
    while (it.hasNext()) {
      result[idx] = new StatSpec((String) it.next());
      idx++;
    }
    return result;
  }
Returns the contents located at the end of the file as a string.

@throws IOException if the file can not be opened or read
geode-core/src/main/java/org/apache/geode/internal/SystemAdmin.java