- inputStream.close();
- } catch (IOException ioe1) {
- }
- }
- }
-
- /**
- * Closes the given writer.
- *
- * @param writer
- * The writer to close
- */
- public static void close(Writer writer) {
- if (writer != null) {
- try {
- writer.close();
- } catch (IOException ioe1) {
- }
- }
- }
-
- /**
- * Closes the given reader.
- *
- * @param reader
- * The reader to close
- */
- public static void close(Reader reader) {
- if (reader != null) {
- try {
- reader.close();