public PlayerDetails getPlayerDetailsFromFile(String path, int playerId) throws IllegalXMLException { return XMLPlayerDetailsParser.parsePlayerDetailsFromString( getXmlCollector() .readStringFromXMLFile( path + LocalPaths.PLAYER_DETAILS_DIRECTORY + String.valueOf(playerId) + ".xml")); }
public PlayerDetails getPlayerDetails(int playerId) throws IOException, IllegalXMLException { return XMLPlayerDetailsParser.parsePlayerDetailsFromString( getDownloader().getPlayerDetailsString(playerId)); }