|
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.Objectoracle.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.IOExceptionURLFileSystem.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 PatchCompareContributorgetTextBuffer in class oracle.javatools.compare.algorithm.text.TextCompareContributorpublic java.lang.String getType()
CompareContributor
getType in class CompareContributorpublic void setType(java.lang.String type)
CompareContributor
setType in class CompareContributortype - an extension for this file without any period prefix. E.g. "java".public java.lang.String getShortLabel()
CompareContributor
getShortLabel in class CompareContributorpublic java.lang.String getLongLabel()
CompareContributor
getLongLabel in class CompareContributorpublic PatchCompareDescriptor getPatchDescriptor()
PatchCompareContributor
getPatchDescriptor in interface PatchCompareContributorpublic StreamType getStreamType()
public Node getNode()
IdeCompareContributor
getNode in interface IdeCompareContributorgetNode 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 | |||||||||