MCPcopy Index your code
hub / github.com/antlr/codebuff / openBufferedStream

Method openBufferedStream

output/java_guava/1.4.17/CharSource.java:113–118  ·  view source on GitHub ↗

Opens a new BufferedReader for reading from this source. This method should return 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 in the process of opening the reader

()

Source from the content-addressed store, hash-verified

111
112
113 public BufferedReader openBufferedStream() throws IOException {
114 Reader reader = openStream();
115 return (reader instanceof BufferedReader)
116 ? (BufferedReader) reader
117 : new BufferedReader(reader);
118 }
119
120 /**
121 * Returns the size of this source in chars, if the size can be easily determined without actually

Callers 2

readFirstLineMethod · 0.95
readLinesMethod · 0.95

Calls 1

openStreamMethod · 0.95

Tested by

no test coverage detected