コード例 #1
0
 public PlayerDetails getPlayerDetailsFromFile(String path, int playerId)
     throws IllegalXMLException {
   return XMLPlayerDetailsParser.parsePlayerDetailsFromString(
       getXmlCollector()
           .readStringFromXMLFile(
               path + LocalPaths.PLAYER_DETAILS_DIRECTORY + String.valueOf(playerId) + ".xml"));
 }
コード例 #2
0
 public PlayerDetails getPlayerDetails(int playerId) throws IOException, IllegalXMLException {
   return XMLPlayerDetailsParser.parsePlayerDetailsFromString(
       getDownloader().getPlayerDetailsString(playerId));
 }