public MatchDetails getMatchDetailsFromAdvancedFile(String directoryPath, int matchId) throws IllegalXMLException, DiscardException { return XMLMatchDetailsParser.parseMatchDetailsFromString( getXmlCollector() .readStringFromXMLFile( directoryPath + LocalPaths.MATCH_DETAILS_DIRECTORY + matchId + ".xml")); }
public MatchDetails getMatchDetailsFromSimpleFile(int matchId) throws IllegalXMLException, DiscardException { return XMLMatchDetailsParser.parseMatchDetailsFromString( getXmlCollector() .readStringFromXMLFile( LocalPaths.XML_5000 + LocalPaths.MATCH_DETAILS_DIRECTORY + matchId + ".xml")); }
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 MatchDetails getMatchDetails(int matchId) throws IOException, IllegalXMLException, DiscardException { return XMLMatchDetailsParser.parseMatchDetailsFromString( getDownloader().getMatchDetailsString(matchId)); }