-
- // Parse the output.xml that resulted from a FindBugs run,
- // and store its findings into an Analysis object.
- Analysis parseFbOutput(InputSource fbOutput) throws XmlParseException
- {
- Analysis result = new Analysis();
- try {
- result.parse(fbOutput);
- } catch (IOException | SAXException exc) {
- throw new XmlParseException(exc);
- }
- return result;
- }