Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.jdeveloper.compare
Interface PatchCompareContributor

All Known Implementing Classes:
InputStreamTextContributor, TextMergeNodeContributor, TextNodeContributor, URLContributor

public interface PatchCompareContributor

Interface to a compare contributor that provides information for patch creation.

Since:
10.1.3.0.3

Method Summary
 boolean getIgnoreWhitespace()
          Gets whether whitespace at the start and end of a line should be considered relevant when comparing two strings.
 PatchCompareDescriptor getPatchDescriptor()
          Gets the patch descriptor object for the compare contributor, used in the creation of a patch.
 TextBuffer getTextBuffer()
          Gets the text buffer for the comparison and patch contribution.
 

Method Detail

getTextBuffer

TextBuffer getTextBuffer()
Gets the text buffer for the comparison and patch contribution.

Returns:
the contributor text buffer.

getIgnoreWhitespace

boolean getIgnoreWhitespace()
Gets whether whitespace at the start and end of a line should be considered relevant when comparing two strings.

Returns:
true if leading and trailing whitespace are significant

getPatchDescriptor

PatchCompareDescriptor getPatchDescriptor()
Gets the patch descriptor object for the compare contributor, used in the creation of a patch.

Returns:
the patch descriptor object.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.