public MatchDetails getMatchDetailsFromFile(int leagueId, int matchId) throws IllegalXMLException, DiscardException { return XMLMatchDetailsParser.parseMatchDetailsFromString( getXmlCollector() .readStringFromXMLFile( LocalPaths.getFullDirectoryPath(leagueId) + LocalPaths.MATCH_DETAILS_DIRECTORY + matchId + ".xml")); }
public MatchLineup getMatchLineupFromFile(int leagueId, int matchId, int teamId) throws IllegalXMLException { return XMLMatchLineupParser.parseMatchLineupFromString( getXmlCollector() .readStringFromXMLFile( LocalPaths.getFullDirectoryPath(leagueId) + LocalPaths.MATCH_LINEUP_DIRECTORY + matchId + "_" + teamId + ".xml")); }