private AudioMapType loadAudioMapXml(File audioMapFile) throws XmlParsingException, FileNotFoundException {
  if (!audioMapFile.isFile()) {
    throw new FileNotFoundException(String.format("Invalid audiomap.xml file: '%s' not found",audioMapFile.getAbsolutePath()));
  }
  return XmlParser.parse(audioMapFile,new String[]{AUDIOMAP_XML_SCHEME},AUDIOMAP_PACKAGE,AudioMapType.class);
}

private AudioMapType loadAudioMapXml ( File audioMapFile ) throws XmlParsingException , FileNotFoundException { if ( ! audioMapFile . isFile ( ) ) { throw new FileNotFoundException ( String . format ( "Invalid audiomap.xml file: '%s' not found" , audioMapFile . getAbsolutePath ( ) ) ) ; } return XmlParser . parse ( audioMapFile , new String [ ] { AUDIOMAP_XML_SCHEME } , AUDIOMAP_PACKAGE , AudioMapType . class ) ; }
loads and validates audiomap . xml .
