org.afcs.warts.report
Class DataComparisonReport

java.lang.Object
  extended byorg.afcs.warts.report.DataComparisonReport

public final class DataComparisonReport
extends java.lang.Object

The DataComparisonReport class contains methods that generate plain text reports about DataComparison instances.

LICENSE: This code is released to the public domain and may be used for any purpose whatsoever without permission or acknowledgment.

Version:
Last Modified 18 September 2003
Author:
Warren Hedley ( whedley at sdsc dot edu )

Method Summary
static java.lang.String report(DataComparison comparison)
          Returns a string containing a plain text report based on analysis of the specified dataset comparison.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

report

public static java.lang.String report(DataComparison comparison)
Returns a string containing a plain text report based on analysis of the specified dataset comparison. The report contains information about the number of deleted rows, inserted rows, updated rows, and unchanged rows, as well as a breakdown by column of the number of differing values and differing encodings.

Parameters:
comparison - The dataset comparison to report on.
Returns:
A string containing a plain text report based on analysis of the specified dataset comparison.
Throws:
java.lang.NullPointerException - If comparison is null.