JLibDiff
Class DiffTextPrinter

java.lang.Object
  |
  +--JLibDiff.HunkVisitor
        |
        +--JLibDiff.DiffTextPrinter

public class DiffTextPrinter
extends HunkVisitor

Title: $FileName: DiffTextPrinter.java$

Version:
$VerNum: 5$ $KeyWordsOff: $

Prints diff text to a stream
Author:
$AuthorName: Rob MacGrogan$

Field Summary
private  java.io.PrintStream out
           
 
Constructor Summary
DiffTextPrinter(java.io.PrintStream out)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void visitHunkAdd(HunkAdd hunk)
           
 void visitHunkChange(HunkChange hunk)
           
 void visitHunkDel(HunkDel hunk)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

private java.io.PrintStream out
Constructor Detail

DiffTextPrinter

public DiffTextPrinter(java.io.PrintStream out)
Method Detail

visitHunkAdd

public void visitHunkAdd(HunkAdd hunk)
Overrides:
visitHunkAdd in class HunkVisitor
See Also:
HunkVisitor.visitHunkAdd(HunkAdd)

visitHunkChange

public void visitHunkChange(HunkChange hunk)
Overrides:
visitHunkChange in class HunkVisitor
See Also:
HunkVisitor.visitHunkChange(HunkChange)

visitHunkDel

public void visitHunkDel(HunkDel hunk)
Overrides:
visitHunkDel in class HunkVisitor
See Also:
HunkVisitor.visitHunkDel(HunkDel)

main

public static void main(java.lang.String[] args)


Copyright 2003 Soucejammer project.