|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.diff.StarTeamMerge
| Method Summary | |
static boolean |
merge(java.io.File mine,
java.io.File common,
java.io.File yours,
DiffCompare compare,
java.io.File output,
java.lang.String mineLabel,
java.lang.String commonLabel,
java.lang.String yoursLabel,
boolean showFromCommon,
boolean overlapOnly)
Performs a three-way merge of two text files and their common ancestor. |
static boolean |
merge(java.io.File mine,
java.io.File common,
java.io.File yours,
DiffCompare compare,
java.io.OutputStream output,
java.lang.String mineLabel,
java.lang.String commonLabel,
java.lang.String yoursLabel,
boolean showFromCommon,
boolean overlapOnly)
Performs a three-way merge of two text files and their common ancestor. |
static boolean |
merge(java.io.File mine,
java.io.File common,
java.io.File yours,
DiffCompare compare,
java.io.OutputStream output,
java.lang.String mineLabel,
java.lang.String commonLabel,
java.lang.String yoursLabel,
boolean showFromCommon,
boolean overlapOnly,
java.lang.String eol)
Performs a three-way merge of two text files and their common ancestor. |
static boolean |
merge(java.io.File mine,
java.lang.String mineEncoding,
java.io.File common,
java.lang.String commonEncoding,
java.io.File yours,
java.lang.String yoursEncoding,
DiffCompare compare,
java.io.OutputStream output,
java.lang.String outputEncoding,
java.lang.String mineLabel,
java.lang.String commonLabel,
java.lang.String yoursLabel,
boolean showFromCommon,
boolean overlapOnly,
java.lang.String eol)
Performs a three-way merge of two text files and their common ancestor. |
static boolean |
mergeToFile(java.io.File mine,
java.io.File common,
java.io.File yours,
DiffCompare compare,
java.io.File output,
java.lang.String mineLabel,
java.lang.String commonLabel,
java.lang.String yoursLabel,
boolean showFromCommon,
boolean overlapOnly,
java.lang.String eol)
Performs a three-way merge of two text files and their common ancestor. |
static boolean |
mergeToFile(java.io.File mine,
java.lang.String mineEncoding,
java.io.File common,
java.lang.String commonEncoding,
java.io.File yours,
java.lang.String yoursEncoding,
DiffCompare compare,
java.io.File output,
java.lang.String outputEncoding,
java.lang.String mineLabel,
java.lang.String commonLabel,
java.lang.String yoursLabel,
boolean showFromCommon,
boolean overlapOnly,
java.lang.String eol)
Performs a three-way merge of two text files and their common ancestor. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static boolean merge(java.io.File mine,
java.io.File common,
java.io.File yours,
DiffCompare compare,
java.io.File output,
java.lang.String mineLabel,
java.lang.String commonLabel,
java.lang.String yoursLabel,
boolean showFromCommon,
boolean overlapOnly)
throws java.io.IOException,
DiffException
mine - The first file to be merged.common - The common ancestor of the two files to be merged.yours - The second file to be merged.compare - the method by which lines are compared for equality when
computing changes between two filesoutput - The output file where the merged results are written.mineLabel - A label to be used to identify the first file in the markup text.commonLabel - A label to be used to identify the common ancestor in the markup text.yoursLabel - A label to be used to identify the second file in the markup text.showFromCommon - if true output will include changed lines from the common file. Typically you'll set this to false.overlapOnly - if true, do not output information for non-overlapping changes. Typically you'll set this to false.
java.io.IOException
DiffException
public static boolean mergeToFile(java.io.File mine,
java.io.File common,
java.io.File yours,
DiffCompare compare,
java.io.File output,
java.lang.String mineLabel,
java.lang.String commonLabel,
java.lang.String yoursLabel,
boolean showFromCommon,
boolean overlapOnly,
java.lang.String eol)
throws java.io.IOException,
DiffException
mine - The first file to be merged.common - The common ancestor of the two files to be merged.yours - The second file to be merged.compare - the method by which lines are compared for equality when
computing changes between two filesoutput - The output file where the merged results are written.mineLabel - A label to be used to identify the first file in the markup text.commonLabel - A label to be used to identify the common ancestor in the markup text.yoursLabel - A label to be used to identify the second file in the markup text.showFromCommon - if true output will include changed lines from the common file. Typically you'll set this to false.overlapOnly - if true, do not output information for non-overlapping changes. Typically you'll set this to false.eol - the end-of-line sequence to use in the output
java.io.IOException
DiffException
public static boolean mergeToFile(java.io.File mine,
java.lang.String mineEncoding,
java.io.File common,
java.lang.String commonEncoding,
java.io.File yours,
java.lang.String yoursEncoding,
DiffCompare compare,
java.io.File output,
java.lang.String outputEncoding,
java.lang.String mineLabel,
java.lang.String commonLabel,
java.lang.String yoursLabel,
boolean showFromCommon,
boolean overlapOnly,
java.lang.String eol)
throws java.io.IOException,
DiffException
mine - The first file to be merged.mineEncoding - The first file's encoding.common - The common ancestor of the two files to be merged.commonEncoding - The common file's encoding.yours - The second file to be merged.yoursEncoding - The second file's encoding.compare - the method by which lines are compared for equality when
computing changes between two filesoutput - The output file where the merged results are written.outputEncoding - The output file's encoding.mineLabel - A label to be used to identify the first file in the markup text.commonLabel - A label to be used to identify the common ancestor in the markup text.yoursLabel - A label to be used to identify the second file in the markup text.showFromCommon - if true output will include changed lines from the common file. Typically you'll set this to false.overlapOnly - if true, do not output information for non-overlapping changes. Typically you'll set this to false.eol - the end-of-line sequence to use in the output
java.io.IOException
DiffException
public static boolean merge(java.io.File mine,
java.io.File common,
java.io.File yours,
DiffCompare compare,
java.io.OutputStream output,
java.lang.String mineLabel,
java.lang.String commonLabel,
java.lang.String yoursLabel,
boolean showFromCommon,
boolean overlapOnly)
throws java.io.IOException,
DiffException
mine - The first file to be merged.common - The common ancestor of the two files to be merged.yours - The second file to be merged.compare - the method by which lines are compared for equality when
computing changes between two filesoutput - The output stream where the merged results are written.mineLabel - A label to be used to identify the first file in the markup text.commonLabel - A label to be used to identify the common ancestor in the markup text.yoursLabel - A label to be used to identify the second file in the markup text.showFromCommon - if true output will include changed lines from the common file. Typically you'll set this to false.overlapOnly - if true, do not output information for non-overlapping diffs. Typically you'll set this to false.
java.io.IOException
DiffException
public static boolean merge(java.io.File mine,
java.io.File common,
java.io.File yours,
DiffCompare compare,
java.io.OutputStream output,
java.lang.String mineLabel,
java.lang.String commonLabel,
java.lang.String yoursLabel,
boolean showFromCommon,
boolean overlapOnly,
java.lang.String eol)
throws java.io.IOException,
DiffException
mine - The first file to be merged.common - The common ancestor of the two files to be merged.yours - The second file to be merged.compare - the method by which lines are compared for equality when
computing changes between two filesoutput - The output stream where the merged results are written.mineLabel - A label to be used to identify the first file in the markup text.commonLabel - A label to be used to identify the common ancestor in the markup text.yoursLabel - A label to be used to identify the second file in the markup text.showFromCommon - if true output will include changed lines from the common file. Typically you'll set this to false.overlapOnly - if true, do not output information for non-overlapping diffs. Typically you'll set this to false.eol - the end-of-line sequence to use in the output
java.io.IOException
DiffException
public static boolean merge(java.io.File mine,
java.lang.String mineEncoding,
java.io.File common,
java.lang.String commonEncoding,
java.io.File yours,
java.lang.String yoursEncoding,
DiffCompare compare,
java.io.OutputStream output,
java.lang.String outputEncoding,
java.lang.String mineLabel,
java.lang.String commonLabel,
java.lang.String yoursLabel,
boolean showFromCommon,
boolean overlapOnly,
java.lang.String eol)
throws java.io.IOException,
DiffException
mine - The first file to be merged.mineEncoding - The first file's encoding.common - The common ancestor of the two files to be merged.commonEncoding - The common file's encoding.yours - The second file to be merged.yoursEncoding - The second file's encoding.compare - the method by which lines are compared for equality when
computing changes between two filesoutput - The output stream where the merged results are written.outputEncoding - The output file's encoding.mineLabel - A label to be used to identify the first file in the markup text.commonLabel - A label to be used to identify the common ancestor in the markup text.yoursLabel - A label to be used to identify the second file in the markup text.showFromCommon - if true output will include changed lines from the common file. Typically you'll set this to false.overlapOnly - if true, do not output information for non-overlapping diffs. Typically you'll set this to false.eol - the end-of-line sequence to use in the output
java.io.IOException
DiffException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||