|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.compare.CompareContributor oracle.javatools.compare.algorithm.sequence.SequenceCompareContributor oracle.javatools.compare.algorithm.text.TextCompareContributor oracle.jdeveloper.compare.IdeTextCompareContributor oracle.jdeveloper.compare.URLContributor
public class URLContributor
A contributor to compare based on a URL
Constructor Summary | |
---|---|
URLContributor(java.lang.String suffix,
java.net.URL nodeUrl,
java.net.URL dataUrl)
Consructor. |
|
URLContributor(java.net.URL url)
|
|
URLContributor(java.net.URL nodeUrl,
java.net.URL dataUrl)
|
Method Summary | |
---|---|
java.lang.String |
getLongLabel()
Get a long label for this comparable element. |
Node |
getNode()
Gets the primary node instance associated with the compare contributor. |
PatchCompareDescriptor |
getPatchDescriptor()
Gets the patch descriptor object for the compare contributor, used in the creation of a patch. |
protected static java.lang.String |
getPlatformPathSuffix(java.net.URL url)
|
java.lang.String |
getShortLabel()
Get a short label for this comparable element. |
StreamType |
getStreamType()
|
TextBuffer |
getTextBuffer()
Gets the text buffer for the comparison and patch contribution. |
java.lang.String |
getType()
Get the extension of the file this contributor represents. |
java.net.URL |
getURL()
|
void |
setType(java.lang.String type)
Set the extension of the file this contributor represents. |
Methods inherited from class oracle.jdeveloper.compare.IdeTextCompareContributor |
---|
getContextNode, isTextProcessed, setContextNode, setTextProcessed |
Methods inherited from class oracle.javatools.compare.algorithm.text.TextCompareContributor |
---|
addChangeListener, addTextBufferListeners, deleteElement, equal, fireChangeEvent, getDocumentModel, getElement, getIgnoreWhitespace, getLength, insertElement, removeChangeListener, replaceElement, setDocumentModel, setIgnoreWhitespace |
Methods inherited from class oracle.javatools.compare.CompareContributor |
---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener, setLongLabel, setShortLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jdeveloper.compare.PatchCompareContributor |
---|
getIgnoreWhitespace |
Constructor Detail |
---|
public URLContributor(java.net.URL url) throws java.io.IOException
java.io.IOException
public URLContributor(java.net.URL nodeUrl, java.net.URL dataUrl) throws java.io.IOException
java.io.IOException
public URLContributor(java.lang.String suffix, java.net.URL nodeUrl, java.net.URL dataUrl) throws java.io.IOException
suffix
- The suffix to use when interpreting the contents of the given
URL with respect to determining an encoding. The actual suffix of
the given URL is ignored.nodeUrl
- the original node URL, which may be null.dataUrl
- the URL
java.io.IOException
URLFileSystem.getSuffix(java.net.URL)
Method Detail |
---|
public java.net.URL getURL()
protected static java.lang.String getPlatformPathSuffix(java.net.URL url)
public TextBuffer getTextBuffer()
PatchCompareContributor
getTextBuffer
in interface PatchCompareContributor
getTextBuffer
in class oracle.javatools.compare.algorithm.text.TextCompareContributor
public java.lang.String getType()
CompareContributor
getType
in class CompareContributor
public void setType(java.lang.String type)
CompareContributor
setType
in class CompareContributor
type
- an extension for this file without any period prefix. E.g. "java".public java.lang.String getShortLabel()
CompareContributor
getShortLabel
in class CompareContributor
public java.lang.String getLongLabel()
CompareContributor
getLongLabel
in class CompareContributor
public PatchCompareDescriptor getPatchDescriptor()
PatchCompareContributor
getPatchDescriptor
in interface PatchCompareContributor
public StreamType getStreamType()
public Node getNode()
IdeCompareContributor
getNode
in interface IdeCompareContributor
getNode
in class IdeTextCompareContributor
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |