@ SuppressFBWarnings ( justification = "try with resources will clean up the input stream" , value = { "OBL_UNSATISFIED_OBLIGATION" } ) public void parseHints ( File file ) throws HintParseException { try ( InputStream fis = new FileInputStream ( file ) ) { parseHints ( fis ) ; } catch ( SAXException | IOException ex ) { LOGGER . debug ( "" , ex ) ; throw new HintParseException ( ex ) ; } }
Parses the given XML file and returns a list of the hints contained .