Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getHostOnFile (0.2 sec)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            url = "file:";
            exp = "localhost";
            assertEquals(exp, transformer.getHostOnFile(url));
    
            url = "file://";
            exp = "localhost";
            assertEquals(exp, transformer.getHostOnFile(url));
    
            url = "file:///";
            exp = "localhost";
            assertEquals(exp, transformer.getHostOnFile(url));
    
            url = "file://///";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                } else {
                    putResultDataBody(dataMap, titleField, fileName);
                }
            }
            // host
            putResultDataBody(dataMap, fessConfig.getIndexFieldHost(), getHostOnFile(url));
            // site
            putResultDataBody(dataMap, fessConfig.getIndexFieldSite(), getSiteOnFile(url, urlEncoding));
            // filename
            if (StringUtil.isNotBlank(fileName)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top