public final class EMFComparePrettyPrinter extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static void | printComparison(Comparison comparison,
               PrintStream stream)Prints the whole comparison on the given stream (might be  stream). | 
| static void | printDifferences(Comparison comparison,
                PrintStream stream)Prints all differences detected for the given  comparisonon the givenstream. | 
| static void | printMatch(Comparison comparison,
          PrintStream stream)Prints all the Match elements contained by the given  comparison. | 
public static void printComparison(Comparison comparison, PrintStream stream)
stream).comparison - The comparison we are to print on stream.stream - The PrintStream on which we should print this comparison model.public static void printMatch(Comparison comparison, PrintStream stream)
comparison. Each Match will be displayed
 on its own line.
 
 For example, if the left model has two packages "package1" and "package2", but the right has "package1"
 and "package3", what we will display here depends on the Match : if "left.package1" is matched with
 "right.package1", but "package2" and "package3" did not match, this will print 
 | package1 | package1 |
 | package2 |          |
 |          | package3 |
 
 | package1 | package1 |
 | package2 | package3 |
 
comparison - The comparison which Matched elements we are to print on stream.stream - The PrintStream on which we should print the matched elements of this comparison.public static void printDifferences(Comparison comparison, PrintStream stream)
comparison on the given stream.comparison - The comparison which differences we are to print on stream.stream - The PrintStream on which we should print these differences.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.