@ThreadSafe public final class ReaderX extends Object
| Modifier and Type | Method and Description |
|---|---|
static Appendable |
appendTo(Appendable a,
Reader in)
Appends the entire input stream to the specified appendable.
|
static void |
runClose(Reader in)
Same as in.close() but throws only runtime exceptions.
|
static IOException |
tryClose(Reader in)
Same as in.close() but throws no exceptions.
|
public static Appendable appendTo(Appendable a, Reader in) throws IOException
IOExceptionpublic static void runClose(Reader in)
RuntimeException - if IOException occurspublic static IOException tryClose(Reader in)