Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for abbreviate (0.25 sec)

  1. 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);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 20.8K bytes
    - Viewed (1)
  2. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                }
            }
            final int size = fessConfig.getResponseMaxTitleLengthAsInteger();
            if (size > -1) {
                title = StringUtils.abbreviate(title, size);
            }
            final String value = LaFunctions.h(title);
            if (!fessConfig.isResponseHighlightContentTitleEnabled()) {
                return value;
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  3. 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);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

        }
    
        default String abbreviateSite(final String value) {
            final int maxSiteLength = getMaxSiteLength();
            if (maxSiteLength > -1) {
                return StringUtils.abbreviate(value, maxSiteLength);
            }
            return value;
        }
    
        default String getFileName(final String url, final String encoding) {
            if (StringUtil.isBlank(url)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.7K 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
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
        public String abbreviateLongText(final String str) {
            return StringUtils.abbreviate(str, ComponentUtil.getFessConfig().getMaxLogOutputLengthAsInteger());
        }
    
        public String normalizeHtmlLang(final String value) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 26.5K bytes
    - Viewed (2)
Back to top