oracle.jdeveloper.compare
Class BinaryCompareContributor
java.lang.Object
oracle.javatools.compare.CompareContributor
oracle.jdeveloper.compare.BinaryCompareContributor
- All Implemented Interfaces:
- IdeCompareContributor
public final class BinaryCompareContributor
- extends CompareContributor
- implements IdeCompareContributor
- Since:
- 11.1.1.1.0 (Bulldog)
Method Summary |
protected Node |
getContextNode()
|
java.lang.String |
getFileName()
|
java.io.InputStream |
getInputStream()
|
Node |
getNode()
Gets the primary node instance associated with the compare contributor. |
void |
setContextNode(Node contextNode)
Allows the contextual node of the compare contributor to be set by the
internals of the compare framework when algorithms are executed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinaryCompareContributor
public BinaryCompareContributor(java.net.URL url)
throws java.io.IOException
- Throws:
java.io.IOException
BinaryCompareContributor
public BinaryCompareContributor(byte[] data,
java.lang.String filename,
java.lang.String shortLabel,
java.lang.String longLabel)
BinaryCompareContributor
public BinaryCompareContributor(java.io.InputStream in,
java.lang.String filename,
java.lang.String shortLabel,
java.lang.String longLabel)
setContextNode
public final void setContextNode(Node contextNode)
- Description copied from interface:
IdeCompareContributor
- Allows the contextual node of the compare contributor to be set by the
internals of the compare framework when algorithms are executed. The
contextual node may be returned from
IdeCompareContributor.getNode()
unless there is a
more definite node instance that can be provided by the contributor.
- Specified by:
setContextNode
in interface IdeCompareContributor
- Parameters:
contextNode
- the contextual node.
getContextNode
protected final Node getContextNode()
getNode
public final Node getNode()
- Description copied from interface:
IdeCompareContributor
- Gets the primary node instance associated with the compare contributor.
- Specified by:
getNode
in interface IdeCompareContributor
- Returns:
- the node.
getFileName
public final java.lang.String getFileName()
getInputStream
public final java.io.InputStream getInputStream()
Copyright © 1997, 2010, Oracle. All rights reserved.