Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

         */
        public void store(final PathMapping pathMapping) {
    
            pathMappingBhv.insertOrUpdate(pathMapping, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
            ComponentUtil.getPathMappingHelper().init();
        }
    
        /**
         * Deletes a path mapping.
         *
         * @param pathMapping the path mapping to delete
         */
        public void delete(final PathMapping pathMapping) {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        /**
         * Gets the path mapping helper for URL transformations.
         *
         * @return the path mapping helper instance
         */
        protected PathMappingHelper getPathMappingHelper() {
            return ComponentUtil.getPathMappingHelper();
        }
    
        /**
         * Deserializes data from access result data.
         *
         * @param accessResultData the access result data containing serialized data
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  3. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  4. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  6. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  7. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            return getComponent(POPULAR_WORD_HELPER);
        }
    
        /**
         * Gets the path mapping helper component.
         * @return The path mapping helper.
         */
        public static PathMappingHelper getPathMappingHelper() {
            return getComponent(PATH_MAPPING_HELPER);
        }
    
        /**
         * Gets the duplicate host helper component.
         * @return The duplicate host helper.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top