/// <summary> /// Converts an XML into a localisation file. /// </summary> /// <param name="inputPath">XML path.</param> /// <param name="outputPath">Localisation file path.</param> public void ConvertToLocalisationFile(string inputPath, string outputPath) { LocalisationEntity locale = xmlManager.Read(inputPath).ToEntity(); localisationFile.Write(outputPath, locale); }
/// <summary> /// Converts an XML into an STF. /// </summary> /// <param name="xmlPath">XML path.</param> /// <param name="stfPath">STF path.</param> public void ConvertToSTF(string xmlPath, string stfPath) { TrackRecords records = xmlManager.Read(xmlPath); stf.Write(stfPath, records.ToEntity()); }