站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

DiffControllerProvider (Diff) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.diff/1 1.18.0 42

org.netbeans.spi.diff
Class DiffControllerProvider

java.lang.Object
  extended by 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.


Constructor Summary
DiffControllerProvider()
           
 
Method Summary
abstract  DiffControllerImpl createDiffController(StreamSource base, StreamSource modified)
          Creates a Diff Controller for supplied left and right sources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffControllerProvider

public DiffControllerProvider()
Method Detail

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 pane
modified - 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)

org.netbeans.modules.diff/1 1.18.0 42

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.