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