MCPcopy
hub / github.com/google/guava / openBufferedStream

Method openBufferedStream

guava/src/com/google/common/io/CharSource.java:124–129  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Callers 3

linesMethod · 0.95
readFirstLineMethod · 0.95
readLinesMethod · 0.95

Calls 1

openStreamMethod · 0.95

Tested by

no test coverage detected