private static void closeStreams ( InputStream src , OutputStream dest ) { try { src . close ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } try { dest . close ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
Closes the streams and reports Exceptions to System . err