org.outerj.daisy.diff
Class Diff

java.lang.Object
  extended by org.outerj.daisy.diff.Diff

public class Diff
extends java.lang.Object


Method Summary
static void diff(java.lang.String text1, java.lang.String text2, DiffOutput output, int contextLineCount)
          Diffs two texts, outputting the result to the specified DiffOutput instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

diff

public static void diff(java.lang.String text1,
                        java.lang.String text2,
                        DiffOutput output,
                        int contextLineCount)
                 throws java.lang.Exception
Diffs two texts, outputting the result to the specified DiffOutput instance.

Parameters:
contextLineCount - specify -1 to include complete text
Throws:
java.lang.Exception - the differencing itself should normally not throw exceptions, but the methods on DiffOutput can.


Copyright © -2012 . All Rights Reserved.