Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for setReplacement (0.29 sec)

  1. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            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);
    
            final String url = "file:///home/user/";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java

        }
    
        public boolean isReplaced() {
            return annotationNames.contains("org.gradle.api.model.ReplacedBy");
        }
    
        public String getReplacement() {
            return replacement;
        }
    
        public void setReplacement(String replacement) {
            this.replacement = replacement;
        }
    
        public void resolveTypes(Transformer<String, String> transformer) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

                methodMetaData.getAnnotationTypeNames().forEach(property::addAnnotationTypeName);
                property.setReplacement(methodMetaData.getReplacement());
                return;
            }
    
            if (methodMetaData.getParameters().size() != 1) {
                return;
            }
            matcher = SETTER_METHOD_NAME.matcher(name);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsPathMapping.java

        public void setRegex(String value) {
            registerModifiedProperty("regex");
            this.regex = value;
        }
    
        public String getReplacement() {
            checkSpecifiedProperty("replacement");
            return convertEmptyToNull(replacement);
        }
    
        public void setReplacement(String value) {
            registerModifiedProperty("replacement");
            this.replacement = value;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsbhv/BsPathMappingBhv.java

                result.setProcessType(DfTypeUtil.toString(source.get("processType")));
                result.setRegex(DfTypeUtil.toString(source.get("regex")));
                result.setReplacement(DfTypeUtil.toString(source.get("replacement")));
                result.setSortOrder(DfTypeUtil.toInteger(source.get("sortOrder")));
                result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/PathMappingDbm.java

            setupEpg(_epgMap, et -> ((PathMapping) et).getRegex(), (et, vl) -> ((PathMapping) et).setRegex(DfTypeUtil.toString(vl)), "regex");
            setupEpg(_epgMap, et -> ((PathMapping) et).getReplacement(), (et, vl) -> ((PathMapping) et).setReplacement(DfTypeUtil.toString(vl)),
                    "replacement");
            setupEpg(_epgMap, et -> ((PathMapping) et).getSortOrder(), (et, vl) -> ((PathMapping) et).setSortOrder(DfTypeUtil.toInteger(vl)),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

                    "file://home/taro/%E3%81%82.txt");
    
            PathMapping pathMapping = new PathMapping();
            pathMapping.setRegex("ftp:");
            pathMapping.setReplacement("file:");
            ComponentUtil.getPathMappingHelper().cachedPathMappingList.add(pathMapping);
            // ftp->file
            assertUrlLink("ftp:/home/taro/test.txt", //
                    "file://home/taro/test.txt");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java

            }
            final Matcher matcher = regexPattern.matcher(input);
            if (matcher.find()) {
                if (pathMapperFunc == null) {
                    final String replacement = StringUtil.isNotBlank(getReplacement()) ? getReplacement() : StringUtil.EMPTY;
                    pathMapperFunc = pathMappingHelper.createPathMatcher(matcher, replacement);
                }
                try {
                    return pathMapperFunc.apply(input, matcher);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/DslElementDoc.java

        String getId();
    
        Element getDescription();
    
        List<Element> getComment();
    
        boolean isDeprecated();
    
        boolean isIncubating();
    
        boolean isReplaced();
    
        String getReplacement();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 949 bytes
    - Viewed (0)
  10. 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()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top