| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
java.util.Observable
      
oracle.ide.quickdiff.QuickDiffReference
public abstract class QuickDiffReference
Class that supplies comparable reference data to a Quick Diff margin, and sends notifications for changes to the reference state.
| Nested Class Summary | |
|---|---|
 class | 
QuickDiffReference.DefaultNodeListener | 
| Constructor Summary | |
|---|---|
protected | 
QuickDiffReference(java.net.URL url)Constructor.  | 
| Method Summary | |
|---|---|
protected  oracle.javatools.compare.algorithm.text.TextCompareContributor | 
createCompareContributor()Creates the TextCompareContributor for the compare operation to be performed by the Quick Diff margin. | 
protected  NodeListener | 
createNodeListener()Creates a QuickDiffReference.DefaultNodeListener for observing the Node associated with the reference URL. | 
 void | 
dispose()Disposes of all transient reference data and detaches all listeners for the observable state.  | 
protected  void | 
doNotifyObservers()Performs notification of a reference state change to the Quick Diff margin, first clearing any locally cached compare contributor state.  | 
 oracle.javatools.compare.algorithm.text.TextCompareContributor | 
getCompareContributor()Gets the TextCompareContributor for the compare operation to be performed by the Quick Diff margin. | 
protected  Node | 
getNode()Gets the Node associated with the reference URL. | 
abstract  java.io.InputStream | 
openInputStream()Opens an InputStream onto the reference file. | 
| Methods inherited from class java.util.Observable | 
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
protected QuickDiffReference(java.net.URL url)
createNodeListener() produces a non-null result, the listener is added to the node and will be removed in dispose().
url - the reference URL.| Method Detail | 
|---|
protected NodeListener createNodeListener()
QuickDiffReference.DefaultNodeListener for observing the Node associated with the reference URL. By default, returns null.QuickDiffReference.DefaultNodeListener.protected final Node getNode()
Node associated with the reference URL.Node instance, if any, or null.
public final oracle.javatools.compare.algorithm.text.TextCompareContributor getCompareContributor()
                                                                                           throws java.lang.Exception
TextCompareContributor for the compare operation to be performed by the Quick Diff margin. This method cannot be overridden and may return locally cached contributor instance.TextCompareContributor.java.lang.Exception - if an I/O or process exception occurs.
protected oracle.javatools.compare.algorithm.text.TextCompareContributor createCompareContributor()
                                                                                           throws java.lang.Exception
TextCompareContributor for the compare operation to be performed by the Quick Diff margin. This method must return a new contributor instance based on the latest state of the reference.TextCompareContributor.java.lang.Exception - if an I/O or process exception occurs.
public abstract java.io.InputStream openInputStream()
                                             throws java.io.IOException
InputStream onto the reference file.InputStreamjava.io.IOException - if an I/O exception occurs.public void dispose()
protected void doNotifyObservers()
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||