|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface I_DiffOutput
A DiffOutput instance must be provided to the Diff to handle
the result of the diff process.
| Method Summary | |
|---|---|
void |
addChangedText(java.lang.String text)
Adds some changed text to this output. |
void |
addUnchangedText(java.lang.String text)
Adds some unchanged text to this output. |
void |
endLine()
Ends the current output line. |
void |
skippedLines(int linesSkipped)
Adds an indicator that some lines have been skipped. |
void |
startLine(DiffLineType type)
Starts a new line of the given type. |
| Method Detail |
|---|
void addChangedText(java.lang.String text)
throws java.lang.Exception
text - the changed text to add
java.lang.Exception - in case something goes wrong
void addUnchangedText(java.lang.String text)
throws java.lang.Exception
text - the unchanged text to add
java.lang.Exception - in case something goes wrong
void endLine()
throws java.lang.Exception
java.lang.Exception - in case something goes wrong
void skippedLines(int linesSkipped)
throws java.lang.Exception
linesSkipped - the number of skipped lines
java.lang.Exception - in case something goes wrong
void startLine(DiffLineType type)
throws java.lang.Exception
type - the type of line to add
java.lang.Exception - in case something goes wrong
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||