code: public static List<String> readLines(Reader reader) throws IOException {
          IteratorClosureAdapter<String> closure = new IteratorClosureAdapter<String>(reader);
          eachLine(reader, closure);
          return closure.asList();
      }
docs: Reads the reader into a list of Strings, with one entry for each line.
  The reader is closed before this method returns.
  
  @param reader a Reader
  @return a List of lines
  @throws IOException if an IOException occurs.
  @since 1.0