public abstract class DiffProvider extends Object
The registered Diff Providers can be obtained via Lookup
(e.g. you can get the default diff provider by
Lookup.getDefault().lookup(DiffProvider.class)
)
Constructor and Description |
---|
DiffProvider() |
Modifier and Type | Method and Description |
---|---|
abstract Difference[] |
computeDiff(Reader r1,
Reader r2)
Create the differences of the content two streams.
|
public abstract Difference[] computeDiff(Reader r1, Reader r2) throws IOException
r1
- 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.