code: public static final Stream<String> lines(InputStream is, Charset cs)
      {
          return StreamSupport.stream(new StringSplitIterator(is, cs), false);
      }
docs: Reads InputStream as stream of lines. Line separator is '\n' while '\r'
  is simply ignored.
  @param is
  @param cs
  @return