Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getMaxSiteLength (0.17 sec)

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

        }
    
        default int getMaxSiteLength() {
            return getFessConfig().getCrawlerDocumentMaxSiteLengthAsInteger();
        }
    
        default String abbreviateSite(final String value) {
            final int maxSiteLength = getMaxSiteLength();
            if (maxSiteLength > -1) {
                return StringUtils.abbreviate(value, maxSiteLength);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

        }
    
        public void test_getSite_ok_len10() {
            String url, exp;
            final FessFileTransformer transformer = new FessFileTransformer() {
                @Override
                public int getMaxSiteLength() {
                    return 10;
                }
            };
            transformer.init();
    
            url = "file:/home/user/foo";
            exp = "/home/u...";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top