|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQComparator
This interface defines a line-oriented text comparator.
Please refer toAQDifferences
for more details on the generated result.
Method Summary | |
---|---|
AQDifferences |
compare(AQServerObject a,
AQServerObject b)
This method compares CREATE scripts of two server objects. |
AQDifferences |
compareText(String a,
String b)
This method compares two text strings line-by-line, based on configured settings. |
AQCompareOptions |
getCompareOptions()
Returns a mutable object which allows for setting comparison options. |
void |
setIgnoreCase(boolean on)
A shortcut method to configure the comparator to ignore case. |
void |
setIgnoreSpaces(boolean on)
A shortcut method to configure the comparator to ignore: |
Method Detail |
---|
AQDifferences compare(AQServerObject a, AQServerObject b) throws Exception
a
- First server object to compare; required.b
- Second server object to compare; required.
Exception
AQDifferences compareText(String a, String b) throws Exception
a
- First text string to compare; required. Empty string is acceptable; null is not.b
- Second text string to compare; required. Empty string is acceptable; null is not.
Exception
void setIgnoreSpaces(boolean on)
on
- When set, the comparator will ignore spaces.void setIgnoreCase(boolean on)
on
- When set, the comparator will ignore case.AQCompareOptions getCompareOptions()
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |