org.apache.subversion.javahl
Class SVNUtil.DiffOptions

java.lang.Object
  extended by org.apache.subversion.javahl.SVNUtil.DiffOptions
Enclosing class:
SVNUtil

public static class SVNUtil.DiffOptions
extends Object

Options to control the behaviour of the file diff routines.


Nested Class Summary
static class SVNUtil.DiffOptions.IgnoreSpace
          To what extent whitespace should be ignored when comparing lines.
 
Field Summary
 int contextSize
           
 boolean ignoreEolStyle
           
 SVNUtil.DiffOptions.IgnoreSpace ignoreSpace
           
 boolean showCFunction
           
 
Constructor Summary
SVNUtil.DiffOptions(SVNUtil.DiffOptions.IgnoreSpace ignoreSpace, boolean ignoreEolStyle, boolean showCFunction)
           
SVNUtil.DiffOptions(SVNUtil.DiffOptions.IgnoreSpace ignoreSpace, boolean ignoreEolStyle, boolean showCFunction, int contextSize)
          Like the #DiffOptions(IgnoreSpace,boolean,boolean), but with an additional parameter.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ignoreSpace

public final SVNUtil.DiffOptions.IgnoreSpace ignoreSpace

ignoreEolStyle

public final boolean ignoreEolStyle

showCFunction

public final boolean showCFunction

contextSize

public final int contextSize
Constructor Detail

SVNUtil.DiffOptions

public SVNUtil.DiffOptions(SVNUtil.DiffOptions.IgnoreSpace ignoreSpace,
                           boolean ignoreEolStyle,
                           boolean showCFunction)
Parameters:
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.

SVNUtil.DiffOptions

public SVNUtil.DiffOptions(SVNUtil.DiffOptions.IgnoreSpace ignoreSpace,
                           boolean ignoreEolStyle,
                           boolean showCFunction,
                           int contextSize)
Like the #DiffOptions(IgnoreSpace,boolean,boolean), but with an additional parameter.

Parameters:
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.