public static void analyzeStaff(SiteInformationOld siteInfo) throws IOException { fetchPagesConditionally(siteInfo); for (PageInformation pageInfo : siteInfo.getPages()) { File in = new File( Global.getCrawlStorageFolder() + siteInfo.getCrawlStorageFolder() + "/" + pageInfo.getFileLocation()); PageAnalyzer.analyzeStaff(pageInfo, in); } }
public static void analyzeMatches(SiteInformationOld siteInfo) throws IOException { fetchPagesConditionally(siteInfo); for (PageInformation pageInfo : siteInfo.getPages()) { File in = new File( Global.getCrawlStorageFolder() + siteInfo.getCrawlStorageFolder() + "/" + pageInfo.getFileLocation()); // System.out.println(siteInfo.getId() + " : " + pageInfo.getPath()); PageAnalyzer.analyzeMatches(pageInfo, in); } }