Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for pattern2 (0.03 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            emptyGenerator = new EmptyGenerator();
    
            // Test adding conditions - this should work without container
            emptyGenerator.addCondition("field1", "pattern1");
            emptyGenerator.addCondition("field1", "pattern2");
            emptyGenerator.addCondition("field2", "pattern.*");
    
            // We can't test isTarget properly without container,
            // but we can verify conditions are added
            assertNotNull(emptyGenerator);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            Pattern[] patterns = (Pattern[]) propMap.get(CRAWLER_METADATA_CONTENT_EXCLUDES);
            if (patterns == null) {
                patterns = split(getCrawlerMetadataContentExcludes(), ",")
                        .get(stream -> stream.filter(StringUtil::isNotBlank).map(Pattern::compile).toArray(n -> new Pattern[n]));
                propMap.put(CRAWLER_METADATA_CONTENT_EXCLUDES, patterns);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        }
    
        /**
         * Converts a GSA URL pattern into a regular expression pattern suitable for Fess.
         * Handles various GSA pattern formats including regexp, contains, and URL-based patterns.
         *
         * @param s the input GSA pattern string
         * @return a regular expression pattern string, or empty string for comments/invalid patterns
         */
        protected String getFilterPath(final String s) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        /**
         * Cache for client rules mapping client names to their corresponding URL patterns.
         * This cache improves performance by avoiding repeated parsing of client configuration rules.
         * The key is the rule string, and the value is a pair containing the client name and compiled pattern.
         */
        protected ConcurrentHashMap<String, Pair<String, Pattern>> clientRuleCache = new ConcurrentHashMap<>();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. README.md

    ### Key Architectural Patterns
    - **Factory Pattern** - `BeanDescFactory` for creating bean descriptors, `ParameterizedClassDescFactory` for generic type handling
    - **Builder Pattern** - `CopyOptions` for configuring bean copying operations with fluent API
    - **Adapter Pattern** - Logging adapters (`JclLoggerAdapter`, `JulLoggerAdapter`) for different logging frameworks
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            assertFalse(validator.isValid("* * * *", context));
        }
    
        // Test common valid cron patterns that are likely to work
        public void test_basicValidCronExpressions() {
            final ConstraintValidatorContext context = null;
    
            // Test basic patterns that should be valid
            String[] potentiallyValidCrons = { "0 0 * * * ?", // Every hour
                    "0 */15 * * * ?", // Every 15 minutes
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    final Pattern pattern = Pattern.compile(value);
                    paramMap.put(URL_EXCLUDE_PATTERN, pattern);
                    if (logger.isDebugEnabled()) {
                        logger.debug("Using exclude pattern: {}", pattern);
                    }
                }
                if (paramMap.get(URL_EXCLUDE_PATTERN) instanceof final Pattern pattern) {
                    if (pattern.matcher(url).matches()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Platform.java

      }
    
      static CommonPattern compilePattern(String pattern) {
        Preconditions.checkNotNull(pattern);
        return patternCompiler.compile(pattern);
      }
    
      static boolean patternCompilerIsPcreLike() {
        return patternCompiler.isPcreLike();
      }
    
      private static PatternCompiler loadPatternCompiler() {
        // We want the JDK Pattern compiler:
        // - under Android (where it hurts startup performance)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        /** Format identifier for PDF date parsing */
        private static final String PDF_DATE = "pdf_date";
    
        /** Regular expression pattern for matching email addresses */
        private static final Pattern EMAIL_ADDRESS_PATTERN =
                Pattern.compile("[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,6}", Pattern.CASE_INSENSITIVE);
    
        /**
         * Cache for storing resource file modification timestamps to enable cache busting.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Predicates.java

            // Pattern uses Object (identity) equality, so we have to reach
            // inside to compare individual fields.
            return Objects.equals(pattern.pattern(), that.pattern.pattern())
                && pattern.flags() == that.pattern.flags();
          }
          return false;
        }
    
        @Override
        public String toString() {
          String patternString =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top