public abstract class DiffProvider extends Object
The registered Diff Providers can be obtained via org.openide.util.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 Diff |
computeDiff(Reader r1,
Reader r2)
Create the differences of the content two streams.
|
public abstract Diff computeDiff(Reader r1, Reader r2) throws IOException
r1 - the first sourcer2 - the second source to be compared with the first one.Difference;IOException - when the reading from input streams fails.Copyright © 2011–2019. All rights reserved.