当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
DiffControllerProvider (Diff) - NetBeans API Javadoc (Current Development Version)
org.netbeans.spi.diff
Class DiffControllerProvider
java.lang.Object
org.netbeans.spi.diff.DiffControllerProvider
public abstract class DiffControllerProvider
- extends Object
Provider for DiffControllerImpl implemetations. Providers should be registered in default lookup, in META-INF/services folder.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiffControllerProvider
public DiffControllerProvider()
createDiffController
public abstract DiffControllerImpl createDiffController(StreamSource base,
StreamSource modified)
throws IOException
- Creates a Diff Controller for supplied left and right sources.
- Parameters:
base
- defines content of the Base Diff panemodified
- defines content of the Modified (possibly editable) Diff pane
- Returns:
- DiffControllerImpl implementation of the DiffControllerImpl class
- Throws:
IOException
- when initialization of the controlloer fails (invalid sources, etc)