Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Abbreviate (0.04 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

        default int getMaxSiteLength() {
            return getFessConfig().getCrawlerDocumentMaxSiteLengthAsInteger();
        }
    
        /**
         * Abbreviates a site string to the maximum allowed length if configured.
         *
         * @param value the site string to abbreviate
         * @return the abbreviated string, or original if no length limit is set
         */
        default String abbreviateSite(final String value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            });
    
            LaRequestUtil.getOptionalRequest().ifPresent(req -> {
                searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100));
                searchLog.setReferer(StringUtils.abbreviate(req.getHeader("referer"), 1000));
                searchLog.setUserAgent(StringUtils.abbreviate(req.getHeader("user-agent"), 255));
                final Object accessType = req.getAttribute(Constants.SEARCH_LOG_ACCESS_TYPE);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
        /**
         * Abbreviates a long text string.
         *
         * @param str The string to abbreviate.
         * @return The abbreviated string.
         */
        public String abbreviateLongText(final String str) {
            return StringUtils.abbreviate(str, ComponentUtil.getFessConfig().getMaxLogOutputLengthAsInteger());
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            String configName = form.crawlingConfigName;
            String configPath = form.crawlingConfigPath.trim();
            if (StringUtil.isBlank(configName)) {
                configName = StringUtils.abbreviate(configPath, 30);
            }
    
            // normalize
            final StringBuilder buf = new StringBuilder(1000);
            for (int i = 0; i < configPath.length(); i++) {
                final char c = configPath.charAt(i);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                final String originalStr = TextUtil.normalizeText(reader).initialCapacity(content.length()).spaceChars(spaceChars).execute();
                return StringUtils.abbreviate(originalStr, maxWidth);
            } catch (final IOException e) {
                return StringUtil.EMPTY; // empty
            }
        }
    
        /**
         * Processes a crawling request for a specific URL.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top