|
|||||||||
| 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
com.starteam.diff.HTMLStereoDiffWriter
public class HTMLStereoDiffWriter
Writes a simple HTML page showing the differences between two text files.
| Field Summary |
|---|
| Fields inherited from class com.starteam.diff.HTMLDiffWriter |
|---|
DEFAULT_SPACES_PER_TAB |
| Constructor Summary | |
|---|---|
HTMLStereoDiffWriter(ParsedCharSequence source,
ParsedCharSequence target,
java.io.File output)
Constructs a side-by-side HTMLDiffWriter, writing output to the specified file. |
|
HTMLStereoDiffWriter(ParsedCharSequence source,
ParsedCharSequence target,
java.io.Writer output)
Constructs a side-by-side HTMLDiffWriter, writing output to the specified Writer. |
|
| Method Summary | |
|---|---|
static void |
diff(java.io.File source,
java.io.File target,
DiffCompare compare,
java.io.File output)
Compares two text files, and generates an HTML file describing the differences. |
static void |
diff(java.io.File source,
java.io.File target,
java.io.File output)
Compares two text files, and generates an HTML file describing the differences. |
static void |
diff(java.io.File source,
java.io.File target,
int compareFlags,
java.io.File output)
Compares two text files, and generates an HTML file describing the differences. |
| Methods inherited from class com.starteam.diff.HTMLTableDiffWriter |
|---|
deleteLines, insertLines, replaceLines, unchangedLines |
| 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 |
| Constructor Detail |
|---|
public HTMLStereoDiffWriter(ParsedCharSequence source,
ParsedCharSequence target,
java.io.File output)
throws java.io.IOException
source - A parsed representation of the source text file.target - A parsed representation of the target text file.output - The output file to generate.
java.io.IOExceptionParsedCharSequence
public HTMLStereoDiffWriter(ParsedCharSequence source,
ParsedCharSequence target,
java.io.Writer output)
source - A parsed representation of the source text file.target - A parsed representation of the target text file.output - The output stream.ParsedCharSequence| Method Detail |
|---|
public static void diff(java.io.File source,
java.io.File target,
java.io.File output)
throws java.io.FileNotFoundException,
java.io.IOException,
DiffException
Uses a default text comparison algorithm: leading and trailing whitespace is ignored, and sequential whitespace characters within a line are treated as equivalent to a single space character.
source - The source text file.target - The target text file.output - The output file to generate.
java.io.FileNotFoundException
java.io.IOException
DiffException
public static void diff(java.io.File source,
java.io.File target,
int compareFlags,
java.io.File output)
throws java.io.FileNotFoundException,
java.io.IOException,
DiffException
source - The source text file.target - The target text file.compareFlags - Flags that define the text comparison algorithm.output - The output file to generate.
java.io.FileNotFoundException
java.io.IOException
DiffExceptionBasicCompare
public static void diff(java.io.File source,
java.io.File target,
DiffCompare compare,
java.io.File output)
throws java.io.FileNotFoundException,
java.io.IOException,
DiffException
source - The source text file.target - The target text file.compare - Text comparison algorithm.output - The output file to generate.
java.io.FileNotFoundException
java.io.IOException
DiffExceptionDiffCompare
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||