Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for decodeUrlAsName (0.1 sec)

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

            exp = "";
            assertEquals(exp, transformer.decodeUrlAsName(url, true));
    
            url = "http://example.com/";
            exp = "http://example.com/";
            assertEquals(exp, transformer.decodeUrlAsName(url, false));
    
            url = "http://example.com/index.html";
            exp = "http://example.com/index.html";
            assertEquals(exp, transformer.decodeUrlAsName(url, false));
    
    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/FessTransformer.java

                }
            }
            u = decodeUrlAsName(u, u.startsWith("file:"));
            idx = u.lastIndexOf('/');
            if (idx >= 0) {
                if (u.length() > idx + 1) {
                    u = u.substring(idx + 1);
                } else {
                    u = StringUtil.EMPTY;
                }
            }
            return u;
        }
    
        default String decodeUrlAsName(final String url, final boolean escapePlus) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            }
    
            if (url.startsWith("file:////")) {
                final String value = decodeUrlAsName(url.substring(9), true);
                return abbreviateSite("\\\\" + value.replace('/', '\\'));
            }
            if (url.startsWith("file:")) {
                final String value = decodeUrlAsName(url.substring(5), true);
                if (value.length() > 2 && value.charAt(2) == ':') {
                    // Windows
    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