MCPcopy Create free account
hub / github.com/antlr/codebuff / toStringBuilder

Method toStringBuilder

output/java_guava/1.4.17/CharStreams.java:109–113  ·  view source on GitHub ↗

Reads all characters from a Readable object into a new StringBuilder instance. Does not close the Readable. @param r the object to read from @return a StringBuilder containing all the characters @throws IOException if an I/O error occurs

(Readable r)

Source from the content-addressed store, hash-verified

107 */
108
109 private static StringBuilder toStringBuilder(Readable r) throws IOException {
110 StringBuilder sb = new StringBuilder();
111 copy(r, sb);
112 return sb;
113 }
114
115 /**
116 * Reads all of the lines from a {@link Readable} object. The lines do not include

Callers 1

toStringMethod · 0.95

Calls 1

copyMethod · 0.95

Tested by

no test coverage detected