org.tmatesoft.svn.core.wc
Class SVNDiffOptions
public class SVNDiffOptions
The SVNDiffOptions class is used to contain some rules for controlling the
result of comparing two files. Such rules are used in diff/merge/annotate operations
when it's necessary to say whether a file should be or should not be considered as
changed.
SVNDiffOptions()- Creates a new diff options object.
|
SVNDiffOptions(boolean ignoreAllWhitespace, boolean ignoreAmountOfWhiteSpace, boolean ignoreEOLStyle)- Creates a new diff options object.
|
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.
|
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.
|
SVNDiffOptions
public SVNDiffOptions()
Creates a new diff options object.
Equivalent to SVNDiffOptions(false, false, false).
SVNDiffOptions
public SVNDiffOptions(boolean ignoreAllWhitespace,
boolean ignoreAmountOfWhiteSpace,
boolean ignoreEOLStyle) Creates a new diff options object.
ignoreAllWhitespace - controls whether whitespace differences must be ignoredignoreAmountOfWhiteSpace - controls whether number of whitespaces must be ignoredignoreEOLStyle - controls whether eol-marker differences must be ignored
isIgnoreAllWhitespace
public boolean isIgnoreAllWhitespace()
Says whether all whitespaces must be ignored while comparing files.
- true if ignored, otherwise
false
isIgnoreAmountOfWhitespace
public boolean isIgnoreAmountOfWhitespace()
Says whether amont of whitespaces must be ignored while comparing files.
- true if ignored, otherwise
false
isIgnoreEOLStyle
public boolean isIgnoreEOLStyle()
Says whether eol style must be ignored while comparing files.
- true if ignored, otherwise
false
setIgnoreAllWhitespace
public void setIgnoreAllWhitespace(boolean isIgnoreAllWhitespace)
Sets whether all whitespaces must be ignored while comparing files.
isIgnoreAllWhitespace - controls whether whitespaces are to
be ignored
setIgnoreAmountOfWhitespace
public void setIgnoreAmountOfWhitespace(boolean isIgnoreAmountOfWhitespace)
Sets whether number of whitespaces must be ignored while comparing files.
isIgnoreAmountOfWhitespace - controls whether number of whitespaces is
to be ignored
setIgnoreEOLStyle
public void setIgnoreEOLStyle(boolean isIgnoreEOLStyle)
Sets whether eol style must be ignored while comparing files.
isIgnoreEOLStyle - controls whether eol style is
to be ignored
Copyright © 2004-2006 TMate Software Ltd. All Rights Reserved.