bmsi.util
Class DiffPrint.EdPrint

java.lang.Object
  extended by bmsi.util.DiffPrint.Base
      extended by bmsi.util.DiffPrint.EdPrint
Enclosing class:
DiffPrint

public static class DiffPrint.EdPrint
extends DiffPrint.Base

Prints an edit script in a format suitable for input to ed. The edit script must be generated with the reverse option to be useful as actual ed input.


Field Summary
 
Fields inherited from class bmsi.util.DiffPrint.Base
deletes, file0, file1, first0, first1, ignore, inserts, last0, last1, outfile
 
Constructor Summary
DiffPrint.EdPrint(Object[] a, Object[] b)
           
 
Method Summary
protected  void print_hunk(Diff.change hunk)
          Print a hunk of an ed diff
 
Methods inherited from class bmsi.util.DiffPrint.Base
analyze_hunk, change_letter, hunkfun, print_1_line, print_header, print_number_range, print_script, setOutput, setupOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffPrint.EdPrint

public DiffPrint.EdPrint(Object[] a,
                         Object[] b)
Method Detail

print_hunk

protected void print_hunk(Diff.change hunk)
Print a hunk of an ed diff

Specified by:
print_hunk in class DiffPrint.Base


Copyright © 2004-2011. All Rights Reserved.