@ SuppressFBWarnings ( justification = "try with resources will clean up the input stream" , value = { "OBL_UNSATISFIED_OBLIGATION" } ) public AssemblyData parse ( File file ) throws GrokParseException { try ( FileInputStream fis = new FileInputStream ( file ) ) { return parse ( fis ) ; } catch ( IOException ex ) { LOGGER . debug ( "" , ex ) ; throw new GrokParseException ( ex ) ; } }
Parses the given XML file and returns the assembly data .