Exemplo n.º 1
0
  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);
    }
  }
Exemplo n.º 2
0
  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);
    }
  }