Writes the toString() value of each item in a collection to an OutputStream line by line, using the default character encoding of the platform and the specified line ending. @param lines the lines to write, null entries produce blank lines @param lineEnding the line separa
(final Collection<?> lines, final String lineEnding,
final OutputStream output)
| 1966 | * @deprecated 2.5 use {@link #writeLines(Collection, String, OutputStream, Charset)} instead |
| 1967 | */ |
| 1968 | @Deprecated |
| 1969 | public static void writeLines(final Collection<?> lines, final String lineEnding, |
| 1970 | final OutputStream output) throws IOException { |
| 1971 | writeLines(lines, lineEnding, output, Charset.defaultCharset()); |
| 1972 | } |
| 1973 | |
| 1974 | /** |
| 1975 | * Writes the <code>toString()</code> value of each item in a collection to |