Opens a new BufferedReader for reading from this source. This method returns a new, independent reader each time it is called. The caller is responsible for ensuring that the returned reader is closed. @throws IOException if an I/O error occurs while of opening the reader
()
| 122 | * @throws IOException if an I/O error occurs while of opening the reader |
| 123 | */ |
| 124 | public BufferedReader openBufferedStream() throws IOException { |
| 125 | Reader reader = openStream(); |
| 126 | return (reader instanceof BufferedReader) |
| 127 | ? (BufferedReader) reader |
| 128 | : new BufferedReader(reader); |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * Opens a new {@link Stream} for reading text one line at a time from this source. This method |
no test coverage detected