Reads the ISO-8859-1 encoded string starting at the current stream position and ending at the first occurrence of the LF character. @param in the stream from which the line is read @return the read string, excluding the terminating LF character and (if exists) the CR character immediately p
(InputStream in)
| 2776 | * @see #readToken(InputStream, int, String, int) |
| 2777 | */ |
| 2778 | public static String readLine(InputStream in) throws IOException { |
| 2779 | return readToken(in, '\n', "ISO8859_1", 8192); |
| 2780 | } |
| 2781 | |
| 2782 | /** |
| 2783 | * Reads headers from the given stream. Headers are read according to the |
no test coverage detected