code: public static void writeList(Collection<?> lines,
                                   OutputStream output) throws IOException {
          writeList(lines, output, Charset.defaultCharset());
      }
docs: -----------------------------------------------------------------------