Package net.sf.regain.crawler.config

Examples of net.sf.regain.crawler.config.WhiteListEntry


        }

        // Now set those entries to "should be updated" that are in the list
        for (int i = 0; i < onlyEntriesArr.length; i++) {
          // Find the matching white list entry
          WhiteListEntry entry = null;
          for (int j = 0; j < whiteList.length; j++) {
            if (onlyEntriesArr[i].equals(whiteList[j].getName())) {
              entry = whiteList[j];
              break;
            }
          }

          if (entry == null) {
            // No matching white list entry found
            logError("There is no white list entry named '" + onlyEntriesArr[i]
                     + "'", null, true);
          } else {
            entry.setShouldBeUpdated(true);
          }
        }

        // Log all ignored entries
        for (int i = 0; i < whiteList.length; i++) {
View Full Code Here

TOP

Related Classes of net.sf.regain.crawler.config.WhiteListEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.