public MatchesArchive getMatchesArchiveFromFile(int teamID) throws IllegalXMLException { return XMLMatchesArchiveParser.parseMatchesArchiveFromString( getXmlCollector() .readStringFromXMLFile( LocalPaths.XML_LOCATION + LocalPaths.MATCHES_ARCHIVE_DIRECTORY + teamID + ".xml")); }
public MatchesArchive getMatchesArchive(int teamID, Calendar fromDate) throws IOException, IllegalXMLException { return XMLMatchesArchiveParser.parseMatchesArchiveFromString( getDownloader().getMatchesArchiveString(teamID, fromDate)); }