|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ntnu.item.jt.system.XMLParser
public class XMLParser
Parses an XML file to config beans.
Constructor Summary | |
---|---|
XMLParser()
|
Method Summary | |
---|---|
PowerScanBean |
parse(java.io.File xmlConfig)
Parses the supplied XML structured configuration file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLParser()
Method Detail |
---|
public PowerScanBean parse(java.io.File xmlConfig) throws InvalidFileException, ParserException
xmlConfig
- the XML file to be parsed
InvalidFileException
- if the input file could not be read.
ParserException
- if an error occured while generating beans from the XML config file, such as malstructured XML.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |