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

Method toString

corpus/java/training/guava/io/CharStreams.java:92–94  ·  view source on GitHub ↗

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

(Readable r)

Source from the content-addressed store, hash-verified

90 * @throws IOException if an I/O error occurs
91 */
92 public static String toString(Readable r) throws IOException {
93 return toStringBuilder(r).toString();
94 }
95
96 /**
97 * Reads all characters from a {@link Readable} object into a new {@link StringBuilder} instance.

Callers 1

readMethod · 0.95

Calls 2

toStringBuilderMethod · 0.95
toStringMethod · 0.65

Tested by

no test coverage detected