public class SVNDiffOptions
extends java.lang.Object
Constructor and Description |
---|
SVNDiffOptions()
Creates a new diff options object.
|
SVNDiffOptions(boolean ignoreAllWhitespace,
boolean ignoreAmountOfWhiteSpace,
boolean ignoreEOLStyle)
Creates a new diff options object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isIgnoreAllWhitespace()
Says whether all whitespaces must be ignored while comparing files.
|
boolean |
isIgnoreAmountOfWhitespace()
Says whether amont of whitespaces must be ignored while comparing files.
|
boolean |
isIgnoreEOLStyle()
Says whether eol style must be ignored while comparing files.
|
boolean |
isShowCFunction()
NOTE: not supported currently
|
void |
setIgnoreAllWhitespace(boolean isIgnoreAllWhitespace)
Sets whether all whitespaces must be ignored while comparing files.
|
void |
setIgnoreAmountOfWhitespace(boolean isIgnoreAmountOfWhitespace)
Sets whether number of whitespaces must be ignored while comparing files.
|
void |
setIgnoreEOLStyle(boolean isIgnoreEOLStyle)
Sets whether eol style must be ignored while comparing files.
|
void |
setShowCFunction(boolean showCFunction)
NOTE: not supported currently
|
java.util.Collection |
toOptionsCollection()
Returns a collection containing diff options as
String object. |
public SVNDiffOptions()
SVNDiffOptions(false, false, false)
.public SVNDiffOptions(boolean ignoreAllWhitespace, boolean ignoreAmountOfWhiteSpace, boolean ignoreEOLStyle)
ignoreAllWhitespace
- controls whether whitespace differences must be ignoredignoreAmountOfWhiteSpace
- controls whether number of whitespaces must be ignoredignoreEOLStyle
- controls whether eol-marker differences must be ignoredpublic boolean isIgnoreAllWhitespace()
public void setIgnoreAllWhitespace(boolean isIgnoreAllWhitespace)
isIgnoreAllWhitespace
- controls whether whitespaces are to
be ignoredpublic boolean isIgnoreAmountOfWhitespace()
public void setIgnoreAmountOfWhitespace(boolean isIgnoreAmountOfWhitespace)
isIgnoreAmountOfWhitespace
- controls whether number of whitespaces is
to be ignoredpublic boolean isIgnoreEOLStyle()
public void setIgnoreEOLStyle(boolean isIgnoreEOLStyle)
isIgnoreEOLStyle
- controls whether eol style is
to be ignoredpublic boolean isShowCFunction()
public void setShowCFunction(boolean showCFunction)
public java.util.Collection toOptionsCollection()
String
object.
If isIgnoreAllWhitespace()
is true,
"-w" is added to the result.
If isIgnoreAmountOfWhitespace()
is true,
"-b" is added to the result.
If isIgnoreEOLStyle()
is true,
"--ignore-eol-style" is added to the result.String
representations of diff optionsCopyright © 2004-2012 TMate Software Ltd. All Rights Reserved.