Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for decodeUrlAsName (0.11 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/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