public void close ( ) throws DiffException { try { if ( writer != null ) { writer . flush ( ) ; writer . close ( ) ; } } catch ( IOException e ) { throw new DiffException ( "Failed to close report file" , e ) ; } }
Close the file report instance and it s underlying writer