Closes an Reader unconditionally. Equivalent to Reader#close(), except any exceptions will be ignored. This is typically used in finally blocks. Example code: char[] data = new char[1024]; Reader in = null; try { in = new FileReader("foo.txt"); in
(final Reader input)
| 217 | * @see Throwable#addSuppressed(java.lang.Throwable) |
| 218 | */ |
| 219 | @Deprecated |
| 220 | public static void closeQuietly(final Reader input) { |
| 221 | closeQuietly((Closeable) input); |
| 222 | } |
| 223 | |
| 224 | /** |
| 225 | * Closes an <code>Writer</code> unconditionally. |