public static class SVNUtil.DiffOptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SVNUtil.DiffOptions.IgnoreSpace
To what extent whitespace should be ignored when comparing lines.
|
Modifier and Type | Field and Description |
---|---|
int |
contextSize |
boolean |
ignoreEolStyle |
SVNUtil.DiffOptions.IgnoreSpace |
ignoreSpace |
boolean |
showCFunction |
Constructor and Description |
---|
DiffOptions(SVNUtil.DiffOptions.IgnoreSpace ignoreSpace,
boolean ignoreEolStyle,
boolean showCFunction) |
DiffOptions(SVNUtil.DiffOptions.IgnoreSpace ignoreSpace,
boolean ignoreEolStyle,
boolean showCFunction,
int contextSize)
Like the
#DiffOptions(IgnoreSpace,boolean,boolean) ,
but with an additional parameter. |
public final SVNUtil.DiffOptions.IgnoreSpace ignoreSpace
public final boolean ignoreEolStyle
public final boolean showCFunction
public final int contextSize
public DiffOptions(SVNUtil.DiffOptions.IgnoreSpace ignoreSpace, boolean ignoreEolStyle, boolean showCFunction)
ignoreSpace
- Whether and how to ignore space differences
in the files. The default is SVNUtil.DiffOptions.IgnoreSpace.none
.ignoreEolStyle
- Whether to treat all end-of-line
markers the same when comparing lines. The default
is false
.showCFunction
- Whether the "@@" lines of the unified
diff output should include a prefix of the nearest
preceding line that starts with a character that
might be the initial character of a C language
identifier. The default is false
.public DiffOptions(SVNUtil.DiffOptions.IgnoreSpace ignoreSpace, boolean ignoreEolStyle, boolean showCFunction, int contextSize)
#DiffOptions(IgnoreSpace,boolean,boolean)
,
but with an additional parameter.contextSize
- If this is greater than 0, then this
number of context lines will be used in the generated diff
output. Otherwise the legacy compile time default will be
used.