code: public static List<String> readLines(URL self, String charset) throws IOException {
          return IOGroovyMethods.readLines(newReader(self, charset));
      }
docs: Reads the URL contents into a list, with one element for each line.
  
  @param self    a URL
  @param charset opens the URL with a specified charset
  @return a List of lines
  @throws IOException if an IOException occurs.
  @see IOGroovyMethods#readLines(java.io.Reader)
  @since 1.6.8