|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.diff.EditListWriter
com.starteam.diff.HTMLDiffWriter
com.starteam.diff.HTMLTableDiffWriter
public abstract class HTMLTableDiffWriter
Shared implementation for HTMLInterleavedDiffWriter and HTMLStereoDiffWriter.
| Field Summary |
|---|
| Fields inherited from class com.starteam.diff.HTMLDiffWriter |
|---|
DEFAULT_SPACES_PER_TAB |
| Method Summary | |
|---|---|
void |
deleteLines(int sourceStart,
int targetStart,
int length)
called when lines are deleted |
void |
insertLines(int sourceStart,
int targetStart,
int length)
called when lines are inserted |
void |
replaceLines(int sourcePos,
int sourceLen,
int targetPos,
int targetLen)
Called when lines in the source are replaced by lines in the target. |
void |
unchangedLines(int sourceStart,
int targetStart,
int length)
HTML Line template parameters: 0: NavLinks 1: ChangeType 2: UNUSED (was: Left Cell CSS) 3: UNUSED (was: Left Text Span CSS) 4: Left Linenum 5: Left Text 6: UNUSED (was: Right Cell CSS) 7: UNUSED (was: Right Text Span CSS) 8: Right Linenum 9: Right Text 10: Left Linenum Cell CSS 11: Left Linenum CSS 12: Right Linenum Cell CSS 13: Right Linenum CSS When an original line from the source carries over into the rebuilt output |
| Methods inherited from class com.starteam.diff.EditListWriter |
|---|
write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void unchangedLines(int sourceStart,
int targetStart,
int length)
throws java.io.IOException
unchangedLines in class HTMLDiffWritersourceStart - the start line in the sourcetargetStart - the start line in the targetlength - the length of lines to leave unchanged
java.io.IOException - an exception on failure
public void insertLines(int sourceStart,
int targetStart,
int length)
throws java.io.IOException
insertLines in class HTMLDiffWritersourceStart - the start line in the sourcetargetStart - the start line in the targetlength - the number of lines to insert
java.io.IOException - an exception on failure
public void deleteLines(int sourceStart,
int targetStart,
int length)
throws java.io.IOException
deleteLines in class HTMLDiffWritersourceStart - the start line in the sourcetargetStart - the start line in the targetlength - the number of lines to delete
java.io.IOException - an exception on failure
public void replaceLines(int sourcePos,
int sourceLen,
int targetPos,
int targetLen)
throws java.io.IOException
replaceLines in class HTMLDiffWritersourcePos - the start line in the sourcesourceLen - the length of the sourcetargetPos - the start line in the targettargetLen - the length of the target
java.io.IOException - an exception on failure
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||