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

Method toString

output/java_guava/1.4.16/CharStreams.java:96–98  ·  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

94
95
96 public static String toString(Readable r) throws IOException {
97 return toStringBuilder(r).toString();
98 }
99
100 /**
101 * 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