Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addAllow (0.12 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                }
                return true;
            }
    
            /**
             * Adds an allowed path to this directive.
             * @param path the path to allow
             */
            public void addAllow(final String path) {
                if (!allowedPaths.contains(path)) {
                    allowedPaths.add(path);
                }
            }
    
            /**
             * Adds a disallowed path to this directive.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                            if (!currentDirectiveList.isEmpty() && value.length() > 0) {
                                for (final Directive directive : currentDirectiveList) {
                                    directive.addAllow(value);
                                }
                            }
                        } else if ((value = getValue(CRAWL_DELAY_RECORD, line)) != null) {
                            if (!currentDirectiveList.isEmpty()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top