org.castor.xmlctf.xmldiff.xml
Class XMLFileReader
java.lang.Object
org.castor.xmlctf.xmldiff.xml.XMLFileReader
public class XMLFileReader
- extends Object
A Utility class to read an XML document from a file into the XMLNode tree
used by the XMLDiff class.
- Since:
- Castor 1.1
- Version:
- $Revision: 0000 $ $Date: 2007-01-11 00:00:00 -0600 (Thu, 11 Jan 2007) $
- Author:
- Edward Kuns
- See Also:
XMLDiff
|
Constructor Summary |
XMLFileReader(String filename)
Creates a new XMLReader for the given URILocation. |
|
Method Summary |
XMLNode |
read()
Reads an XML Document into an BaseNode from the provided file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLFileReader
public XMLFileReader(String filename)
- Creates a new XMLReader for the given URILocation.
- Parameters:
filename - the URILocation to create this reader for.
read
public XMLNode read()
throws IOException
- Reads an XML Document into an BaseNode from the provided file.
- Returns:
- the BaseNode
- Throws:
IOException - if any exception occurs during parsing
Copyright © 2012. All Rights Reserved.