|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cloudbees.diff.provider.DiffProvider
com.cloudbees.diff.provider.BuiltInDiffProvider
public class BuiltInDiffProvider
| Constructor Summary | |
|---|---|
BuiltInDiffProvider()
Creates a new instance of BuiltInDiffProvider |
|
| Method Summary | |
|---|---|
Diff |
computeDiff(Reader r1,
Reader r2)
Create the differences of the content two streams. |
boolean |
isTrimLines()
On true all lines are trimmed before passing to diff engine. |
void |
setTrimLines(boolean trimLines)
Setter for property trimLines. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuiltInDiffProvider()
| Method Detail |
|---|
public Diff computeDiff(Reader r1,
Reader r2)
throws IOException
computeDiff in class DiffProviderr1 - the first sourcer2 - the second source to be compared with the first one.
Difference;
or null when some error occured.
IOException - when the reading from input streams fails.public boolean isTrimLines()
public void setTrimLines(boolean trimLines)
trimLines - New value of property trimLines.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||