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)
| 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. |
no test coverage detected