Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getPathMappingHelper (0.2 sec)

  1. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

                op.setRefreshPolicy(Constants.TRUE);
            });
    
            ComponentUtil.getPathMappingHelper().init();
        }
    
        public void delete(final PathMapping pathMapping) {
    
            pathMappingBhv.delete(pathMapping, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
            ComponentUtil.getPathMappingHelper().init();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    requestData.setUrl(replaceDuplicateHost(url));
                }
            }
            return urlList;
        }
    
        protected PathMappingHelper getPathMappingHelper() {
            return ComponentUtil.getPathMappingHelper();
        }
    
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            final byte[] data = accessResultData.getData();
            if (data != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            updateConfigListenerMap.put("Label", () -> Integer.toString(ComponentUtil.getLabelTypeHelper().load()));
            updateConfigListenerMap.put("PathMapping", () -> Integer.toString(ComponentUtil.getPathMappingHelper().load()));
            updateConfigListenerMap.put("RelatedContent", () -> Integer.toString(ComponentUtil.getRelatedContentHelper().load()));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final boolean isFtpUrl = url.startsWith("ftp:");
            final boolean isSmbOrFtpUrl = isSmbUrl || isFtpUrl;
    
            // replacing url with mapping data
            url = ComponentUtil.getPathMappingHelper().replaceUrl(url);
    
            final boolean isHttpUrl = url.startsWith("http:") || url.startsWith("https:");
    
            if (isSmbUrl) {
                url = url.replace("smb:", "file:");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                    return Collections.emptyMap();
                }
    
                protected PathMappingHelper getPathMappingHelper() {
                    return new PathMappingHelper();
                }
            };
            transformer.fessConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            final String sessionId = crawlingInfoHelper.getCanonicalSessionId(responseData.getSessionId());
            final PathMappingHelper pathMappingHelper = ComponentUtil.getPathMappingHelper();
            final Date documentExpires = crawlingInfoHelper.getDocumentExpires(crawlingConfig);
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

        public int doCrawl(final Options options) {
            if (logger.isInfoEnabled()) {
                logger.info("Starting Crawler..");
            }
    
            final PathMappingHelper pathMappingHelper = ComponentUtil.getPathMappingHelper();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long totalTime = systemHelper.getCurrentTimeAsLong();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. 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");
            assertUrlLink("ftp:/home/taro/あ.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)
  9. src/main/java/org/codelibs/fess/util/ComponentUtil.java

        }
    
        public static PopularWordHelper getPopularWordHelper() {
            return getComponent(POPULAR_WORD_HELPER);
        }
    
        public static PathMappingHelper getPathMappingHelper() {
            return getComponent(PATH_MAPPING_HELPER);
        }
    
        public static DuplicateHostHelper getDuplicateHostHelper() {
            return getComponent(DUPLICATE_HOST_HELPER);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top