|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.plugins.violations.parse.ParseXML
public final class ParseXML
Control class to parse xml files.
Method Summary | |
---|---|
static void |
parse(java.io.File xmlFile,
AbstractParser xmlParser)
Parse an xml file using a parser object. |
static void |
parse(java.io.InputStream in,
AbstractParser xmlParser)
Parse an Input stream using a parser object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void parse(java.io.InputStream in, AbstractParser xmlParser) throws java.io.IOException
in
- the stream to parse.xmlParser
- the parser object.
java.io.IOException
- if there is a problem.public static void parse(java.io.File xmlFile, AbstractParser xmlParser) throws java.io.IOException
xmlFile
- the file to parse.xmlParser
- the parser object.
java.io.IOException
- if there is a problem.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |