org.outerj.daisy.diff
Class TextDiffOutput

java.lang.Object
  extended byorg.outerj.daisy.diff.TextDiffOutput
All Implemented Interfaces:
DiffOutput

public class TextDiffOutput
extends java.lang.Object
implements DiffOutput


Constructor Summary
TextDiffOutput(java.io.Writer writer, boolean markLines)
           
TextDiffOutput(java.io.Writer writer, boolean markLines, java.util.Locale locale)
           
 
Method Summary
 void addChangedText(java.lang.String text)
           
 void addUnchangedText(java.lang.String text)
           
 void endLine()
           
 void skippedLines(int linesSkipped)
           
 void startLine(DiffLineType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextDiffOutput

public TextDiffOutput(java.io.Writer writer,
                      boolean markLines)

TextDiffOutput

public TextDiffOutput(java.io.Writer writer,
                      boolean markLines,
                      java.util.Locale locale)
Method Detail

startLine

public void startLine(DiffLineType type)
               throws java.lang.Exception
Specified by:
startLine in interface DiffOutput
Throws:
java.lang.Exception

addUnchangedText

public void addUnchangedText(java.lang.String text)
                      throws java.lang.Exception
Specified by:
addUnchangedText in interface DiffOutput
Throws:
java.lang.Exception

addChangedText

public void addChangedText(java.lang.String text)
                    throws java.lang.Exception
Specified by:
addChangedText in interface DiffOutput
Throws:
java.lang.Exception

endLine

public void endLine()
             throws java.lang.Exception
Specified by:
endLine in interface DiffOutput
Throws:
java.lang.Exception

skippedLines

public void skippedLines(int linesSkipped)
                  throws java.lang.Exception
Specified by:
skippedLines in interface DiffOutput
Throws:
java.lang.Exception


Copyright © -2005 . All Rights Reserved.