|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
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.InputStreamTextContributor
public class InputStreamTextContributor
A TextCompareContributor that uses an InputStream. This class takes care of using the correct decoding for HTML and XML.
Constructor Summary | |
---|---|
InputStreamTextContributor(java.io.InputStream inStream, java.lang.String shortLabel, java.lang.String longLabel, java.lang.String type) |
|
InputStreamTextContributor(java.io.InputStream inStream, java.lang.String defaultEncoding, java.lang.String shortLabel, java.lang.String longLabel, java.lang.String type) |
|
InputStreamTextContributor(java.io.Reader inStream, java.lang.String shortLabel, java.lang.String longLabel, java.lang.String type) Deprecated. not replaced. This constructor does not allow the stream type to be determined, which we need in order to offer advanced compare functionality for certain kinds of content (including XML). Use another contructor and supply an InputStream instead. |
Method Summary | |
---|---|
java.lang.String |
getLongLabel() Get a long label for this comparable element. |
PatchCompareDescriptor |
getPatchDescriptor() Gets the patch descriptor object for the compare contributor, used in the creation of a patch. |
java.lang.String |
getShortLabel() Get a short label for this comparable element. |
java.lang.String |
getStreamEncoding() |
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. |
void |
setPatchDescriptor(PatchCompareDescriptor patchDescriptor) |
Methods inherited from class oracle.jdeveloper.compare.IdeTextCompareContributor |
---|
getContextNode, getNode, 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, setType |
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 InputStreamTextContributor(java.io.InputStream inStream, java.lang.String shortLabel, java.lang.String longLabel, java.lang.String type) throws java.io.IOException
java.io.IOException
public InputStreamTextContributor(java.io.InputStream inStream, java.lang.String defaultEncoding, java.lang.String shortLabel, java.lang.String longLabel, java.lang.String type) throws java.io.IOException
java.io.IOException
public InputStreamTextContributor(java.io.Reader inStream, java.lang.String shortLabel, java.lang.String longLabel, java.lang.String type) throws java.io.IOException
inStream
-shortLabel
-longLabel
-type
-java.io.IOException
Method Detail |
---|
public TextBuffer getTextBuffer()
PatchCompareContributor
getTextBuffer
in interface PatchCompareContributor
getTextBuffer
in class oracle.javatools.compare.algorithm.text.TextCompareContributor
public java.lang.String getLongLabel()
CompareContributor
getLongLabel
in class CompareContributor
public java.lang.String getShortLabel()
CompareContributor
getShortLabel
in class CompareContributor
public java.lang.String getType()
CompareContributor
getType
in class CompareContributor
public void setPatchDescriptor(PatchCompareDescriptor patchDescriptor)
public PatchCompareDescriptor getPatchDescriptor()
PatchCompareContributor
getPatchDescriptor
in interface PatchCompareContributor
public StreamType getStreamType()
public java.lang.String getStreamEncoding()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |