Package org.castor.xmlctf.xmldiff.xml

Examples of org.castor.xmlctf.xmldiff.xml.XMLFileReader


     * @return 0, if no differences are found, otherwise a positive number
     *         indicating the number of differences.
     * @throws java.io.IOException an this occurs while reading
     */
    public int compare() throws java.io.IOException {
        XMLFileReader reader1 = new XMLFileReader(_file1);
        XMLNode node1 = reader1.read();

        XMLFileReader reader2 = new XMLFileReader(_file2);
        XMLNode node2 = reader2.read();

        return compareNodes(node1, node2);
    }
View Full Code Here

TOP

Related Classes of org.castor.xmlctf.xmldiff.xml.XMLFileReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.