private static void closeStreams( InputStream src, OutputStream dest )
    {
        try
        {
            src.close();
        }
        catch( IOException e )
        {
            e.printStackTrace();
        }

        try
        {
            dest.close();
        }
        catch( IOException e )
        {
            e.printStackTrace();
        }
    }
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

@param src  The InputStream to close.
@param dest The OutputStream to close.