public class BuiltInDiffProvider extends DiffProvider implements Serializable
| Constructor and Description |
|---|
BuiltInDiffProvider()
Creates a new instance of BuiltInDiffProvider
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public BuiltInDiffProvider()
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.Copyright © 2011–2019. All rights reserved.