コード例 #1
0
 public MatchDetails getMatchDetailsFromAdvancedFile(String directoryPath, int matchId)
     throws IllegalXMLException, DiscardException {
   return XMLMatchDetailsParser.parseMatchDetailsFromString(
       getXmlCollector()
           .readStringFromXMLFile(
               directoryPath + LocalPaths.MATCH_DETAILS_DIRECTORY + matchId + ".xml"));
 }
コード例 #2
0
 public MatchDetails getMatchDetailsFromSimpleFile(int matchId)
     throws IllegalXMLException, DiscardException {
   return XMLMatchDetailsParser.parseMatchDetailsFromString(
       getXmlCollector()
           .readStringFromXMLFile(
               LocalPaths.XML_5000 + LocalPaths.MATCH_DETAILS_DIRECTORY + matchId + ".xml"));
 }
コード例 #3
0
 public MatchDetails getMatchDetailsFromFile(int leagueId, int matchId)
     throws IllegalXMLException, DiscardException {
   return XMLMatchDetailsParser.parseMatchDetailsFromString(
       getXmlCollector()
           .readStringFromXMLFile(
               LocalPaths.getFullDirectoryPath(leagueId)
                   + LocalPaths.MATCH_DETAILS_DIRECTORY
                   + matchId
                   + ".xml"));
 }
コード例 #4
0
 public MatchDetails getMatchDetails(int matchId)
     throws IOException, IllegalXMLException, DiscardException {
   return XMLMatchDetailsParser.parseMatchDetailsFromString(
       getDownloader().getMatchDetailsString(matchId));
 }