Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getRegex (0.36 sec)

  1. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                });
                if (logger.isDebugEnabled()) {
                    cachedPathMappingList.forEach(e -> {
                        logger.debug("path mapping: {}: {} -> {}", e.getId(), e.getRegex(), e.getReplacement());
                    });
                }
                return cachedPathMappingList.size();
            } catch (final ComponentNotFoundException e) {
                if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java

            asDocMeta().version(version);
        }
    
        public String process(final PathMappingHelper pathMappingHelper, final String input) {
            if (regexPattern == null) {
                regexPattern = Pattern.compile(getRegex());
            }
            final Matcher matcher = regexPattern.matcher(input);
            if (matcher.find()) {
                if (pathMapperFunc == null) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsentity/BsPathMapping.java

            registerModifiedProperty("processType");
            this.processType = value;
        }
    
        public String getRegex() {
            checkSpecifiedProperty("regex");
            return convertEmptyToNull(regex);
        }
    
        public void setRegex(String value) {
            registerModifiedProperty("regex");
            this.regex = value;
        }
    
        public String getReplacement() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
            final PathMapping pathMapping = new PathMapping();
            pathMapping.setRegex("file:///home/");
            pathMapping.setReplacement("http://localhost/");
            pathMappingList.add(pathMapping);
    
            pathMappingHelper.setPathMappingList(sessionId, pathMappingList);
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

            });
        }
    
        protected void setupListCondition(final PathMappingCB cb, final PathMapPager pathMappingPager) {
            if (StringUtil.isNotBlank(pathMappingPager.regex)) {
                cb.query().setRegex_Wildcard(wrapQuery(pathMappingPager.regex));
            }
            if (StringUtil.isNotBlank(pathMappingPager.replacement)) {
                cb.query().setReplacement_Wildcard(wrapQuery(pathMappingPager.replacement));
            }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top