|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.castor.xmlctf.xmldiff.XMLDiff
public class XMLDiff
A utility class used to compare two XMLNodes, or XML input files and report the differences between them.
Constructor Summary | |
---|---|
XMLDiff(java.lang.String file1,
java.lang.String file2)
Constructs an XMLDiff object that is ready to compare the two provided XML files. |
Method Summary | |
---|---|
int |
compare()
Compares the two XML documents located at the given URL locations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLDiff(java.lang.String file1, java.lang.String file2)
file1
- The first XML file for comparison.file2
- The second XML file for comparison.Method Detail |
---|
public int compare() throws java.io.IOException
This is the only public method in this class.
java.io.IOException
- an this occurs while reading
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |